Office Add-ins and threads
(1 messages)
Date: Wed, 11 Jul 2007 08:15:16 -0700
Hi,
Is it possible to safely run threads in a VSTO Excel 2003 Add-in?
I run my thread as a STA thread like this:
thread = new System.Threading.Thread(TestThread);
thread.IsBackground ...
|
Walker
(1 messages)
Date: Tue, 10 Jul 2007 22:46:15 -0700
...
|
How to marshal returned unicode string pointers
(1 messages)
Date: Tue, 10 Jul 2007 16:58:45 -0700
Hi All,
>From my C# code, I am calling a native method which returns a PWSTR. I
receive the return value as a IntPtr and then marshal it to a string.
I notice that I get the correct return value if I use
Marshal.PtrToStringAnsi ...
|
Problems creating DCOM server in C#; urgent...
(2 messages)
Date: Tue, 10 Jul 2007 14:52:24 -0700
Hello,
I need to create a DCOM server in C# with a friend, to be accessible
for a client application with embedded VBS. We started with a "Hello
world" article at
http://blogs.msdn.com/adioltean/archive/2004/06/18/159479 ...
|
Excel 2000 interop: manifest and COM-error
(1 messages)
Date: Tue, 10 Jul 2007 21:38:08 +0200
Hi all,
I'm trying to add functions to Excel 2000 via VBA's Declare. I have
declared the interface in VBA and the C++/CLI-dll ("Excel-AddIn.dll")
works normally, if I use standard types and SAFEARRAY, __stdcall and a .def ...
|
Zigman
(1 messages)
Date: Tue, 10 Jul 2007 11:11:09 -0700
...
|
Marshalling a complext structure
(2 messages)
Date: Tue, 10 Jul 2007 18:35:09 +0500
Hi All,
I am working with clipboard. It stores data pointed to by using a void
pointer. I have a managed object of a complext structrue containing native
data (e.g. int, long) as well as objects of my own class and arrays ...
|
Returning a C# structure containing a nested array of structures
(1 messages)
Date: Tue, 10 Jul 2007 05:20:02 -0700
I'm having problems returning a C# structure that contains a nested array of
structures when I call it from C++6. The problem is that the structure is
returned unmodified so all the variables remain in their initialised ...
|
C# 2 fixed sized buffers and interop
(7 messages)
Date: Tue, 10 Jul 2007 04:47:26 -0700
I've just started looking into fixed sized buffers in C# 2, and I
think I must be missing something. I have no problems when not dealing
with interop, but as soon as I start using interop things go wrong.
I thought I'd ...
|
Walt
(1 messages)
Date: Mon, 09 Jul 2007 22:29:09 -0700
...
|
|
Trahktengerts
(1 messages)
Date: Mon, 09 Jul 2007 11:51:40 -0700
...
|
Marshal.QueryInterface returning E_NOINTERFACE
(7 messages)
Date: Mon, 9 Jul 2007 10:12:07 -0700
I use the ReadClassStg API call to find out what application owns a given
storage. In my test case it is Word.
//4) Determine the CLSID of the COM object that owns the IStorage.
Guid clsid = new Guid();
ReadClassStg(storage ...
|
Word: cannot open macro storage
(1 messages)
Date: Mon, 9 Jul 2007 15:23:14 +0100
Windows XP
Office 2003
Hi all,
trying 2 export data 2 a word document using the interop COM opbject.
Currently this works fine locally but when i try run the same code from
anyother CP i get this error:
"cannot open ...
|
Zigman
(1 messages)
Date: Sun, 08 Jul 2007 23:55:15 -0700
...
|
RegFree COM ClickOnce an PublicNotCreateable VB6 Class
(6 messages)
Date: Mon, 9 Jul 2007 01:23:36 +0200
Hello,
I found a post in January 2006 by "Scott" titled "Reg-free COM problem".
He describes that RegFree COM doesn't work for a component written in VB6
that uses publicNotCreateable classes.
I have exactly the same ...
|
Urgent,Plz help...Problem with playing wav msg
(1 messages)
Date: Sat, 07 Jul 2007 10:35:16 GMT
Hi,
This is my code:
private TAPI3Lib.TAPIClass m_tapi=null;
private TAPI3Lib.ITAddress m_address=null;
private TAPI3Lib.ITBasicCallControl m_call=null;
ITMediaPlayback pMediaPlayback;
//....
private ...
|
Is this a CCW interop bug: C++ event sink for C# delegate
(1 messages)
Date: Fri, 06 Jul 2007 17:07:35 -0700
Hi all,
In the process of investigating interop between .NET and COM, I have
discovered a problem that I am as of yet unable to solve. Basically,
I am trying to use a .NET delegate as an outbound interface. I am
able ...
|
TargetInvocationException and COM
(1 messages)
Date: Thu, 05 Jul 2007 22:56:31 -0000
Hello,
I have created a ComVisible class in one assembly. This class is used
to create intances of types and then return them. For example, it
exposes a function called LoadType which takes an assembly path and
the type ...
|
Calling VB.NET DLL from VC++
(10 messages)
Date: Thu, 5 Jul 2007 05:11:24 -0500
Hi,
I am trying to call VB.NET DLL from withing the VC++ project. It is failing.
Pls let me know how I can do it.
Thanks
Bhanu
...
|
Add-in for MS Access
(1 messages)
Date: Wed, 4 Jul 2007 21:42:27 -0400
I'm trying to build my first Add-in (using VB.NET) for use with MS Access.
It's set to load with Access, but when I open Access, I get a messagebox
saying:
Unable to cast COMobject of type 'System.__ComObject' to interface ...
|