Hello there,
as the name suggests I'm a complete novice, so apologies in advance...
I have a VB6 dll that I need to use in VS2005. After using the VS upgrade tool, the dll (which deals with scanning) works, but not as it should. Instead of opening its own scanning dialog box, I get the scanner dialog box. After doing some research, I've tried to use the tlbimp as well as the regsvr32 tools with no success (the tlb told me the dll is not a library type and the regsvr returned a message saying the DllRegisterServer entry point was not found). I don't have any idea what to do or where to look for info for beginners, and would be grateful for any suggestions.

VB6 dll to .NET- basic question
vc#tyro
Is this your VB6 dll
jayaraja
When I try to add a reference to the dll I get a message saying the reference could not be added and asking me to make sure the file is accessible and that it is a valid assembly or COM component. Any ideas
GCParris
I haven't encountered that error. How are you adding the reference
Here's the steps I took to add my dll,
From the 'project' menu
Select 'Add Reference'
Select the 'COM' tab
Select your dll and click OK
UmaMohan
Did you know that you can reference and use VB6 dlls
Andy Rogers
You do not need VB6 in order to register the file, however you may need suporting files required by the dll, ask for a setup program to install the dll - this should include the dll and all other required files and of course would register it for you.
When you can't register a VB6 dll it may well be because that dll relies on some other file. As with all VB6 stuff, you can't just copy files like you can in .Net
bpeikes
What we're talking about here is using you VB6 dll, there is no 'upgrading the VB6 code to .NET' involved with what were talking about here. If the VB6 dll is not registered on your machine then it won't appear in the com list and it can't be added as a reference.
samymelbourne
My dll doesn't appear under the 'COM' tab, so I browse for it and then get this message. Could it be that I've missed something while upgrading the VB6 code to .NET Am I supposed to place the dll in a certain folder
And again, many thanks :)
bChaudhary
Andre Odendaal
Regardless, when I try to use regsvr32 to register the vb6 dll on my computer, I'm told the DllRegisterServer entry point was not found.