all groups > dotnet interop > july 2007 > threads for july 8 - 14, 2007
Filter by week: 1 2 3 4 5
Adding Toolbar or Menu to Word embedded in WinForms via DSOFramer
Posted by Brian at 7/13/2007 7:15:53 PM
Hi!
We have a smart-client WinForms app that uses DSOFramer to embed MS Word as
a panel of our app.
We want to create a few commands that are specific to our app that act on
the Word document. The two most logical approaches for that are:
(1) Add a menu to the menubar for all our commands... more >>
DDE / DdeQueryNextServer
Posted by manfred_kiener NO[at]SPAM web.de at 7/12/2007 11:59:48 PM
Hello,
I have to make a DDE-Connection from dot.net (as a Client).
The DDE-Implementation from Brian Gideon (http://www.ozemail.com.au/
~markhurd/vbnetdde.zip)
works, but I still need a function to list all avaiable DDE-
applications.
I found this example in C:
http://msdn2.microsoft.com/... more >>
Marshal.PtrToStringAnsi() Memory Leak?
Posted by sabys NO[at]SPAM hotmail.com at 7/12/2007 2:38:58 PM
I've been noticing a memory leak with the following sample code
snippet. Can someone please advise.
Have a C# Winforms app with the following code on a button-click
event.
private void button1_Click(object sender, System.EventArgs e)
{
IntPtr p1 = new IntPtr(-1);
string inputStr;
Allo... more >>
Marshalling a complext structure
Posted by Asif Khan at 7/10/2007 6:35:09 PM
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 of
objects, pointers to objects etc. How to marshal that structure to... more >>
Problems creating DCOM server in C#; urgent...
Posted by czapkofan NO[at]SPAM gmail.com at 7/10/2007 2:52:24 PM
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.aspx
but, unfortunately, it seems to work only partially for us, even ... more >>
C# 2 fixed sized buffers and interop
Posted by at 7/10/2007 4:47:26 AM
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 try GetTimeZoneInformation as a starting point, partly
as I know I can get ... more >>
Marshal.QueryInterface returning E_NOINTERFACE
Posted by Heath Kelly at 7/9/2007 10:12:07 AM
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, ref clsid);
I then create a instance of Word as follows:
//5)... more >>
RegFree COM ClickOnce an PublicNotCreateable VB6 Class
Posted by Willy Van den Driessche at 7/9/2007 1:23:36 AM
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 problem :
I have created a VB6 testproject with a global multiuse class ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
|