Keith Boyd -MSFT's Q&A profile
Visual Studio Debugger displaying C++ syntax for C# apps.
Hi, I have a WPF windowed app written in C# calling a dll written in C#. When I debug, type information is displayed using C++ syntax. Here's a copy-paste from the call stack window: Trtiya.Controls.dll!Trtiya::Controls::Charts::AxisY::ValidateOffset(double offsetY = -152.26757812500000) Line 559 C++ > Trtiya.Controls.dll!Trtiya::Controls::Charts::Chart::MoveChart(System::Object^ sender = 0x03c5dfc8, System::EventArgs^ e = 0x03c5e0 ...Show All
Software Development for Windows Vista WorkflowPersistence question
I'm trying to write fullblown WF persistence service, and so far I was good. I had no problems with Instance save/load methods. But now I stuck with Load/Save CompletedActivity... How do I get ContextGuid of the completed activity, if all DependencyProperties are internal/private Documentation points to void pages How do I something like this in non-MS assembly: Guid contextId = (( ActivityExecutionContextInfo ) activity . Ge ...Show All
Visual Studio MFC debug information absent with symbol server use
How do you set up VC++ 2005 to use a symbol server for debugging an MFC application When I set up the symbol server, I can no longer step into MFC functions. In the debug output the following lines are present for MFC: 'MFCTest.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugMFC_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_c8452471\mfc80ud.dll', Symbols loaded (source information stripped). 'MFCTest.exe': Loaded 'C:\WINDOWS\WinSxS\x8 ...Show All
Windows Forms VB.NET to C# conversion problem
I am trying to convert this piece of code to c# and i am having some trouble because of the name differences in the functions the vb application is inheriting: Public Sub ApplyEdit() Implements IEditableObject.EndEdit mBindingEdit = False &nb ...Show All
Windows Forms DataGridView - Programatically select/highlight cell substrings
I want to implement a Search/Replace function for searching the contents of a DataGridView. I've got a basic search to work but it is simply highlighting the whole cell that contains the search string. I now want to improve this to highlight&n ...Show All
Architecture finding design patterns from Model or P.E file
Hi, Are there any tools or APIs that take a model (as XMI probably) or a P.E file (so in effect, source code won't be available) and give the design patterns that were used in the model Which classes participate in which patterns and related info It could probably be one of the stages in reverse engineering, isn't Thank you. I don't thi ...Show All
SQL Server Full text thesuarus
Did you restart the Full-text service after changing the thesaurus Go to My Computer->Manage->Services and Application->SQL Server Configuration Manager->SQL Server 2005 Services to find and restart it. Best regards Michael < kts@discussions.microsoft.com > wrote in message news:fbfb65e9-e043-4f50-8995-479b19b0d690@discussions.microsoft.com ... I am not able to get the the ...Show All
Visual C++ Addition Operator Overloading Problem
Hi folks, I'm writing a Windows Forms app in Managed C++ for MS Visual C++ 2003. I wanted to overload the Addition operator for the System::String class so that I could Concat Strings with '+'. However, when I added the following code: static String* op_Addition(String* strStringA, String* strStringB) { String* strResult; strResult = String::Concat(strStringA, strStringB); return strResult; } ....... Form1(void) { InitializeCo ...Show All
SQL Server is it possible to have variant condition clause in procedure?
i want to use OLEDB to build a COM for my app in the case, i want to execute a select statement which the where-clause is variant. ex, select * from db1 where code='abc' select * from db1 where name='mike' As it's very difficult to change sql-command in oledb, i want to build a procedure like this, create procedure viewDB @filter CHAR(20) as select * from db1 where @filter go but failed! i tried EXEC( select ), ...Show All
Visual C# Exe path from file extension
Any way in the framework to get the .exe file path from a particular extension TIA You will have to look at the registry under HKEY_CLASSES_ROOT and then examine the keys under the extension.I would suggest that you open regedit for example,expand the HKEY_CLASSES_ROOT and look for .sln.There you will find a subkey called OpenWithList and where you will find devenv.exe. Here is a bit of code that ...Show All
Visual Basic Web Application - XML
Hello, I would like to know how to read a XML with an web application..... (the client needs to upload it and after that I need to fill a dataset with it..Needs to be in VB.NET Does anyone has an example Thanks ...Show All
Windows Forms fighting with framework 1.1 install
I have visual studio (with 1.0 framework) installed. How do you add 1.1 with SDK NOTE: I removed framework 1.0, installed framework 1.1 update, then installed 1.1 samples and SDK--then, my compiler did not work!!! Therefore, I had to do a complete  ...Show All
Windows Forms Reflection permission
While just starting to sink in .net environment, I've created a user control inherited from DataGrid which resizes each cell for its content to be readable upon resizing. The solution is (I get advised from another Windows Forms) to rely on Reflection&nb ...Show All
Visual Studio SubQuery
I am using Crystal Report9.0 Dot net bundled version. I want to write sub query. I could not use command object. Because for command object we cud not set the daabase at run time. So any otherway for me. ...Show All
Windows Forms Can a Listbox do this?
Hi, Is this possible for a listbox When the listitems of the listbox are selected and right-clicked, a context menu appears. Then, when the user right clicks on the empty space inside the listbox, the context menu will not appear even though an item is still selected. Also, is the mousedown event used to detect left or right clicks I see, I got the impression that you are asking about WinForm's ListBox contro ...Show All
