|
See: http://www.vb-helper.com/howto_map_network_drive.html or http://www.google.com/search?q=how+to+map+a+drive+in+VB&sourceid=firefox&start=0&start=0&ie=utf-8&oe=utf-8
If WNetAddConnection(share_name, password, _ drive_letter) > 0 _
use the password they entered into Vb. Assumptions are made that you know this exposes the password to security hacks by storing it in memory as well as swap file., so you would want to fill the variable with random characters, then clear it out, as soon as the mapping is made.
http://www.primeinc.com ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please reply to the sender of the message.
The views expressed in this correspondence may not reflect the views of Prime, Inc.
This footnote also confirms that this email message has been scanned for the presence of computer viruses. **********************************************************************
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.