Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 20th, 2004, 01:02 AM
Registered User
 
Join Date: Dec 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Help saving a file.

I have some code in VB.net that creates and saves a file to a generic local directory. I need to move the location of where I am saving the file onto a network. The new location will have a username and password required. How do I automatically enter the username and password in my program?

Thanks,
Mike Wegner
 
Old December 20th, 2004, 11:26 AM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

I'm not certain about this, but I think the answer is that you cannot.

If you think about it, that would be a bit of a security hole.

I believe that what the right approach is, is to have yourself added to the Access Control List with the necessary permissions to save the file.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with saving a file nelly78 .NET Framework 2.0 3 October 24th, 2008 01:09 AM
Saving Excel File tdaustin Classic ASP Basics 6 December 2nd, 2006 03:38 AM
Saving Changes to a Streamed File EJWells Other Programming Languages 0 April 17th, 2006 05:08 PM
saving a file tinybunny_8 ASP.NET 2.0 Professional 0 February 1st, 2006 05:39 PM
EXCEL question saving a file saving the the first macupryk VS.NET 2002/2003 0 January 6th, 2005 05:33 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.