Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
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 >>




DevelopmentNow Blog