| Thread | Last Post | Replies |
|
| Handling MS Word Quit event using C# | 20 Oct 2004 03:14 GMT | 2 |
When using the PIAs for Word 2003, how do I set up an Application Quit event handler so that the C# compiler does not confuse it with the Application Quit method? I have no problem with handling other events, only this one because of name ambiguity. I assume there is an example ...
|
| How to execute unmanaged exe from .net application... | 19 Oct 2004 22:55 GMT | 2 |
I have a compiled Fortran executable that I must execute from a VB.Net windows application. What is the best way to go about this? In a similar application, developed with VB6, I used the ShellExecute Win API function. Is there a cleaner way in .NET?
|
| Return array to vbscript as Variant*?? | 19 Oct 2004 18:46 GMT | 3 |
I'm beating my head against the wall on this problem. Everything else has been really easy. I need to call a COM object, that is implemented in C#, from vbscript. VBScript only knows Variants, so I need to return an array as a variant from one of my functions.
|
| Files required for IE Interop | 19 Oct 2004 18:18 GMT | 1 |
I have a Windows Forms project that embeds Internet Explorer. On my development machine all that is required for the application to run is the 48KB file AxInterop.SHDocVw.dll and the 124KB Interop.SHDocVw.dll. (Btw, what is the difference between these two? Can I reduce this to ...
|
| Visual Studio..NET COM Interop | 19 Oct 2004 15:34 GMT | 1 |
I have two questions: 1. I have written a dotnet assembly and registed it as COM object (using Register as Com Interop in Build). Is there a way to reference this as a COM object in another .Net application? I want to test that COM clients will
|
| Using MS Word Automation w/ VB.NET | 19 Oct 2004 11:19 GMT | 2 |
I was looking for some perspectives on implementing an enterprise correspondence solution for custom letters. Currently we use RTF that allows business users to configure the letters with custom text and data elements (pre-defined). We have to jump through some hoops to get the ...
|
| Non-modal forms cannot be displayed in this host application | 19 Oct 2004 10:35 GMT | 3 |
I am trying to replicate a VB6 menu application that is compiled as an ActiveX Exe. The menu application uses a series of plug-ins that are ActiveX DLL's. When the user selects a menu option the menu app creates an instance of the appropriate plug-in and calls a standard ...
|
| How to create an ActiveX object in a .NET console application in C | 19 Oct 2004 03:51 GMT | 4 |
I have a console application in C#, which need invoke the functions and get events from a ActiveX object hidden. I can not drag the ActiveX directly from Visual Studio.NET Toolbox, due to there is no form in the console application. The question is, can I dynamic create the form ...
|
| Unmanaged C++ exception text not accessible in C# ? | 18 Oct 2004 22:33 GMT | 2 |
I am adding a "plug-in" mechanism to an existing C# application. The plug-ins are to be customer-written COM objects, dynamically loaded by my C# host code. I am able to load and talk to a few different sample plugins knowing only the ProgID. I made a sample C# plugin and a ...
|
| Invoking an unmanaged exe | 18 Oct 2004 20:05 GMT | 5 |
I am just beginning to explore this area, so my question may seem ignorant. But, here goes... I am trying to design a Windows service in VB.NET that would grab a file and
|
| Error: Invalid Cast Exception? | 18 Oct 2004 15:11 GMT | 2 |
Hi people, I'm using Word automation, embedding some OLE objects into a document and then later on creating links to object within them. Anyway, the embedding phase goes through just fine. But when I attempt the second pass, accessing
|
| Marshal ** | 18 Oct 2004 14:45 GMT | 2 |
I am trying to call an unmanaged dll from a C# class. In the dll, I had a structure that looks like this: typedef struct subbuffer{ int format;
|
| This type can not be marshaled as a structure field | 18 Oct 2004 11:52 GMT | 1 |
I get the exception ====exception======= An unhandled exception of type 'System.TypeLoadException' occurred in Test.exe
|
| Delays Crossing the Managed/Unmanaged Boundary | 18 Oct 2004 04:14 GMT | 4 |
I am writing a File Manager clone and really trying hard to use all native functions. I need to use the API to set my TreeView and ListView to use the System Image List. I then use SHGetFileInfo to get the icon index and file
|
| null reference exception on DLL call in C# | 17 Oct 2004 11:25 GMT | 1 |
I'm trying to implement calls to an existing C-based DLL within a C# program. It sounds straightforward enough, but any calls to the extern functions produce a NullReferenceException. My code looks like this: [DllImport( @"e:\jbhexe\sscam.dll", EntryPoint="BAM_calcs" )] public ...
|