i want to run *.exe file from VB application. I tried shell,but it again opens my VB application instead?
366714
This is the syntax of Shell command \n\nShell commandstring [, windowstyle]\n\nThe Shell function has 2 parameter, second parameter is optional:\n\ncommandstring :- Name of the program to execute and any required arguments or command line switches.  If the program name in commandstring doesn't include a .COM, .EXE, .BAT, or .PIF file extension, .EXE is assumed.\n\nwindowstyle :- Number corresponding to the style of the window in which the program is to be executed.  If windowstyle is omitted, the program is opened minimized with focus, the same as windowstyle = 2.\n\ndifferent values for second parameter\n\n1-Normal with focus.\n2-Minimized with focus (default).\n3-Maximized with focus.\n4-Normal without focus.\n6-Minimized without focus.\n\n\nI think you are making mistake in giving the first parameter properly
484246
A text file with the .BAT extention. \n\nIt will then be executable, and run the commands listed in the file in order via DOS prompt.
360730
No, Visual Basic is a completely seperate entity from Flash, they are not even really the same kind of program, although you can make something in VB that looks like it came from Flash, altho it would require a lot more work and use of things like the API and DirectX and the like for the graphical prowess.\nBut as for just making a Flash with VB? That's like making a fruit salad from a cow. Sorry.
701449
do you meant the shortcut on the desktop?\nyou simply go to the program folders and create another shortcut to check it out\n\nit doesnt work \nbut the programs will work if you start it using the exe files of the program\nthen\ncheck out the location of the main program exe file\nopen notepad\ntype the location of the main program exe file within double quotes\nand now save it as a file with the extension of .cmd on the desktop(note: when you save, make sure all files is selected in the save as type drop down box)\nnow try it does it work?
301283
Start it from program files .what is the error u get
258635
Install Visual Basic 6.0 on your computer and use Visual Studio's one of the wizards to create your first application. Use help. Make changes. Observe change in behavior... Try try try.
137826
you can always make a vb program that has a timer control on it. set it to raise the timer event every 400 secs. then you can play a wav file or something. you can compile this program into an exe and have it run in your computer all day long. you can even make it everytime you start your computer by placing a shortcut on the start menu > programs > startup folder.\n\nhope this helps...
125384
You haven't pointed out which version of Visual Studio you use but here are the choises:\n\nVB6 - Stop\nVB7 and above - System.Diagnostics.Debugger.Launch()\n\nThis method is only needed in specific cases when you cannot start the application by the studio (it need to be closed). When these commands are executed, a debugger will be launched even your studio is closed. They are equivalent to asm { int 3; } Otherwise you can just insert a breakpoint in your source and start the application :)
1165905
Public Sub Command1_Click()\nIf Option1 then \nform1.show\nelse\nform2.show\nend if\nEnd Sub\n\nyou can make web applications with vb, check the types of project you can create with it. (the New... command)
489133
If you have a ".exe" file, just put the name, without the ".exe", inside the batch file wherever you want to call it from.
65186
Do you mean that you want to combine 2 programs in one? I can't help you with that. Nobody can, I think ... :-$\nBut I can say that you can make an executable (.exe)archive with WinRar which can include those two exe-files you mentioned.\nTry WinRar out at www.rarlab.com.
670197
are you looking to compile this program? if so you need to have visual studio installed on your machine to build the project and have it compile the program for you. Else you should be able to google for a VB project and see what they have out there.
718097
ok if you go srart-run you don't type the name what it looks like the file has different name which it runs. so go to property of the main icon of the program and you will see the name just type that name and it will run
62810
You can't normally do it as a database file can't be changed into an executable file. You could write macros or program some Visual Basic classes and forms to have the database file contain an independent interface and save that as an executable.
15588
This may sound like a foolish question, but: are you sure you're entering a program executable file?  Just be sure you're using the right filename.\n\nAlso, depending on the program, you may need to type the entire file path to it.
1054101
PrintForm\n\nThis will print the window.\n\nOr....\n\nPrivate Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)\n\nPrivate Function CaptureScreen(ByVal myFile As String) As Boolean\nOn Error GoTo ErrorHandler\nCall keybd_event(vbKeySnapshot, 1, 0, 0)\nSavePicture Clipboard.GetData(vbCFBitmap), myFile\nCaptureScreen = True\nExit Function\nErrorHandler:\nMsgBox "Error Occured " & Err.Description\nEnd Function\n\nPrivate Sub Command1_Click()\nCall CaptureScreen("c:&#92;screencap.bmp")\nPicture1.Picture = LoadPicture("c:&#92;screencap.bmp")\nPrinter.PaintPicture Picture1, 0, 0, Picture1.Width, Picture1.Height, 0, 0, Picture1.Width, Picture1.Height, 0\nEnd Sub
858158
do you have any .exe application at the root of the CD when you emulate it ? , something like install.exe , or setup.exe,, if so , double click on it and you begin installation.