borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic ([IDE] How to know when VB hits a breakpoint...)Next Topic (App Shutdown) New Topic New Poll Post Reply
AndreaVB Forum : VB General : challenging question...?
Poster Message
dxbee
Level: Guest


icon challenging question...?  Archived to Disk

i was wondering how I would do the following.. If you have a moment.. code VB Script to run .vbs code that will map a drive.

The drive mapping code will use the command: net use  

for an explanation of the net use command, goto a command prompt and type: net use /?

Does anyone have an idea on where to begin or if I need to clarify?
Thanks so much,
Danielle

17-04-2002 at 05:02 PM
| Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1617
icon Re: challenging question...?  Archived to Disk

If possible, I'd have the script run a batch file (that contains the "net use" command to map the drive), which is the method that was used on SQL7 at my last place of employement.

Not sure offhand, but pretty certain that the method to making a script would depend on where it's used, and on what OS (I.E. web, SQL; NT, 9x). Mainly due to security permissions, and/or vbs extensions being blocked.

18-04-2002 at 05:56 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
king910
Level: Guest

icon Re: challenging question...?  Archived to Disk

quote:
dxbee wrote:
i was wondering how I would do the following.. If you have a moment.. code VB Script to run .vbs code that will map a drive.

The drive mapping code will use the command: net use  

for an explanation of the net use command, goto a command prompt and type: net use /?

Does anyone have an idea on where to begin or if I need to clarify?
Thanks so much,
Danielle



----
Please clarify?

sunil
22-04-2002 at 08:50 AM
| Quote Reply
AndreaVB Forum : VB General : challenging question...?
Previous Topic ([IDE] How to know when VB hits a breakpoint...)Next Topic (App Shutdown) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder