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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vb.Net newbie question. Dll help required

Status
Not open for further replies.

wadey

Programmer
Jun 6, 2006
54
GB
Hi,
I've just started on a new peice of work in VB.Net 2003. I've been given all the source code (have updates to do) but cannot run the app because of missing references. I have the Dll's in question, but cannot reference them using the add reference menu. I browse to the dll's select them and press ok, and it does nothing - doesnt add them or give me any sort of reason why.

I've also tried adding them to the GAC using gacutil.exe, but it gives me an error about having a strong name.

Lastly I tried going through some steps where it uses the sn.exe to assign a strong name, and once i've assigned a public/private key pair use a 'csc' command, but i get the error message stating it cannot find that program. Help.

I am lost with this.
 
You should be able to right click on the project you want to add the references to in the solution explorer. Select 'add reference'. There should be a browse button someplace on the dialog that opens, click that and find the references. Hitting OK should add it to the project's reference list.

To make sure, you should be able to go into the project's property dialog and see the reference list there.

-Rick

VB.Net Forum forum796 forum855 ASP.NET Forum
[monkey]I believe in killer coding ninja monkeys.[monkey]
 
With some dll's I have had to go to the command line and do a regsvr32 on the dll.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top