Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 20-04-2007, 12:45 PM   #1 (permalink)
In The Zone
 
ruturaj3's Avatar
 
Join Date: Feb 2007
Location: Mumbai
Posts: 214
Default How to run .bat file in vb


Can any one tell me how to edit & execute .bat files in vb application form.
ruturaj3 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 20-04-2007, 11:21 PM   #2 (permalink)
Broken In
 
[A]bu's Avatar
 
Join Date: Oct 2006
Location: Please See Your Back...
Posts: 117
Default Re: How to run .bat file in vb

open a file in output mode having extension .bat. Now type codes...
just then use shell cmd in vb and locate the path
__________________
Do or Die
http://www.hamrobrt.com/howto-install-flash-player-in-ipad/
[A]bu is offline  
Old 22-04-2007, 09:50 AM   #3 (permalink)
Mad and Furious
 
redhat's Avatar
 
Join Date: May 2006
Location: Visual Basic 6.0
Posts: 453
Default Re: How to run .bat file in vb

Do you want to execute a batch file????

Then use this:
Code:
Dim RetVal
RetVal = Shell("C:\mybatch.bat", 1)
The general syntax to use this is :
Code:
RetVal = Shell([Pathname of EXE],[WindowStyle As vbAppWinStyle = vbMinimisedFocus])
redhat is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
i have a 2o mb rar file which becomes a 2gb iso file.how do i do it with other stuff? tango_cash Software Q&A 8 27-12-2006 10:47 PM
what is this file???? william QnA (read only) 1 06-05-2006 04:32 PM
Change File size in MB instead of GB in properties of a File rachitar QnA (read only) 4 24-11-2005 09:46 AM
How to convert a VDV (*.vob) file in to VCD (*.dat) file Choto Cheeta QnA (read only) 2 17-09-2004 01:47 AM

 
Latest Threads
- by Tenida
- by Charan
- by abhidev

Advertisement




All times are GMT +5.5. The time now is 10:00 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2