Daniel Petrik's Q&A profile
Windows Forms How to create a DropDownList/ContextMenu style window?
I need a popup window(no border) to input some text. But it should be something like the drop down list of a combobox which doesn't make the owner form inactive. Making it a child window does that but it will be clipped by the owner form, while drop down list won't be clipped. I've tried changing the CreateParams to use different set of flags, but not successful. And I've been googling the whole afternoon... I saw someone says not to make ...Show All
Visual Studio Team System Issue with Load Test DB connection
I have stumbled across an issue regarding the connection string administration to the LoadTest DB. I have read other threads re: configuring this via the Test Controller Admin dialogue and did manage to get it working briefly. For other reasons I did a un-install and re-install (without incident), but when I re-entered the dialogue to alter it again, the Load Test Results connection string configuration dialogue could not find my desti ...Show All
Visual C# Where can I find good tutorials in creating user controls in win forms?
I can't find anything in my search.. i found one @ FirstControl ...Show All
.NET Development An error occurs when invoking a win32 API
Dear All, I'm getting this error when I invoke any API function from visual studio 2005 PInvokeStackImbalance was detected Message: A call to PInvoke function 'DubaiLandDesktop!DubaiLandDesktop.frmShutDown::ExitWindowsEx' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature ...Show All
Windows Forms MDI child window and buttons not responding
I am writing an order entry app. The main data entry windows is an MDI child window, which contains a tabcontrol with 5 tabpages, each representing a step in the order entry process. At the beginning of a cycle only a single tab page is&nb ...Show All
.NET Development XPathNavigator and adding node?
Lets say that I have the following in my xml file: <gameinfo> <lives>5</lives> <score>10786</score> <maps> <mapID>2</mapID> <mapID>0</mapID> </maps> </gameinfo> Then after processing with XPath Navigator, I want the output to be something like this: <gameinfo> <lives>5</lives> <score>10786</score> <maps> < ...Show All
Visual Basic VS 2005 VB Templates
I want to create a new template project for VS 2005. A VB 2005 project. I have read a bit online, but the information I am finding does not sync up with what I see in my Harddrive folders. I see many templates via the IDE, but I cannot locate them on my HD. I find similiar onex in my VS 2003 folders, but not under Visual Studio 8. Are there MSDN type reference material out there on how to do this these two MSDN links should help you create ...Show All
Visual Studio 2008 (Pre-release) viaUri
Hi This is my first post so please be gentle with me. I want to develop a generic template for processing WCF messages; one where message interrogation, validation, tracing etc happens through the use of pluggable components. To this end, I want to have intermediary nodes process messages and forward them onto other services. I don't think that's a strange scenario. It looks to me - from a beginner's viewpoint - that I want to use th ...Show All
Visual Studio Express Editions RegOpenKeyExW can not work well
In vs2005,i build a win32 console programm. when i use the registry function like this: RegDeleteValueW(HKEY_LOCAL_MACHINE,_T("ttt")); it works well;But when use it as follow: HKEY hkey; WCHAR childkey[256] =L"SOFTWARE\\Microsoft\\Command Processor"; // or WCHAR childkey[256] =_T("SOFTWARE\\Microsoft\\Command Processor"); RegOpenKeyExW(HKEY_LOCAL_MACHINE,childkey,NULL, KEY_WRITE||KEY_READ||KEY_S ...Show All
.NET Development Ouch! Soap serialization for Nullable types is missing?!
Ouch! System.Runtime.Serialization.SerializationException: Soap Serializer does not support serializing Generic Types : System.Nullable`1[System.Int32]. Can we have this basic type added Thanks Chavdar Angelov I find this rather shocking that this made it into the final release of the product. Indigo/WCF is a long ways off. Only thing left is XmlSerializer which is not a good option. It basically cannot serialize p ...Show All
SQL Server profiler can't save trace to file
sql2005 can't save profiler trace to file (check box always unchecked), save to db works fine. loged as local admin. I dont understand...all you have to do is check the box and the New Trace dialog will prompt you for the file to save the results to Derekg ...Show All
Visual Studio Team System NUnit vs VSTE
Hi all, I'm interested to know what people think about VSTE unit testing and also what people currently using NUnit think about this new support for unit tests in Visual Studio. What I can see myself after a short look at the features is that VSTE offers a great integration with the development environment as well as the addition of code coverage. NUnit on the other hand doesn't require a project and can be integrated to the source code assemb ...Show All
Visual Studio Team System Customizing MSF Agile - RACI on Workstreams and Activities
I've added some new Workstreams to the MSF Agile Process Guidance templates, and have a couple of questions. For my new Workstreams, in the XML I see RACIItem's at both the Workstream and Activity nodes. When viewing the Process Guidance, I see the Roles identified for my Workstreams on the Workstream PG page, and the Roles identified for my related Activities on the Activity PG page. That part is all good. My questions are as follows. Is ...Show All
Visual Basic Multi-language project without satellite assemblys
Hi! Is it possible to create a project that uses more than one language (English, German) without automaticly creating satellite assemblys for the other languages My current situation. I wrote a German program and I want an English version too. But I just want to have one executable file without other dll-files (in this case: vb creates automatically a subdirectory for the English language). May change a setting for this somewhere R ...Show All
Visual Studio Team System Work Item "Assigned To" field contains all domain users
When I create a work item I find it ... complicated that the "assigned to" field contains all the users on my domain. Ideally this list would contain only the users assigned to the current project and/or users that I've assigned work items to in the past. I found an old but similar message here that implies this issue was fixed in an earlier version. If this is the case, why am I seeing all the users in this list and is there a way ...Show All
