| Thread | Last Post | Replies |
|
| MSProject Error | 22 Nov 2005 09:08 GMT | 3 |
Im trying to use the MSProject COM "interop.msproject" but when i create a new object ihave this Error : System.Runtime.InteropServices.COMException: Échec de l'exécution du serveur
|
| Debug COM from Webservice | 22 Nov 2005 03:56 GMT | 1 |
I have a web service that uses a legacy COM component developed in vc++ 6.0. That COM component works when I use the vc++ client. But when I use it in the .NET webservice, it gives an error. I would like to debug it. How can I do that?
|
| Pressing Tab in .NET switches to COM window | 22 Nov 2005 01:53 GMT | 2 |
I am launching a .NET windows form from some vb6 app. When I press the keyboard tab button it switches to display the vb window. Any ideas why? I am compiling the .NET form in Visual Studio with the compile for COM flag
|
| Dll parameter: pointer to a unsigned char[] as parameter | 22 Nov 2005 01:50 GMT | 4 |
To people wiser than myself: I'm calling a native dll in C# that takes a frame number and a pointer to an unsigned char to populate with video data. Here's the C++ method Signature:
|
| outlook items "addition time" | 21 Nov 2005 21:07 GMT | 2 |
I am grabbing Outlook MailItems using the Items[] property on my Outlook inbox. When I iterate through them, I notice that they are not ordered in ReceivedTime or CreationTime order. For example, Items[2].ReceivedTime is April 2005
|
| STAThreadAttribute is ignored in .net Framework 2.0? | 21 Nov 2005 16:57 GMT | 10 |
i just moved my existing Application to VS2005 and .net 2.0. This application is using COM Interop. I don't changed my main method. [STAThread] static void Main(string[] args)
|
| interop for string[] array | 21 Nov 2005 05:41 GMT | 3 |
The P/I function ADsBuildVarArrayStr works. When I look at the IL, no heavy Marshal code is done. I even suspect, that a pointer is passed to the array and that the array even not is pinned. But when it comes to passing a string[] array through a struct, it does not
|
| Native DLL as a resource? Possible? | 20 Nov 2005 17:31 GMT | 2 |
I have a .NET application that calls functions in a native DLL. In order to ease deployment, and for simplicity's sake, it occurred to me that the best way to distribute this DLL would be as a resource. So I've added the DLL to the project as an embedded resource, and I've
|
| How do I avoid registering my C# com component every time I compile? | 20 Nov 2005 15:32 GMT | 3 |
Basically, I have generated a .snk file and included it in my assembly and my C# class inherits from ServicedComponent. The first time I access my class it self registers (I didn't do anything to make that happen). However, every time I build and then run again I have a new
|
| Using the PickIconDialog with Windows 2000 | 19 Nov 2005 19:12 GMT | 2 |
I need to open the PickIconDialog window (I'm using C#). [DllImport("shell32.dll",CharSet = CharSet.Auto, CallingConvention = CallingConvention.Winapi)] public static extern int PickIconDlg(IntPtr hwndOwner,
|
| Acess the message pump from with in a class | 19 Nov 2005 18:34 GMT | 1 |
Does anybody have the example of how to use getmessage api? I would like to monitor the pump from with in a class or common dialog. Thanks Justin
|
| Ptr Arithmetic w/ Marshaller | 18 Nov 2005 16:16 GMT | 2 |
It is especially challenging to do interop marshalling with the Win32 API BackupRead, because it returns a byte array that can be interpreted in several different ways. My specific question is how to use the Marshal functions such as
|
| How to get a variant returned from a c++ function in vb.net? | 18 Nov 2005 15:06 GMT | 3 |
I'm trying to call a function from a C++ dll which returns a variant: VARIANT DLLEXPORT ExecuteFunction (LPCSTR); This function (which I can't change) executes a SQL query and returns a single value - whatever the query asks for: integer, string, double
|
| Excel Automation Range Background color | 18 Nov 2005 13:22 GMT | 3 |
I would like to set the cell background color (and font color later) for a range of cells in excel using a c# application. First I set the BackColor of a textbox on a windows form to the color I would like to apply to the Excel cell/range. the color in this case is
|
| MAPISendMail hang | 18 Nov 2005 11:01 GMT | 1 |
I'm calling MAPISendMail from my form with the MAPI_DIALOG flag set. However the resulting (modal) Outlook mail message window 'hangs' until such time as I click on a window of another process and click back again. Any ideas?
|