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 2003 > threads for july 8 - 14, 2003

Filter by week: 1 2 3 4 5

Hosting ActiveX Controls: .NET versus MS Java
Posted by Michel Gallant at 7/14/2003 8:24:43 PM
In MS Java, one could host ActiveX controls two different ways: - create a JCW (Java callable wrapper) and use that way - use the ActiveXControl MS Java class directly the 2nd method did not require generating a COM interop library and having to deploy it to the clients, and was quite simp...more >>

vb.net 2003 and Word Object
Posted by Mark at 7/14/2003 10:23:59 AM
My develoment machine is Win XP Pro with VS.Net 2003, framework ver 1.1. I have office 2002 installed and have a vb.net program that controls a word document. This all works great on my dev machine. My customer has some machines with Office 2002, others with Office 2000. Can I deploy one app...more >>

managed assembly dependent on unmanaged c++ dll
Posted by ravdog13 NO[at]SPAM yahoo.com at 7/12/2003 9:36:06 AM
Following is my scenario: I have a c# assembly that has a reference to managed C++ assembly. The managed C++ assembly inturn acts in part as a wrapper to unmanaged (native) c++ dll. (The unmanaged c++ dll's *.lib is included while building the managed c++ assembly) Question: How do I d...more >>

Serial Communication in C#
Posted by Guy Dillen at 7/11/2003 10:47:31 PM
Anyone has examples of urls to (good) examples of serial communication in C# Thanks. Guy ...more >>

Runtime.InteropServices.ExternalException
Posted by Jaime at 7/11/2003 11:41:04 AM
Hello, I am getting a System.Runtime.InteropServices.ExternalException thrown when i create an Image using the FromFile static function: imgTiff = Image.FromFile(strLocation); I also tried using the Bitmap Constructor, and the same exception gets thrown. I am puzzled as to why this i...more >>

Marshalling for two dimensional arrays
Posted by michael_lappin2003 NO[at]SPAM yahoo.co.uk at 7/11/2003 7:54:59 AM
I am trying to pass a VB.Net structure to a C unmanaged DLL. The C structure has the following format typedef struct MessageStruct { char Messages[100][400]; byte NumberOfMessages; } MessageStruct In VB.Net I am trying to redeclare a corresponding structure as follows Publ...more >>

Help: Asp.net applications so many people can use it.
Posted by mrwoopey NO[at]SPAM yahoo.com at 7/11/2003 7:42:01 AM
Hi, I added a new .net login (http://support.microsoft.com/default.aspx?scid=KB;EN-US;326340) and a ..net Web Report Viewer (Crystal) to our site. If we are going to potentially have many people logging in and viewing reports via the web (.net), what do I need to add to my .net app to handle ...more >>

destructor in c++ app opened from c# app
Posted by Troels at 7/11/2003 4:37:39 AM
Hi.=20 I'm developing a C# app which is starting another, old,=20 c++ app using the Proces class in .NET. I have a problem=20 with the C++ app.=20 In the destructor of the c++ app, some methods is called=20 to free some external resources to some POS hardware=20 through OPOS. But this destru...more >>



Get hands on a running outlook instance
Posted by Michael Herzog at 7/10/2003 4:07:37 PM
Hi, does someone know how to gain control over an already running instance of Microsoft Outlook (or Word or Excel or...)? My application needs to create Outlook mails and appointments. What I want to do is to check all running processes for an instance of outlook. If there is none, I can ...more >>

VB6 Interface Simulation
Posted by Shawn Ward at 7/10/2003 1:55:06 PM
I have a com+ component written in VB6. I would like to replace this component with a C# Serviced Component, but want to ensure that existing VB6 clients can call the new C# component using CreateObject(<<ProgID of the old VB6 component>>). I've attempted to map the default interface tha...more >>

wrapper-newbie
Posted by serkan ulucan at 7/10/2003 11:07:45 AM
hello, I want to wrap a COM Object, but i don't know how to. Is there any tutorial,sample code or any starting point is available? any help would be appreciated. Thanks ...more >>

PIA for ASP/IIS 4.0?
Posted by Rahul at 7/9/2003 5:00:06 PM
I am looking at the possibility of using intrinsic ASP objects in a .NET component. Is there a PIA for this?...more >>

interop with unknown types
Posted by felice pollano at 7/9/2003 2:46:49 PM
Hi all, What I'm trying to do is something that maybe is a little tricky :) Well, I'm tring to create a scripting Host Engine ( ie a conuterpart of VBScript ) creating my dll in unmanaged code, and hosting the framework inside in. My objective is tu parse on the fly the code my user supply to m...more >>

Version tab not shown of ILASM generated assembly
Posted by Markus Sawyer at 7/9/2003 11:00:47 AM
Hello, I cannot see the version tab in the properties of an assembly compiled with ILASM, even if it contains the reflection attributes (e.g. AssemblyCompanyAttribute). Am I missing something? Here is the manifest: ..assembly extern mscorlib { .publickeytoken = (B7 AA 5C 56 19 34 E...more >>

InvalidCastException in a Web Service
Posted by Andrew at 7/8/2003 6:33:13 PM
Hi all, I'm writing a Web Service that needs to use some functionality from a COM DLL that was originally written in C++ with a type library. After creating the object with something like Typelib.IMyObj Obj1 = new Typelib.MyObjClass(); the next function I call (i.e. Obj1.GetError();) Thr...more >>

.NET: garbage collection for data type returrned from COM Interop
Posted by JC at 7/8/2003 4:11:06 PM
How does garbage collection work in C# and VB.NET for data returned from COM object? For example, a COM object written in C++ returns a SAFEARRAY to C# or VB.NET, will this SAFEARRAY (mapped to type[] in C# or VB.NET) be garbage collected? Similarily, if C# or VB.NET pass SAFEARRAY to the COM o...more >>


DevelopmentNow Blog