| Thread | Last Post | Replies |
|
| COM interop and Windows Service problem | 18 Sep 2003 20:29 GMT | 1 |
I have a .NET Windows Service app that instantiates a COM component. The service instantiates the COM object on my developer PC but does not work when deployed to the production server that has .NET Framework. The error
|
| HBRUSH->System.Drawing.Brush...?? | 18 Sep 2003 19:11 GMT | 1 |
How do I convert a Win32 hbrush to a .Net brush object? A lot of the .Net objects have things like FromHfont and FromHRgn but i can't find the equivalent for a brush... Many thanks,
|
| PInvoke & dll dynamic loading | 18 Sep 2003 18:36 GMT | 1 |
I have to invoke a function defined in a c dll from a c# program, but I don't know the dll name at compile time. How do I declare and invoke this function using LoadLibrary and GetProcAddress (GetProcAddress returns a function pointer!) ?
|
| Using Excel Type Library 5.0 in C# | 18 Sep 2003 15:27 GMT | 5 |
I'm trying to use the Excel 5.0 Type Library in C# I've managed to create an Excel Instance using Excel._ExcelApplicationClass xl = new Excel._ExcelApplicationClass(); But now I don't know how to go on, opening an template writing into it and
|
| dotnet interop run in a thread | 18 Sep 2003 10:44 GMT | 1 |
I have a COM object implemented in ATL. The CoClass implements two interface. The default interface IInterface1 is a dispatch interface. The non-default interface IInterface2 is an IUnknown interface. Using dotnet interop I can create object instances, I can also be able to
|
| Excel | 18 Sep 2003 08:39 GMT | 2 |
I'm having trouble porting ASP-script to VB.NET with respect to Excel COM-interop: The following statement generates an Error: Dim qt As New Excel.QueryTable
|
| Unmanaged to managed Proxy DLL | 18 Sep 2003 03:10 GMT | 1 |
I have a legacy application that I need to write plugins for. The plugin must be written in C++ using a standard DLL that exports functions. What I want to do is create a proxy plugin that will call into a .Net assembly. Is this something that can be done easily?
|
| Error 429 Active X Componnent Can't Create Object Deployment Build | 17 Sep 2003 23:09 GMT | 13 |
I created a Deployment Solution for my COM object using VS.NET. When I install the object on another machine and set a reference to the object, I can see all properties, events, etc. When I run the application, when it goes to instantiate the COM object I get
|
| Killing Excel. | 17 Sep 2003 19:59 GMT | 5 |
I has a routine which is writen in VB.Net to open an excel workbook, update it, save it and close it. I am performing all the necessary steps to destroy a reference to excel, including "ReleaseComObject" etc.
|
| Reference Count. | 17 Sep 2003 16:00 GMT | 2 |
Is there a way of discovering the reference count of a COM object. e,g. an Excel workbook. ReleaseComObject(xx) decrease the reference count, but how do I detect if I have missed any references, thus not closing Excel. Tim
|
| CreateObject failed with VB.Net, but succeded with VB6 | 17 Sep 2003 10:16 GMT | 2 |
There some problems with creating object our COM server application. Application works fine, if we use VB6 ( or any old tool supported automation ) for creating client application, but the same code failed in vb.net with very
|
| ExecutionEngineException when using a DLLImport call | 16 Sep 2003 20:19 GMT | 7 |
How do i convert the following structure declaration from c++ to c#? #pragma pack(push,1) //Byte alignment struct TtsrPlayerInfo {
|
| How to return a structure from unmanaged C DLL? | 16 Sep 2003 20:13 GMT | 5 |
I use an old C API DLL with a function, that returns a structure like this: struct err_struct {
|
| Cascading windows on the desktop | 16 Sep 2003 17:19 GMT | 1 |
I have a requirement for my app to cascade all the windows on the desktop. These aren't MDI children, but any old app running within Windows. I can't figure out though which API call to use, nor can I find anything in the .NET framework to help me out with this.
|
| Variant Type or 2dim Array | 16 Sep 2003 15:49 GMT | 1 |
I want to pass a 2dim Array of Double to a COM Class done with vb.net. If I declare Sub setData(InData()() as Double) it does not work (I think the type mappimg can't be done). So I want to get a Variant by Sub setData(InData as Object). If now a vb6 made application calls this with ...
|