|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
Can somebody help me to inform me how to link .exe application in vb? Example; When user click the button, Video.avi will be display. Thank you... |
|
#2
|
|||
|
|||
|
Hi,
You have several options to open up another exe file (or just any registred filetype in windows). The easiest way is to look at the Shell function. Next comes an API solution, with the "CreateProcesEx" api (not recommended most of the times, unless you damn well know what you do). And the third, if you always need to play AVI files, make use of a component so you can play the file in your application (looks nifty, spawning a mediaplayer from your app just to play a movie is kinda amateuristic). Hope this is of help. Grtz.© M. |
|
#3
|
|||
|
|||
|
i have a very good idea
i hope that you know how to use api functions. use the API function shellexecute(<filename>) and that's it. |
|
#4
|
|||
|
|||
|
HI BUD!! I CAN HELP U.ALL IS THAT IST SELECT "WINDOWS MEDIA PLAYER " CONTROL FROM "COMPONENTS" BY PRESSING "CTRL+T" IN VB.NOW IT APPEARS ON YOR TOOLBOX DRAG IT ONTO THE FORM .CHECK IT'S PROPRTIES.THERE 'ILL B A 1 "URL" TYPE THE LOCATION OF MEDIA FILE THERE.DON'T FORGET TO GIVE EXTENSION ALSO.e.g."c:\my documents\my videos\sonic.avi" (wthout quotes)
|
|
#5
|
||||
|
||||
|
--thread closed. solution has already been given and this is three years old thread.
Last edited by Shadow Wizard : December 16th, 2007 at 08:32 AM. |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > How to open another .exe application in VB? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|