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!

Can you programatically open a dbf in a passwrd protected netwk drive?

Status
Not open for further replies.

baseballgem

Programmer
Oct 3, 2001
54
US
My assignment is to cerate a VFP8 executable that will "use" a file (which will get queried and reported on) that resides on the network drive \\indium\private\ etc.

The normal procedure is to map a drive letter to it or simply issue a use \\indium\private\history.dbf. But, this always prompts for a login and password. The entire indium server is protected thataway. Of course, I do know both it's login and password.

The objective is; when a user clicks the icon of my VFP program it will go directly to indium without having to prompt the user for the login and password. The procedure should just do it's function and get out...without the user being aware of any security issues. Is it possible to circumvent the annoying login popup?
 
Map the drive, use the dbf, close the dbf, remove the drive map. Link below includes password logic.

map a network drive
thread184-790591
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top