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

Changing a Library Reference Location in VB 6.0

Status
Not open for further replies.

iehunter

Programmer
Jul 11, 2002
4
US
I'm trying to use the HostExplorer objects in a VB 6.0 program to start a Telnet session. When I go to Project, References and click on the HostExplorer Library reference, the location shown is C:\Program Files\Novell\Lan Workplace Pro\TN5250\bin\novtrm32.EXE. However, I need it to point to HostEx32.exe, assuming this is the correct reference.

I tried using the Browse button to change the location or add a reference, however, nothing happened. Does anyone know how I can change this reference?

Thanks.
 
You might want to post this in a VB forum rather than thisVBA forum. You may get an answer here but you're far more likely to get an answer in teh VB5/6 forum

Rgds, Geoff

Yesterday it worked. Today it is not working. Windows is like that.

Please read FAQ222-2244 before you ask a question
 
Thanks, xlbo. Will do. I tried to post it earlier to the VB forum, however, the site wasn't available.
 
no probs - as I said, you may get an answer here - there's certainly some VB skills here but obviously there will be significantly more in the VB5/6 forum

Rgds, Geoff

Yesterday it worked. Today it is not working. Windows is like that.

Please read FAQ222-2244 before you ask a question
 
I just checked. The procedure to add references in VB 6.0 and VBA are identical. Browse works fine. Just change the type to look for, from the default (.dll, .ocx) to Type exe. I can browse and select an .exe in both VB and the VBE. Although of course in VB, references are under Project > References, and VBA has Tools > References.



Gerry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top