Andreas Haug's Q&A profile
Software Development for Windows Vista Windows workflow Qaulity assurance
I haven't seen much on Quality Assurance of Windows workfows. Does some one have leads to QA of WF. I came across only few like unit testing article by Scott at http://odetocode.com/Blogs/scott/archive/2006/08/02/5492.aspx . Any leads will be greatly appreciated. Hi, There aren't many unit testing articles out at this point, that I know of. The one you linked is a pretty good start in my opinion. If you can provide some detail on the scenarios you're looking to test and what ideas/questions you're facing, perhaps I can provide some insight. (We've acquired a little experience testing WF here). : ) Thanks! Angel ...Show All
Visual Studio Express Editions Registration Key Does Not Work
You have read the faq and realize one has to get the key for the user, machine the product was downloaded for. I found the dialog box that says " down loaded completed successfully" at end of installing the Visual Studio Express Addtion has a Register Now link. Don't use this. Open the program and let it set up and go to help. Copy and paste the key here. This tread is usually dropped if you down load and come back a few hours later and try to register from that completed dialog box. Have happy visual experience. MarkNet ...Show All
Visual C++ Specialized Template definition order -> no undeclared identifier error
Hi! Have a look at this code: // test.h START template<class A> void funcT(A a); void funcF(float a); template<class A> void funcT(A a) { } void funcF(float a) { funcT(a); } // test.h END // test.cpp START #include "test.h" int test() { for(int i=0;i<3;i++) i++; return i; } // test.cpp END When compiling it (VS2005), it gives the error "1>.\test.cpp(6) : error C2065: 'i' : undeclared identifier". This was my intention. But if I switch the funcF and funcT definitions in "test.h" like this: // test.h START template<class A> void funcT(A a); void funcF(float a); void funcF(float a) { funcT(a); } template<class A> void funcT(A a) { } // test.h END When compiling, the C ...Show All
Visual Basic modal dialog active...
Any news on the "Microsoft Visual Studio cannot shut down because a modal dialog is active. Close the active dialog and try again." I have had this happen several times and its a pain in the butt! I can reproduce this at any bloody time! Open a report (rdlc) file in report designer. Open the same file using the XML editor Modify the file using the XML editor to make sure it will generate a compilation error Compile - you should get an error message in output window Switch to report designer Try closing VS Oops modal dialog.... ...Show All
Visual Studio Express Editions Shadowed text
What is the most elegant solution we have for shadowed text in VB2005 Is it just a duplicate label underneath with zorder offset or is there any more sophisticated shape shadow effects anyone can point me to TIA ! Thanks. In the link above, I found the Halo text interesting... but of course if there is a way to do it without buying a 3rd party solution - I'd be happy. ...Show All
Visual C++ Delete a certain tree node
hi, now i facing a problem which i do not know how to solve it...:( My binary search tree structures stores a double number in every node, whereby a higher number is appended as right child and a less or equal number is appended as a left child. Now i want to write a function which deletes the node with the highest number in the tree. I started the function as follows: [code] template <class Item> void bst_remove_max(binary_tree_node<Item>*& root_ptr, Item& removed) // Precondition: root_ptr is a root pointer of a non-empty binary // search tree. // Postcondition: The largest item in the binary search tree has been // removed, and root_ptr now points to the root of the new (smaller) // binary search tree. Th ...Show All
Visual Basic Casting Error returning IEnumerable from KeyValue Pair
Hi Everyone, I'm getting a casting error in a class (called Panel) that stores a list of child controls on the panel (including other panels). The issue however is a casting error in the line " Return Pair.Value" in PreOrderVisit below. The error is: Unable to cast object of type 'Label' to type 'System.Collections.Generic.IEnumerable`1[BaseControl]'. Private Shared mControls = New SortedList( Of String , BaseControl) Public ReadOnly Property PreOrder() As IEnumerable( Of BaseControl) Implements IContainer.PreOrder Get Return PreOrderVisit( Me ) End Get End Property Private Function PreOrderVisit( ByVal Container As IContainer) As IEnumerable( Of Bas ...Show All
Smart Device Development DateTime Problem
Iam using a Datetime in my database. I want the data to look like this 2006-10-15 00:00:00.000 But now I get it like this 2015-06-10 21:58:14.000 Iam creating a DateTime with this code: int Year = int.Parse(dateTimePicker.Value.Year.ToString()); int Month = int.Parse(dateTimePicker.Value.Month.ToString()); int Day = int.Parse(dateTimePicker.Value.Day.ToString()); int Hour = int.Parse(dateTimePicker.Value.Hour.ToString()); int Minute = int.Parse(dateTimePicker.Value.Minute.ToString()); int Second = int.Parse(dateTimePicker.Value.Second.ToString()); int MilliSecod = int.Parse(dateTimePicker.Value.Millisecond.ToString()); DateTime SelectedDate = new DateTime(Year, Month, Day, Hour, Minu ...Show All
Visual C++ console intellisense
I create a console application in c++ with classes. My problem is that intellisense does not work sometimes. MyClass * t=new MyClass(); t-> // does not display the members of class. When i close and open the project the intellisence works 3-4 times but i must close and open again when stops working. It's any better way then opening and closing the project; I have Visual Studio 2005 Thank You. This is well-known Intellisence problem in C++ 2005. Standard Microsoft reply is "Something is wrong in your code". Hopefully it will be fixed in VS Service Pack somewhere in the future. To have Intellisence always working use Visual Assist. ...Show All
SQL Server Receiving a message with a specific contract
If the service is defined with multiple contracts is there a way to receive a message with a specific contract I am implementing a queue processing system. You can get some of the info here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=446600&SiteID=1 . The queue can contain messages of different contracts/types. When I receive a message I instantiate a different processing component based on the contract/type of the message. There are processing servers that process different kind of messages. The single processing server might only have a subset of processing components. This is why I need a way to retrieve messages based on the contract/type. Alex ...Show All
SQL Server Using Report Builder from the internet
Hi When i click on report builder I am getting the remote server returned an error: (401) Unauthorized. It works locally What kind of permissions i need I am using Windows authentication Thanks Ruvy When providing access to Report Builder over the internet, you need to allow Anonymous access to the Report Builder virtual folder in order for ClickOnce to successfully download the application. It can only provide the user's default credentials on the client (it can't prompt for other credentials), and those don't work when connecting to an untrusted domain. Hope this helps! ...Show All
SQL Server Want To Change Parameters Dimensionality
Hi All, Here's my latest problem that I'm hoping one of your good selves can help me with. I have a dashboard report with several KPI's displayed in trend graphs for the past 13 weeks rolling. Now I have a new requirement to allow users to click on any interesting data point on the chart so they can drill into that period for a more detailed analysis. My problem is that the report they need to navigate to already exists and is based on a calendar hierarchy in the date dimension while the KPI chart is based on a week of year hierarchy. This has to be the case otherwise the chart will have more than one Week32 for example in the calendar hierarchy because it straddles two months. What I need to do therefore, is somehow eit ...Show All
Visual Studio Express Editions Desktop Icon
Is there a way to create a desktop icon for each application of express. I do not want to hunt for it via programs. Thank you Simply open up your start menu and right click and drag each icon you want to the desktop. After you've released the mouse cursor a new menu will appear, click on Copy Here and you'll have a copy of the icon on your desktop. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Why use shaders?
This is probably a stupid question, but I'm going to ask it anyway. I've been programming computers for almost 20 years, so I'm not new to this, but I am new to 3d game programming. I downloaded RenderMonkey, and Nvidia FX Composer, and I see that really cool effects can be made with shaders...but the gap in my knowledge is...why, and when. I see that ATI has a shader demo where they take a flat disc and mod it into a speaker shape and then make it pulse like a real speaker using shaders. So...here's the question...is it more processor-friendly to make a flat disc and then shader it to the shape I need than to make model in the right shape in the first place In their demo, they take a flat disc and "shader" it to a speaker shape ...Show All
Visual Studio Tools for Office Get worksheet names from excel
Hi, On some excel file I get by schema the worksheet but on some I don't have this information. How can I access to this files Thank's Alexei Hi Alexei I don't undertsand your question, I'm afraid. But since you didn't originally post here, I'm assuming it's not directly VSTO related, so I'm going to pass you on to a group that specializes in EXCEL programming questions. When you post there (I can't move the message, you have to post again), you need to provide more information: - Version of Excel - A more descriptive explanation of the result you want to obtain, and what you're actually getting. Ask here: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.excel.programming&lang=en&cr ...Show All
