working with a 3rd party dll file in vista

A

Aussie Rules

Hi,

I am trying to use a dll provided by a third party. they assure me that it
works fine on XP, so I would assume(perhaps a silly assumption) that it
would work in Vista.

So my vb.net code needs to call the DLL, and I have not really done this
before.

Do I have to regsrvr32 the dll or just add it as a reference to my vb.net
project so that I can access it?
 
T

Tom Shelton

Hi,

I am trying to use a dll provided by a third party. they assure me that it
works fine on XP, so I would assume(perhaps a silly assumption) that it
would work in Vista.

So my vb.net code needs to call the DLL, and I have not really done this
before.

Do I have to regsrvr32 the dll or just add it as a reference to my vb.net
project so that I can access it?
 
D

DickGrier

You do need to register it if the dll is a COM dll. If the dll is a
"standard" dll, then you do not have to register it -- and, if it is a .NET
dll (.NET assembly), then you do not have to register it. So... The answer
is, maybe/it depends.

And, in general, you should be able to use it in Vista, if you can use it in
XP. The only limitation might be that you should target only x32 when you
build. All, AFAIK, based on what you have and haven't said.

Dick

--
Richard Grier (Microsoft MVP - Visual Basic) Hard & Software 12962 West
Louisiana Avenue Lakewood, CO 80228 303-986-2179 (voice) Homepage:
www.hardandsoftware.net Author of Visual Basic Programmer's Guide to Serial
Communications, 4th Edition ISBN 1-890422-28-2 (391 pages) published July
2004, Revised July 2006.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top