Groups | Blog | Home


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 > october 2006 > threads for october 15 - 21, 2006

Filter by week: 1 2 3 4 5

reading a VB6 Collection object in C#
Posted by bryanp10 NO[at]SPAM hotmail.com at 10/20/2006 1:00:32 PM
I'm working on a project that uses some older VB6 COM objects. One of the classes returns a Collection object, which I am having trouble reading in C#. Can someone point me in the right direction here... ComObject objItemType = new ComObject("Items"); args = new object[0]; VBA.Collection co...more >>


Recommendations please...
Posted by ssg31415926 at 10/20/2006 6:11:41 AM
Can anyone recommend a good book for starting to use P/Invoke and/or Interop? I write C# - I've never done any C++/Win32 stuff so I can use P/Invoke and Interop stuff but I don't really understand it and I'm never happy with that. SSG ...more >>

Some Interop COM object become System.__ComObject...
Posted by DeepNight at 10/19/2006 9:34:02 PM
Hi all, I used to create an Interop COM object like: AppDomain::CurrentDomain->CreateInstanceAndUnwrap(assemblyName, className, true, (BindingFlags)(BindingFlags::Default), nullptr, params, nullptr, nullptr, nullptr); And pass it pIUnknown to unmanaged side; But later, when I query the t...more >>

SetupAPI - SetupDiGetDeviceInterfaceDetail problems?
Posted by Ed Sutton at 10/19/2006 2:50:08 PM
Does anyone have any code sample declarations and calls for SetupDiGetDeviceInterfaceDetail that they could please post? Thanks in advance, -Ed...more >>

Use of an unmanaged control in C#
Posted by brosembob NO[at]SPAM yahoo.com at 10/19/2006 7:09:53 AM
Hello there, Is there a way to add .Net controls (textboxes, labels, etc.) to an unmanaged tab control, which was passed as a IntPtr argument to my Dll (written in C#). I'm writing a plugin Dll to be used with application written in unmanaged C++. The plugin has an interface function that the...more >>

Where are the FOLDERVIEWMODE constants in .Net land?
Posted by robert NO[at]SPAM oeffner.net at 10/19/2006 4:38:14 AM
Hi, I have problems setting an instance of a ShellFolderView object to thumbnail view mode. I'm programming in C# and have so far successfully brought up a ShellFolderView by navigating a WebBrowser ActiveX control to a folder on my hard drive and then assigning a ShellFolderView object to the ...more >>

(Exception from HRESULT: 0x8007007F)
Posted by Michael at 10/18/2006 2:06:21 PM
Hi all, I just started getting this annoying exception/error the past few days. "An unhandled exception of type 'System.DllNotFoundException" occured in ... "Unable to load DLL '...': The specified procedure could be found. (Exception from HRESULT: 0x8007007F) This just started happeni...more >>

Use of COM object in C# gives error 'variable or with block...'
Posted by NDE at 10/18/2006 1:43:23 PM
Hi I have a COM object that is being used by my ASP website. It is running under component services and my website is working perfectly using that object. now I was developing a mailer service in .NET for this project, and tried to use the COM object because it has a lot of functionality...more >>



Exploring unmanaged dlls
Posted by eggie5 NO[at]SPAM gmail.com at 10/18/2006 12:37:01 PM
I have a few unmanaged dlls I want to interop with using pinvoke, etc... However, these dlls are undocumented so I have no idea, what parameters the methods take, or return.. I don't even know what methods are in the dll at all! How can I peek into the unmanaged dll to see a signature of th...more >>

Serialization question
Posted by Shawn at 10/18/2006 10:32:01 AM
I have a web project that uses StateServer for the session. I also have a prolog Java DLL that is serialized. In included the dll in the project reference and ran the project. I stored a Prolog object in the session and at the end of the page processing I received the error, "Unable to seri...more >>

Override default mimetype handling in IWebBrowser2
Posted by pagerbak at 10/18/2006 4:31:02 AM
Hi My application uses an embedded Internet Explorer Control to automate some tasls in a web-application, of which I don't have control. When the user clicks a certain link, the web-server sends a redirect to a page that resonds with a JNLP file, the mimetype is application/x-java-jnlp. I ...more >>

Problem with Interop between VB6 and ASP.NET
Posted by Niklas Olsson at 10/18/2006 12:00:00 AM
Hello I have a VB6 dll that I created an interop dll for with tlbimp tlbimp database.dll /keyfile:database.snk /out:Interop_database.dll the database.snk was created with 'SN -k' and then I use "gacutil /i" to register the dll in the gac. (I can't use the private bin, because more than one app...more >>

Visual Basic Programming - Reference to fpPublishLogInTempDir uri - ADVANCED question
Posted by John.Miller at 10/17/2006 7:23:25 PM
I am writing an application inVisual Studio to ease our frontpage publishes. I have the command to publish, but I need to attach the Publish log to an email. Does anyone know how to get the publish log uri in order to attach the email? Here is the code that I am using to publish: Public F...more >>

PROBLEM: COM object registration in VS2003 setup project over Vista
Posted by Smugsboy at 10/16/2006 12:39:20 PM
Hi, Got some problems here. I have a COM object which is actually a .NET class with [ClassInterface(ClassInterfaceType.AutoDual)] attribute and strong name. I consume this COM object from unmanaged C++ code. My applications that uses this code has a VS2003 setup project which references th...more >>

IE - Set HTML in Document
Posted by James at 10/16/2006 12:06:11 PM
I need to be able to set the HTML in an instance of IE programatically. Currently I am doing this (and it works) using IHTMLDocument2.writeln(). The problem is that if the HTML contains links to external files (.js / .css etc) IE wont load them. To replicate the problem: 1. open IE at www.m...more >>

How to convert a Byte() to an IntPtr in VB
Posted by Serge BRIC at 10/16/2006 1:19:01 AM
My application, written in .NET VB, tries to get a communication port handle from a TAPI object with this code: Dim vFileHandle As Byte() = appel.GetIDAsVariant("comm/datamodem") The vFileHandle is supposed to be a file handle (an IntPtr, I suppose). How can I convert this Byte() in this I...more >>

massive bold :: interop.word
Posted by Zeljko at 10/15/2006 8:51:04 AM
VB.net 2005 express - Office Word 2003 Office 11 library => references I need to make from VB.net search in Word for these words: "tree", "bus", "car"...(complete list contains ca. 50 words) when find founds word "tree", BOLD entire Row (where is that word "tree"), search next instance of "tr...more >>


DevelopmentNow Blog