micky500970
Programmer
Hi,
I am hoping somebody can assist me with a problem. I have just about finished a program using VB6 and Access. I have deployed the DB file on a server which is not part of the school domain. When launching my program I received error messages. The IP in the ado connection string is \\192.168.1.99\bts\db1.mdb.
I imagine this is because the workstation is on a different domain from the server although on the same IP subnet. If i go to run and type in the above IP address i am asked for username and password. Once I have type this in my program works. Is there a way to hard code the username and password in my program.
I know it would be easier to put it on a server inside the domain but they are fully maxed and i would like to keep it outside the domain.
cheers,
mick
I am hoping somebody can assist me with a problem. I have just about finished a program using VB6 and Access. I have deployed the DB file on a server which is not part of the school domain. When launching my program I received error messages. The IP in the ado connection string is \\192.168.1.99\bts\db1.mdb.
I imagine this is because the workstation is on a different domain from the server although on the same IP subnet. If i go to run and type in the above IP address i am asked for username and password. Once I have type this in my program works. Is there a way to hard code the username and password in my program.
I know it would be easier to put it on a server inside the domain but they are fully maxed and i would like to keep it outside the domain.
cheers,
mick