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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|