SoulSolutions's Q&A profile
Visual Studio Team System Context menu in Team Explorer extension
I'm trying to implement a context menu on a node in my Team Explorer extension. I have my own node object that inherits from BasicHierarchyNode. I have my ctc file created and a header file to hold the guids and ids used in the ctc file and I have created classes in the solution to make the guids and id available to my other classes. To implement I override the ContextMenu method of the BasicHierarchyNode class like this. public CommandId ...Show All
Visual Studio 2008 (Pre-release) WPF goes mobile?
Hello, does anybody know if there will be a WPF-Player for mobile devices. I am interested in building User Interfaces with WPF for embedded systems. Maybe it is possible to generate targetcode for a specific embedded plattform Thank You! Drew -- I thought you liked me :-) For more WPF/e information from the PDC -- see PRS200 There is a demo of WPF/e running on the Macintosh and there is a demo of it runn ...Show All
SQL Server Dynamic query
Hello I'm a newbie in sql server. anyone can explain what does Dynamic query means thanks. Sure, but for some basic understandings (perhaps your questions will be cleared after the detailed the explanation of this text) look for: http://www.sommarskog.se/dynamic_sql.html HTH, jens Suessmeyer. ...Show All
Software Development for Windows Vista Please help
When I try to build an old project which uses directx to show videos. there are errors as follows Linking... ConfigDlg.obj : error LNK2001: unresolved external symbol _CLSID_AudioRendererCategory ConfigDlg.obj : error LNK2001: unresolved external symbol _CLSID_AudioInputDeviceCategory ConfigDlg.obj : error LNK2001: unresolved external symbol _CLSID_VideoInputDeviceCategory ConfigDlg.obj : error LNK2001: unresolved external symbol _CLSID_Sy ...Show All
Visual Studio Express Editions vbNullString to C# conversion issue...
I'm working on a C# project that utilizes an API. The API is expecting to recieve a vbNullString as an input to a function and I have no idea how to send that. How do I convert a C# string to a vbNullString Thankyou. It's strange, I declared two strings and set them to null and that didn't work, but just putting the null value in did work. I would've expected the first to work as well. Red. ...Show All
SQL Server Stored procedure parameter without type
Hi All ! How i can create a stored procedure like ISNULL I need to a procedure that accepts Int type parameters and Float type ect. Thanks. DBT. Hi there, So you'd be looking for a catch-all data type sort of like Object in Java or C# or Variant from old school VB Maybe have a look at the sql_variant data type. There are certain types it can't hold though (see doco like Books Online for details). ...Show All
Visual Studio Express Editions lost install CD
hello I lost the install CD (rather I threw it out by accident) for the Beta for Visual Studio. Is there any other way to uninstall the MSDN library, I've tried everything ...Show All
Visual C# System.Byte[*] - Solution
Dear All, I have an object data type that I pass to a function. I can view the values returned in debug mode. But I can’t make use of this data in any way. I tried to read the data into another data structure and I have no success to date. These are the declarations and error message; Declaration: public object buffer; byte [] myByte; myByte=( byte[] )buffer; Error message: Unable to cast object of type 'System.Byt ...Show All
Smart Device Development PPC Disable auto-off?
I've written a music player (WM2003, CF2), and I'd like to (optionally) keep the PPC from turning itself off. Is there a managed method I've been able to get PowerNotifications (thanx to Anthony Wong's blog), but don't see how to prevent the events. ---Mike P/Invoke SystemIdleTimerReset periodically. ...Show All
Visual Basic Converting C stuctures to vb.net structures
how do i do this in VB.NET const char *file; does uintptr_t *extra; mean Public extra As Reflection.Pointer how do i do this fixed length thing in VB.NET char name[GRF_NAMELEN]; for this pointer to the next one of the same structure struct _GrfFile *next; do i do this Public Gnext As Reflection.Pointer First - I don't know, but it seems likely Second - char (GRF_NAMELEN) ( which you obviously also need to ...Show All
.NET Development HELP PLEASE - The type or namespace name'Office' does not exist in the namespace 'Microsoft'
Hi, I have just followed through the example on the Microsoft web site at url: http://support.microsoft.com/ kbid=316384 The code has not been altered from the example. I now get the Error: The type or namespace name'Office' does not exist in the namespace 'Microsoft' I loaded the Microsoft Word Object Library from the COM tab the entry on my machine is Microsoft Word 9.0 Object library. This successfully transfers the Interop.Of ...Show All
Visual Studio Problem deleting temp file.
I was trying to have a task that copies the dependencies to a specified location. In order to do that I have a dll that gets a dll/exe as input and using reflection it finds the dependencies names. The function looks like that: public override bool Execute() { Assembly myAssembly = Assembly.LoadFrom(AssemblyLocation.GetMetadata("FullPath")); AssemblyName[] refAssemblies = myAssembly.GetReferencedAssemblies(); FirstOrderDepede ...Show All
Windows Forms using a syntax highlighting control...
Hi, I'm creating an app that uses a syntax highlighting control. The keywords that will be highlighted are in xml files. Now, my question is: what should I do: should I load these files every time they are needed (whenever the user asks for&nbs ...Show All
Software Development for Windows Vista Workflow & Business Logic and Data Access Layer Best Practices
I am currently developing an purchasing application that has an assembly exposing its data access layer. Objects in the data access layer implement standard C.R.U.D functionality via ORM. The objects also exposes datasets. 1. Can anyone tell me how best to implement WWF and DAL interaction. Do I need to create custom activities such as GetOrders, CreateOrders etc. (exactly what's exposed in the DAL already) 2. Do I create 4 custom activites, o ...Show All
Visual Studio Tools for Office Capturing Out of office event in Outlook 2003
Hi all, I'm writing an addin for outlook, where I need to capture out of office event (when user turns out of office on / off). I would also need to be able to get the out of office message that user has entered when out of office is enabled. What is the easiest way to do this I'm using VS.Net 2003 (C#) for addin development. Thanks in advance. Hey, We could use CDO or Extended MAPI to turn on/of ...Show All
