| Thread | Last Post | Replies |
|
| How do do CoRegisterClassObject(... REGCLS_SINGLEUSE) in .net | 30 Apr 2007 20:00 GMT | 2 |
I have a class written in an EXE. How do I express the same behavior as CoRegisterClassObject(... REGCLS_SINGLEUSE) in .net for that class. For example, for every instance created by the server object, I would like it launch a new instance of the EXE.
|
| how to create a com object using a progid read from config file | 30 Apr 2007 20:00 GMT | 3 |
How to I create a COM object when all I have is a GUID that is read from an ext config file and w/o using interop to raw WinAPI calls. For example, I defined interface IFoo in a .net dll. I also have a ServicedComponent that derives from IFoo named FooSvr.
|
| <DispId(0)> attriubute | 30 Apr 2007 16:54 GMT | 5 |
I'm using <DispId(0)> attriubute for my COM-Interop interfaces... I have two interfaces one for events and another for properties and methods.
|
| Regasm /regfile attribute lies? | 26 Apr 2007 21:39 GMT | 3 |
I have an Office Add-In that I am distributing and installing. When I run Regasm /regfile on it, and then double-click the resultant regfile (adding it into the registry) my Add-In does not appear in the list of available automation servers on the machine. However, if I call ...
|
| Shell32 COM and other question(s) | 26 Apr 2007 13:35 GMT | 2 |
I have basically 2 question related to COM objects. 1) I am using in C# project (NET 2.0) Shell32 (so it is referenced in the project) and I am using it to retrieve details of the file. The code is: FileInfo f = new FileInfo(path);
|
| Marshaling question | 25 Apr 2007 16:50 GMT | 3 |
I would like to call a c-function with the following signature: STATUS LNPUBLIC NSFDbOpen (const char far *PathName, DBHANDLE far *rethDB); The paremeter PathName is the path to a Lotus Notes database. My PInvoke declaration looks like this (VB.NET):
|
| COM object not firing events when used in .NET apps | 25 Apr 2007 04:16 GMT | 2 |
Hi - I am trying to use the Lotus Sametime COM Toolkit (http://www14.software.ibm.com/webapp/download/preconfig.jsp?id=2007-03-15+03%3A3 5%3A07.908116R&cat=collaboration&fam=&s=c&S_TACT=104CBW71&S_CMP=) in a .NET app via COM interop. The events fire properly when used in a VB6
|
| NullReferenceException - COM Interop method fails on Windows 2003 Server - Urgent | 24 Apr 2007 23:12 GMT | 1 |
I have a dll compiled from VFP which I need to access from my ASP.NET web application build using VS .NET 2003. Everything work fine on Windows XP (dev) machines but when I deploy the solution to a 2003 Server I get errors calling the methods of the VFP class.
|
| Didn't work | 24 Apr 2007 18:52 GMT | 3 |
The article seems to be missing something. I've jerry-rigged some message boxes into my DLL that fires the event, and I get them every time. It seems to say that there are no connections although the program I have that has the event sink has advised the DLL that it
|
| com in winform of .net could not display wrong character?? | 24 Apr 2007 02:34 GMT | 2 |
sorry , my english is poor. hope you guys could understand me. i have a activex window(com), an i use this activex ctrl on a winform window(.net). The Acitvex Ctrl has en Edit Window taking character. when i input character
|
| Word Interop and Server 2003 | 23 Apr 2007 10:30 GMT | 4 |
I have a problem in deploying an ASP.NET web project with Microsoft.Interop.Word on a server with Windows Server 2003. From the developing PC, my program opens a Word template, replaces bookmarks with some text from the web page and then saves and closes the file. As many
|
| const void* | 22 Apr 2007 06:57 GMT | 4 |
From C# I am trying to call the following API (http://msdn2.microsoft.com/en-us/library/ms684063.aspx) JET_ERR JET_API JetSetColumn( JET_SESID sesid,
|
| Question about C# & non-automation compliant interfaces | 22 Apr 2007 06:46 GMT | 1 |
Hi all. I have searched on the web and usenet but haven't seen a good solution for this problem; there may not be one that meets my needs. But I thought I'd ask here; if you can help I'd appreciate it. I have a COM interface that I would like a C# object to implement. I
|
| Returning a struct with an array from a C++ dll to C# | 18 Apr 2007 20:52 GMT | 3 |
I have a C++ Dll that has a function that is being exported as shown below extern "C" __declspec(dllexport) validationResult __stdcall _validateData(double dataToMat[], int time);
|
| excel reference remains open | 18 Apr 2007 11:07 GMT | 3 |
using the code below (some parts not included), I create a new excel workbook with spreadheets. I then want to delete a spreadsheet, but a reference remains open and excel stays in task manager when
|