| Thread | Last Post | Replies |
|
| GetEnumerator fails in automation run with error "Member not found | 12 Oct 2004 22:56 GMT | 5 |
Our .exe application can be controlled by an external program using OLE Automation. We have a sample C# .exe program (using c# VisualStudio.NET 2003) that launches our application (via automation) and makes various successful automation calls.
|
| how to declare the function with string as output parameter | 12 Oct 2004 18:30 GMT | 1 |
I hava a method(say MyMethod) in a non-COM dll, and my .net code needs to use PIvoke to call this method. MyMethod takes 2 parameters, the first one is a string used to pass in the username, and the 2nd is the processed string(used for a return value). And MyMethod returns void. ...
|
| defining the 'LIB' as a variable(VB) | 12 Oct 2004 16:45 GMT | 2 |
rather than Declare Function initscr Lib "stringpathto.dll" () As IntPtr is there a way of using a constant similar to the following (which doesnt work..)
|
| Call Another Program | 12 Oct 2004 12:57 GMT | 1 |
Using VB .NET 2003. Is it possible to call a program like NotePad from my program without resorting to APIs? I can not seem to get a good method for this. Sample function would be
|
| VC++ COM-library compilation under .NET as managed code | 12 Oct 2004 08:30 GMT | 2 |
I have a quite severe problem. I am trying to compile a C++ library initially written for VC++ 6. To make the library available for .NET languages I want to compile the library as managed C++ library. As the library is utilizing DirectX 9 it bases on COM. This causes me quite some
|
| Command Button in Excel - NOVICE QUESTION | 11 Oct 2004 22:53 GMT | 3 |
I'm trying to use VB.NET to create an application that will create a new workbook and worksheet in Excel. Having achieved that, I am trying to find advice about how to create a Command Button on an Excel Spreadsheet and control it's properties. I have used:
|
| TypeLib created has no methods | 11 Oct 2004 21:16 GMT | 1 |
My simple problem is that when I use either RegAsm or TlbExp on a .NET Assembly, the TypeLib created doesn't contain any methods. Only my classes are in there. I'm assuming this is just my inexperience in using COM Interop? Any help appreciated.
|
| How to deal with LPBYTE? | 11 Oct 2004 09:14 GMT | 1 |
I want to call an unmanaged API which uses a LPBYTE. I have to allocate the space for the byte data first and pass it to the API. How do I call this in C#? From:
|
| AvtiveX not intercop ? | 11 Oct 2004 02:30 GMT | 6 |
ActiveX "iGrid" not intercop in VB.NET. Why ?
|
| Access to C# functions or classes from unmanaged C++ | 09 Oct 2004 11:57 GMT | 4 |
I have made a dll in unmanaged C++ code using Visual Studio.Net 2003. I would like to access C# functions or class methods from this dll. The C# code would be in an other dll. Typically, the C++ code does shell interaction, while the C# part is a
|
| System.Runtime.InteropServices.COMException: Class not registered | 08 Oct 2004 18:07 GMT | 1 |
I'm trying to develop an ASP.NET application that uses a third-party COM dll. I've added a reference to the dll in the web app project along with adding a "using" directive in the code-behind (referencing the COM namespace). Every time I try and run the application and call ...
|
| "regasm xxx.dll" vs "regasm xxx.dll /regfile" | 08 Oct 2004 07:05 GMT | 9 |
Is this a regasm bug or does anyone have an explanation to this behaviour? I have a com dll that defines additional "Implemented Categories". When I register with regasm they are defined in the registry as expected. When I try to create a registry file with the corresponding ...
|
| How to create my own interop assembly? | 08 Oct 2004 05:53 GMT | 5 |
I'm trying to automate excel 2000 from c# .NET. I also need for my code to work on Excel 2000 and 2003. Since there are no PIAs available for office 2000, what steps do I need to follow to create my own interop assembly for excel 2000. I'm assuming that once I link to this ...
|
| 80004003 Invalid Pointer when exposing .net assembly to COM | 07 Oct 2004 23:13 GMT | 3 |
I am attempting to setup an API that will bridge managed code into an older legacy system. When I follow the directions in MSKB 817248 on exposing a .NET Assembly for COM Interop (or have VS.Net 2003 do it for me) it successfully registers the assembly in COM, however, i cannot ...
|
| IJW Memory Management | 07 Oct 2004 15:11 GMT | 2 |
I need the help of the C++ gurus out there. I have the following code, it's working great, but I'm concern about the lack memory management I'm doing. I just want to confirm if I'm doing something wrong or my code is fine. I don't want to put this code in production and find ...
|