Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 ActiveX EXE not exiting after call from VB.NET

Status
Not open for further replies.

Clairvoyant1332

Programmer
May 21, 2003
147
US
I have an EXE (given to me from a vendor) that exposes some COM components which was written in VB6. I'm accessing this COM object in VB.NET. If I do the following in my VB.NET code:
Code:
sub callobj()
  dim myobj as vendor.comobject
  myobj = new vendor.comobject
  myobj.function_call()
  myobj = nothing
end sub
I find that the vendor's COM EXE is still running, which I assume it shouldn't be, even after the object instance is set to nothing and the variable goes out of scope. However, if I use the vendor's test program, also written in VB6, the COM EXE exits after.

Is this a issue with .NET vs COM, or am I missing something?

Dennis
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top