|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Using a VB.net dll in VB6I have created a vb.net dll to connect to a serial device.
I have to use vb6 to create a plugin for an application so I made the vb.net com visisible etc. and referenced it within the vb6 project. Everying is ok and i can see the method,proprties and events no problem. The issue I have is that when the event fires the vb6 ide crashes. I stepped through the code within vb6 and the the pointer goes to the corect event sub , however when it gets to the end sub part the IDE falls over. I have used the vb.net dll within a vb.net application and it works fine. Any insights would be appreciated :) Shaun,
Your question is often asked in this newsgroup. I did a Google search for you, can you have a look at the answers yourself? http://groups.google.com/group/microsoft.public.dotnet.languages.vb/search?group=microsoft.public.dotnet.languages.vb&q=Using+a+VB.net+dll+in+VB6&qt_g=1&searchnow=Search+this+group I hope this helps, Cor
Show quote
Hide quote
"Cor Ligthert [MVP]" wrote: I had been through google several times.> Shaun, > > Your question is often asked in this newsgroup. > > I did a Google search for you, can you have a look at the answers yourself? > > http://groups.google.com/group/microsoft.public.dotnet.languages.vb/search?group=microsoft.public.dotnet.languages.vb&q=Using+a+VB.net+dll+in+VB6&qt_g=1&searchnow=Search+this+group > > I hope this helps, > > Cor > > > However I started doubting the vb.net dll and had a relook at the code. Looks like I am a idiot! I found an uncaught exception which looked like caused VB6 IDE to fall over. Fixed the problem and everything is OK. Apologies for wasting peoples time on this. Shaun
UGH, Framework goes just so far AGAIN!
forms collection? VS2005 - How do you... Help with truncating GUI Design Question URGENT: Problem when iterating through a custom collection (dictionary based) with FOR...EACH WEBREQUEST AND WEBRESPONSE PROBLEM Problem when iterating through custom dictionary based collection with FOR...EACH...NEXT Process output redirection? online help goes back in time |
|||||||||||||||||||||||