| Thread | Last Post | Replies |
|
| C# windows service and RegisterServiceCtrlHandlerEx | 16 Sep 2003 09:47 GMT | 2 |
I have a C# windows service that need to handle the SERVICE_CONTROL_DEVICEEVENT event. This event is not supported by the ServiceBase class so I tried to use the P/Invoke to call RegisterServiceCtrlHandlerEx() and register the call back
|
| .NET COM-Server as ONE process providing ONE singleton to all requests? | 16 Sep 2003 01:24 GMT | 1 |
We want to set up ONE shared .NET server with VB.Net that shall expose ONE shared singleton instance to all requests. This instance has to be exposed to COM, too. While it is no problem to access the server with .NET
|
| EXCEL Automation | 15 Sep 2003 23:23 GMT | 1 |
I am trying to use excel as a maths engine in a VB.NET application. I have managed to get the basic functionality I desire, but in doing so have to open an existing workbook using the following code: Function CalculateFromEXCEL() As Single
|
| getting back an HREF, iUnknown, in vb.net | 15 Sep 2003 23:03 GMT | 1 |
I am using VB.net to talk to a COM object. I have two problems I am trying to solve. 1) One of the COM public methods returns the standard S_OK if all is well. It looks like this:
|
| Error using deployed Windows application using Word | 15 Sep 2003 19:36 GMT | 5 |
In my Windows application I use the following code: "Try WordApp = New Word.ApplicationClass() WordDoc = WordApp.Documents.Open(txtWordDoc.Text)
|
| Converting .tlb library produces incomplete types | 15 Sep 2003 13:19 GMT | 1 |
I am trying to use a COM library from my .NET application. I built .tlb from .idl file and run TlbImp.exe on .tlb to produce an interoperability assembly. During conversion, a number of warnings are issued:
|
| P\Invoke Question | 15 Sep 2003 01:00 GMT | 2 |
I have a very large C++ library that I need to use in .NET, so I want to create a C# wrapper around this library just like I have done for other C style dlls. However, this C++ library has no C interface. The C++ library has build options as a static lib and as a dll. Therefore, the ...
|
| GetClassLong and Icon Handle | 14 Sep 2003 23:36 GMT | 3 |
I am writing a file manager (in C#) which uses a dll which hooks into the system sending my app a message when a window is created or destroyed, the dll works fine and I am receiving the messages. When I receive a Window Created message I want to get a handle on its
|
| Help with MarshalAs statements | 14 Sep 2003 18:46 GMT | 4 |
Hi Everyone - I have two questions about MarshalAs 1) I need to setup the correct MarshalAs for this setup... [StructLayout(LayoutKind.Sequential)]
|
| OLE Embedding in .NET | 14 Sep 2003 14:33 GMT | 3 |
I am trying to embed microsoft word document window to a .NET form applciation and could not find how to do that. On VC6 it was quite easy to do it with Ole Container applciation but in .NET I could not find anything regarding OLE documents/views etc.
|
| UXTheme.dll, VB, Tab and Groupbox | 13 Sep 2003 21:53 GMT | 4 |
I am trying to implement visual themes for a tab page in VB.NET, I have derived a new tab page class to use the UXTheme.dll methods to draw visual themes, but the problem I'm having is getting Groupboxes and checkboxes to display correctly on the Tab Page, I have searched for ages ...
|
| Unadvise problem with managed event source | 12 Sep 2003 23:02 GMT | 6 |
I have a managed class written in C# which fires events to an unmanaged dispinterface sink. This setup is working fine, except when I try to disconnect from the event source the reference count on the sink is not released straight away and remains the same until the
|
| Calling back from COM into managed code through custom interface | 12 Sep 2003 19:55 GMT | 4 |
I'm having an interop problem where my managed component is reentered from COM on the wrong thread, at which point things seem to go downhill very rapidly. I'm successfully making very heavy use of COM interop elsewhere in my C# code, but I'm having trouble finding a way around this ...
|
| calling unmanaged C++ dll from c# | 12 Sep 2003 17:26 GMT | 1 |
i need to call unmanaged c++ code from c#. Is it possible to do this direct, without dll's? The DllImport gave me an error saying no enrty point. what is the problem with that?
|
| Slow Webbrowser control | 12 Sep 2003 12:46 GMT | 1 |
is there any chance to speed up the loading process of ActiveX controls? I'm using the webbrowser control from VB.NET through interop and the EndInit call to the ISupportInitialize interface costs about 12 seconds.
|