SPRepublican's Q&A profile
SQL Server InvoiceNumber as a degenerated dimension in AS 2000?
Hello, We have a couple of cubes in AS 2000 where the users would like to be able to search/view by #Invoicenumber and #POnumber. Instead of creating a separate Invoicedimension I would like to implement it as a 'degerated dimension' - just as a textfield in the facttable. Some questions: Does AS2000 support this Are there any special demands on the client tool to be able to support degenerated dimensions At the moment InvoiceNumber is defined as varchar(16), is that OK Looking forward to your responses and advices .... I agree with Peter K that Reporting Services is a good platform for detailed low level analysis. On the other hand, if you are required to build this is in AS2000 you simply build ...Show All
Visual Studio Team System not able to add db schema objects
Hi, I have recently downloaded CTP4, but am now having problems with adding new items to the project. For example, I am unable to add a database schema object to the database project. If I right-click the "Schema Objects" folder, and click "Add New Item", the dialog window that pops up has no templates available at all. Am I missing something How can I add object such as a db schema Thanks, Vitaly It looks like 'Add New Item' from the Solution Explorer is not supported yet. If you open the Schema View window and from there choose Add, you get the schema item templates and can go from there. ...Show All
SQL Server blob data type in SQL Express
Hi all, I am trying to store binary datafiles into a SQl Express table. However I can not find the BLOB data type when I am designing the table. Are we limited to using that kind of data type in the Express edition Thanks. Ke hi Ke, if you are searching for a BLOB datatype, you'll miss it.. SQLExpress does support blobs in different formats, binary, varbinary, image and text/ntext as long as the new datatypes as varchar(MAX), nvarchar(MAX), varbinary(MAX), XML use tempdb; GO CREATE TABLE dbo.testBlob ( Id int NOT NULL PRIMARY KEY, b varchar(max), i image, b2 varbinary (50) ); GO DROP TABLE dbo.testBlob ; I've just run SQL Server Management Studio Express, the official graphi ...Show All
Connected Services Framework csf 3.0 and biztalk service logic
Hello, we are analyzing how to use oh sbe 3.0 with a biztalk service logic. In csf 2.5 we had a generic orchestration that we used for managing flows. In this orchestration we just have to write a business rule for our product and the maps for interacting with services. Is there something similar in csf 3.0 I just analyzed the bts service logic sample provided with csf, but in this example we have a different orchestration for each product. Is there something similar to 2.5 generic orchestration that we just have to configure and to import business rules. Our objective is to understand if is possible to import old business rules written in biztalk in csf 3.0 without writing an orchestration for each product. Thanks, Fabio ...Show All
SQL Server Problem with package.Execute passing variables
I am having a problem with passing variables into my SSIS package from C#. The variable names match ("Variable1, ...), however they do not seem to be assigned the proper values once the package is executed. The package does run and returns a FALURE notice saying there is a problem with my expressions. When I added a new data flow, derived all the variables into columns and wrote their values to a flat file I noticed that the values still contain my default values from the SSIS package itself as though nothing was passed in from C#. I am hoping that it is a simple configuration/user error. Any ideas ---- C# ---- Reference to Microsoft.SQLServer.ManagedDTS using Microsoft.SqlServer.Dts.Runtime; Application ...Show All
Audio and Video Development Any method for MF PVP application fail gracefully if video driver is not PVP signed?
I am working on an application that runs protected playback with Media Foundation. I've encountered a problem that with some graphics cards, an error dialog box pops up from another process saying " Bad Image: X is either not designed to run on Windows or it contains an error". After repeatedly pressing OK for the same dialog poping up many times, I can see the application hits a debug assertion saying that ESP is not properly restored. I've read about the following previous thread in this forum and know that this symptom happens because video driver is unsigned and mfpmp.exe failed. "MF_ProtectedPlayback Sample doesn't work for Video on Vista Beta 2: Thread Start ...Show All
Visual C# Display HTML Document in an application form ?
hello any ideas how to display an HTML document on an application form with Visual Studio 2003 using Visual C# thank you Check out the WebBrowser control. For more info: http://msdn2.microsoft.com/en-us/library/system.windows.forms.webbrowser.aspx That's what you're looking for ...Show All
Smart Device Development Multi-Language support in C#
Hi, I have developed SmartDeviceApplication output of which is an .exe in C#.I want that exe to support multiple language.can anyone help me in this regard to how to do it.Wheather i need to add a new resx or do i have to create a dll I want to support basically both chinese and english depending on the user requirment. Hi Ahmed, Thanks 4 all u r support.But id id not get why we need to use Global Declaration ResourceManager rm; //In the constructor rm = new ResourceManager("YourNameSpace.Res", Assembly.GetExecutingAssembly()); If suppose i have my application namespace as Message we should use rm = new ResourceManager("Message .Res", Assembly.GetEx ...Show All
Visual Studio Team System Code Coverage Techniques
From the first glance of Team Test it seems as if the technique used for measuring code coverage is statement coverage. Are there plans to add support for other code coverage measures as well The British Standard for Software Component Testing BS7925-2 mentions the following techniques apart from statement coverage: BRANCH AND DECISION COVERAGE DATA FLOW COVERAGE BRANCH CONDITION COVERAGE BRANCH CONDITION COMBINATION COVERAGE MODIFIED CONDITION DECISION COVERAGE LCSAJ COVERAGE Of practical interest for me is branch coverage. Currently we only support line coverage and block coverage, neither of which is actually statement coverage. We discussed and researched adding other types, but we didn't have time for this ...Show All
SQL Server Dynamic Form Letters
I would like to design a 'mail merge' type of letter, whereby some of the paragraphs will be conditional on parameters. Can anyone direct me to example of mail merger letters using reporting services thanks ken ...Show All
Visual C# monitoring registry and folders
Hello, I want to know (using C# 2005,) how would I monitor changes or additions made to selected registry keys and to certain folders in Windows XP Regards, SSZ Hello, How would I pick up an addition made to a subkey in the registry If a key has been added to a subkey, how would I obtain the full path reference and the value of the key thanks! ...Show All
Visual Studio Express Editions why this expression is invalid?
hi when i write Dim buff As Byte() = New Byte(fsin.Length) it says that byte has no contructors and when i put square brackets at the end like that Dim buff As Byte() = New Byte(fsin.Length) {} no complain any explain for this thanks in advance. Usually that implies an initialization Array. For example, you may see this at times: Dim S() as bye = {1,2,3} That will create a three byte array and fill in the values 1,2,3 ...Show All
Visual C# Config file properites
Hey All! I need to create in app.config sth like this: <Accounts> <Account UserName="John" /> <Account UserName="Fred" /> </Accounts> So it will be a custom section. I tried to get help on it in MSDN Library but after creating custom section I got: <MyCustomSection> <Accounts> <add UserName="John" /> <add UserName="Fred" /> </Accounts> </MyCustomSection> It's pretty good :) But I don't want this <add UserName.. . instead I'd like to have nice <Account> tag what I should change My code is based on ConfigElement example from MSDN instead of URLS I put accounts and I simplified it a lot so I ...Show All
Visual C# Buffer.BlockCopy
Hi guys, i'm having trouble with Buffer.BlockCopy. Maybe someone can help me. I have a source code with vb6 that needs to be convert to c#. This is the vb6 source code : Private Declare Sub CopyMem Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Dim Key(0 to 3, 0 to 3) As Byte Call CopyMem(Key(0,0),k32(0),16) now, the k32 : k32(0) = 892876857 k32(1) = 942814256 k32(2) = 892487236 k32(3) = 842155074 and Key(0,0), Key(0,1), etc are 0. After CopyMem(Key(0,0),k32(0),16), the Key will be : Key(0,0) = 57 Key(0,1) = 48 Key(0,2) = 68 Key(0,3) = 66 Key(1,0) = 56 Key(1,1) = 52 Key(1,2) = 70 Key(1,3) = 68 Key(2,0) = 56 Key(2,1) = 50 Key(2,2) = 50 Key(2,3) = 50 Key(3,0) = 53 Key(3,1) = ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Dynamically casting an object of unknown type
Hello everyone! I think I've got a tough problem for you. I've got a List<object> full of various types of objects, and I want to grab an element from the list and cast it back as the type of object it actually is. Ideally, what I would do is something along the lines of: List<object> objects = new List<object>(); MyClass instance = new MyClass(); objects.add(instance); object something = objects[0]; Type somethingtype = something.GetType(); somethingtype variable = (somethingtype) something; this works fine except for the last line. Once I have the type of the object, I can't use that to either declare a new variable of that type, nor can I use it for casting (as far as I know). Does anyone know of a way to use Type info ...Show All
