COM callable wrapper generates "Class not registered" error when used
remotely
Fri, 8 Aug 2008 09:14:43 -0700 (PDT)
1) I created a c# class
2) i exposed it to COM
3) i create a vb script to exercise the class via DCOM using the name
of the object
this works fine calling locally on my development machine but I found
2 problems
1) when i tried to use the CCW class and register it on another
machine and call with the vb s ...
|
multiple hyperlinks in one paragraph
Thu, 7 Aug 2008 06:02:26 -0700 (PDT)
I have the following interop word paragraph with two hyperlinks
(Survey Window Size & Display). I need to process the Word document
and change the hyperlinks to HTML ... this works fine for the 'Survey
Window Size' hyperlink but hyperlink.Range.Start on the 'Display'
hyperlink seems to be too large. I must misun ...
|
How to make VB6.0 release a Managed dll ? (COM Interop)
Wed, 6 Aug 2008 08:51:01 -0700
I've made a simple C# COM object in a dll library for use in a VB6 object.
After I've finished with it I set the c# COM object to nothing, the VB6
process ends, and I detach the COM object from the VB6 process.
Further investigation shows that after ending the VB6 process the dll is
still loaded in memory.
Do ...
|
How to make VB6.0 release a Managed dll ? (COM Interop)
Wed, 6 Aug 2008 08:47:00 -0700
I've made a simple C# COM object in a dll library for use in a VB6 object.
After I've finished with it I set the c# COM object to nothing, the VB6
process ends, and I detach the COM object from the VB6 process.
Further investigation shows that after ending the VB6 process the dll is
still loaded in memory.
Do ...
|
Shell32.IShellDispatch5 in Vista
Wed, 6 Aug 2008 07:41:30 -0700 (PDT)
I'm building a C# app in VS 2008 on Vista that references the shell as
follows:
var shell = new Shell32.ShellClass();
shell.MinimizeAll();
This works fine on Vista (where I developed the app) but fails on
Windows XP because of an invalid cast to Shell32.IShellDispatch5.
Windows XP apparently has su ...
|
Renaming enum via Interop
Wed, 6 Aug 2008 05:30:03 -0700
I am looking for a way to have an enumeration that is exposed via the Interop
have a different name in COM than is specified in the managed assembly. For
example:
Given the following enumeration :
[ComVisible(true)]
public enum ABC
{
Entry1,
Entry2,
}
When I import the generated typeli ...
|
Suppress "Excel has encountered a problem" dialogs from .NET Console
app ?
Tue, 5 Aug 2008 19:45:23 -0700 (PDT)
Hi - I've got a console app which is using the interop to open Excel
workbooks and parse them.
Intermittently I get a dialog appearing "Microsoft Excel has
encountered a problem and needs to close ...". This occurs when:
this._xlApp = new Excel.Application();
... is executed.
The weird thing is that I ...
|
|
|
domainregistrierung schweiz gratis eu domain domainanbieter test de domain preis domains
Mon, 04 Aug 2008 13:26:33 -0700
domainregistrierung schweiz gratis eu domain domainanbieter test de domain preis domains
+
+
+
http://jhku.net/DOMAINS-KOSTENLOS/
http://jhku.net/DOMAINS-KOSTENLOS/
http://jhku.net/DOMAINS-KOSTENLOS/
http://jhku.net/DOMAINS-KOSTENLOS/
http://jhku.net/DOMAINS-KOSTENLOS/
http://jhku.net/DOMAINS-KOSTENLOS/
...
|
RE: Exception from HRESULT: 0x8004E005
Mon, 04 Aug 2008 15:25:27 GMT
Thanks Lars-Erik, you helped solve my poblem too, static Com objects are a pain in the butt
From http://www.developmentnow.com/g/21_2004_3_0_0_105597/Exception-from-HRESULT-0x8004E005.htm
Posted via DevelopmentNow.com Groups
http://www.developmentnow.com ...
|
What is the best way to pass a string from C++ to C# ?
Fri, 1 Aug 2008 14:15:47 -0700 (PDT)
I am writing a C++ DLL for my C# application. What is the best way
(fastest, most efficient, least likely to cause memory leakage) to
pass strings from the unmanaged C++ DLL to the C# application? For
other reasons, I need to use unmanaged C++. The strings can be in any
format on the C++ side (char *, LPWSTR, ev ...
|