| Thread | Last Post | Replies |
|
| Memory leak with this code | 27 Feb 2007 21:55 GMT | 5 |
I am not the greatest at COM Interop. I understand cleaning up your resources, but usually I am using a VS generated interop library, or primary interop assemblies. Making API Calls is somewhat new to me. Could someone please explain to me why the code at
|
| Best way to create ActiveX for Access 2000 in (vb).net | 27 Feb 2007 16:09 GMT | 3 |
I'm currently expanding the capability of an Access 2000 database for a customer who's limited by the "regime" of it's IT-department. The client wishes to do things in his Access 2000 (with VBA) that are easily done in (vb).NET.
|
| Excel Automation - Range.set_Value fails with "Exception from HRESULT: 0x800A03EC." | 27 Feb 2007 14:22 GMT | 1 |
I am trying to save data from a dataview to an excel spreadsheet. The data volume is quite huge. As per the recommendation from MS article, I dump all the data from the Data View to a 2D array and then use Excel.Range to pump all the data to the spreadsheet. It used to
|
| Dynamic DllImport | 25 Feb 2007 09:24 GMT | 3 |
Hey folks, I'm trying to DllImport the SendMessage and SetWindowTheme APIs, but maintain backward compatibility with Win2k and stay cross-platform with Mono. So I need a way to import these APIs if they are there but
|
| Saving Excel file from VB.Net | 24 Feb 2007 01:43 GMT | 1 |
In a VB.Net program I am opening an Excel workbook, adding some data, and then saving the file. My code is: Dim xlApp As New Excel.Application Dim wb As Excel.Workbook
|
| VB6 app interop with VB.NET dll | 23 Feb 2007 23:13 GMT | 7 |
I'm having some issues I hope someone can assist me with. I have a VB6 application which needs to interact with a VB.NET assembly (dll). The VB6 application is being developed on a separate PC from my .NET development PC. I have setup the .NET assembly for
|
| Winforms and LVM_SETITEMSTATE sendmessage interop | 22 Feb 2007 18:42 GMT | 3 |
I try to set an overlay image for items in winforms listview using the following simple code. Do you see any mistakes (because sendmessage returns 1, but nothing happens - no overlay image is set) ?:
|
| Event not firing on runtime new instance of form | 22 Feb 2007 16:30 GMT | 2 |
I am firing an event on one form that is getting handled on another. Following is my basic code: __________________________________________ ON FORM #1:
|
| Interop within a web service | 22 Feb 2007 16:13 GMT | 2 |
I am baffled by this problem and was hoping that somebody could help me out. I have a COM DLL that was created by Delphi that I am calling indirectly within my web service. The WS is calling a .NET component that calls the COM DLL. I unit test the .NET component and it works ...
|
| How to read and write from and into Excel file | 22 Feb 2007 13:51 GMT | 2 |
I have working sample of C# code that creates and writes into Excel file simple text. And this is not hard as there is a lot of samples at microsoft's msdn site:
|
| Late-bound interop confusion | 20 Feb 2007 09:20 GMT | 2 |
Suppose I have a native COM class A which implements an interface ITest, and a native COM class B which features a member function taking a parameter of type ITest. With normal COM Interop, I can call this function in C# by explicitely casting to ITest as in
|
| COM interop with IIS/ISAPI | 19 Feb 2007 15:57 GMT | 1 |
Hi. I posted a while back about an interop question sending a string from C++ to C#. I got the executable for that working just fine. Now, I'm going to change it to an ISAPI dll so we can use this program through our web server and it seems to be getting some kind of error
|
| Passing reference from C# to C++ | 19 Feb 2007 11:16 GMT | 1 |
I have some code in C++ i want to call this code from C# i have tried ref , out, & everything i can´t fix this error the following code shows the C++ and the call from C# and the compiler error
|
| Problem exporting powerpoint slides to jpg | 15 Feb 2007 11:39 GMT | 1 |
I'm currently exporting a powerpoint presentation to jpg. It works fine till there is a graph object embed in the presentation. In this case the resulting image apears as a white empty image. The code i'm using is as follows:
|
| VB6 COM update crashing C# application | 15 Feb 2007 09:22 GMT | 1 |
I'm having a bad experience with C# and interop and I hope some one can share a little light on my dilemma. We have a third party VB6 com object that our C# 2005 app is utilising. We are early binding so the application is using interop. Every thing is working
|