Visual Basic Code help please

Soldato
Joined
22 Oct 2006
Posts
5,913
Trying to write a program to help us out with the amount of BAT files we have to run to run fixes ect.

I need some code to run a .bat file on the click of the mouse button.

Cheers

Warren
 
I'm currently using:

Shell("/fixsregtweaks/Sims/Simsinisetup.bat")

And its freezing the form.

The fixregtweaks folder is in the same folder as the form. So that shouldn't be the problem. Or does it need a fixed spot? EG C:\simsinisetup.bat??

I've also tried the .bat file in the same folder as the form.
 
Saying that the files are being stored on my home directory on our file server.

I'll try all the files on a memory stick.

That code above has just confused me even more :( i only have basic VB skills :(
 
You need to get the server admin to allocate that directory as safe for vb.net stuff, theres a little program to do it somewhere from MS. We had a smiler problem at school while doing our programming projects, and trying to read files.

Thing is i'm one of the server admins.

We don't want to run it off a networked drive its to be run off a memory stick for us to carry around.
 
Back
Top Bottom