Create a simple VB Script to copy files from Server to PC?

J

Jason

How would I create a simple vb script with a GUI interface to copy
files from a fileserver to a PC.

for example, I would have a form with Radio Buttons or Check Boxes

box1 - copy prefs
box2 - copy keyboard shortcuts
box3 - copy workspace
and a RUN button

if box1 is selected:
copy \\server\share\prefs to c:\documents and settings\%username%
\myprogram\prefs
and etc. etc. for the other boxes.
 
C

Cor Ligthert[MVP]

Jason,

The difference is that a script is a something like a .Bat file (in this
case a text file with the extention .vb), you can not create those with VB
2008 Express edition,

Cor

"Jason" <[email protected]> schreef in bericht
Well I have VB 2008, express edition. I would assume vb.net
What is the diff?
 
J

Jason

Oh yes, that is what I mean, I want to create a GUI little app and not
a script I guess.
 
K

kimiraikkonen

Oh yes, that is what I mean, I want to create a GUI little app and not
a script I guess.





- Show quoted text -

Sounds like you want to use System.IO.File and System.IO.Path's
methods within a Winform project resulting as a EXE file... Plus it
would be more hintful to specify what you want to implement in your
project.

Onur Güzel
 
S

Scott M.

VBScript is an interpreted late-bound language that relies on COM.

VB .NET is an early-bound compiled language that does not rely on COM.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top