| Thread | Last Post | Replies |
|
| Late binding equivalent | 25 Feb 2006 00:48 GMT | 4 |
What is the late binding equivalent of the below code? Many Thanks Regards Dim O As Outlook.Application
|
| DllImport for DeleteProfile results in the parmeter is incorrect | 24 Feb 2006 21:16 GMT | 1 |
Anyone that has an idea of how to invoke the DeleteProfile function from UserEnv.dll through P/Invoke is greatly appreciated. I cannot see to find any example anywhere on the web of how to import this function. Based on the original C prototype it seems like it should be very easy
|
| Not enough storage... error when instantiating ShellWindows (shdocvw.dll) | 24 Feb 2006 18:23 GMT | 1 |
Hi all, I'm trying to create an instance of ShellWindows in a Windows Service I've written in managed C++ so that I can enumerate the running instances of Internet Explorer and later do some other things via IWebBrowser2. I'm having trouble right out of the gate, however:
|
| Registering a .NET assembly for COM interop access from an ASP page | 24 Feb 2006 05:33 GMT | 8 |
I need to access a .NET assembly from a traditional ASP page. What I've read in the .NET Framework documentation says I have to do two things: 1) Register the assembly using regasm.exe. I've done that. 2) "After registering an assembly using Regasm.exe, you can install it in
|
| Interop to C | 23 Feb 2006 21:08 GMT | 1 |
I'd llike to encapsulate a C function with signature: char * foo(char * bar) How would I call this function and how do I free the memory pointer which is returned?
|
| Native event in C# | 23 Feb 2006 21:06 GMT | 1 |
I'm having a hard time to subscribe to a native event in C#.NET. The application I'm writing should be able to detect changes in DHCP parameters. This is done through the following: DWORD APIENTRY DhcpRegisterParamChange(
|
| Connection Point from MTA to vb.Net | 23 Feb 2006 11:02 GMT | 1 |
Have a little problem that I hope someone can help with. I have a MT com .exe app that fires events (connection points) from a worker thread which is a COM MTA. It has been working fine with a VB 6 client. I am trying to port the client to VB.net but I am having problems. The ...
|
| Casting of IStream to UCOMIStream fails | 22 Feb 2006 18:53 GMT | 3 |
I have an application where I need to pass the data in a COLEStreamFile object to a method of a .Net class which accepts Stream*. I had implemented the solution specified in the following article in my application http://support.microsoft.com/default.aspx?scid=kb;en-us;321340
|
| ComException when trying to call Excel.Workbook.SaveAs | 22 Feb 2006 12:41 GMT | 1 |
I'm getting the above Exception when trying to call SaveAs() on a Wb, I've got open. I can call Save() no problem, but wanted to set Filename, etc... Very new to programming Excel with C#, so not sure what this is about. Can anyone help.
|
| How to do m_spPlayer->QueryInterface(&spSyncServices); on C# | 22 Feb 2006 11:08 GMT | 2 |
In Windows Media SDK Help to initialize IWMPSyncServices we using m_spPlayer->QueryInterface(&spSyncServices); But how can initialize IWMPSyncServices in C#. I tried to do in such way IWMPSyncServices ss = (IWMPSyncServices)Player; but ss comes null.
|
| Debug from ASP into .NET assembly? | 22 Feb 2006 08:29 GMT | 1 |
Is it possible to debug from an ASP page into a .NET assembly it's calling through COM interop? Thanks, Zoe
|
| COM+ LC Event - Transient Subscription | 22 Feb 2006 04:09 GMT | 5 |
I am getting "An event was unable to invoke any of the subscribers (Exception from HRESULT: 0x80040201)" on what appears to have been a properly subscribed transient event. I have an Event Class in a signed library, LceEvent.dll, registered in COM+
|
| Looping memory array in C# | 21 Feb 2006 22:30 GMT | 3 |
I'm calling a win32 function from C# that returns a far pointer to an array of data. The looping in C goes like this: pSint8 = (char* )pData;
|
| VB & WinAPI/Win32 functions and structs | 21 Feb 2006 22:08 GMT | 1 |
I'm trying to find out how to avoid having to manually declare all of the WinAPI C functions and structs before using them in VB.NET. I'm getting familiar with VB.NET 2005 and thought I should start by doing a copy of a little program I made in C++ years ago. That program
|
| DCOM Delegation | 21 Feb 2006 16:59 GMT | 1 |
I'm using .NET 2.0 and have a remoted class hosted in IIS 6 that is attempting to access a DCOM'd object running on a Windows Server 2003 SP1 machine. Windows Integrated authentication is enabled in IIS and I have verified that
|