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

Problem when executing in other machines

Status
Not open for further replies.

simma

Programmer
Sep 11, 2001
398
US
Hello
I made an executable to my project with vb6 and crystal 7.o it works fine on my machine but in other machines it gives error.'Unable to log on to server'.I used logon server method.Here is what I used.
With crptbid
.LogOnServer "PDSSQL.DLL", "server", "database", "user", "passwrd"
.ReportFileName = "H:\RES_COLL\vb\reports\Bid.rpt"
.Destination = crptToWindow
.Action = 1
End With
Thanx
 
Try .LogOnServer "pdsodbc.dll", "server", , "userid", "password"
I use this when accessing an Oracle database.


Also, are the users mapped to the same drive as you are for the report location?
 
Thanks jcalcoa
Yes the users are set to same loaction.I will try ur code
Thanx
 
Thanks jcalcoa
Yes the users are set to same loaction.I will try ur code
Thanx
 
Thanks jcalcoa
Yes the users are set to same location.I will try ur code
Thanx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top