Visual Basic - Ejecutar un programa desde uno de vb

Life is soft - evento anual de software empresarial
 
Vista:

Ejecutar un programa desde uno de vb

Publicado por COBRE (1 intervención) el 01/03/2001 20:42:16
ME GUSTARIA SABER SI ALGUIEN SABE COMO PUEDO EJECUTAR UN PROGRAMA DESDE UN PROGRAMA HECHO EN VISUAL BASIC 6, O SEA LA INSTRUCCIO PARA PODER EJECUTAR UN PROGRAMA EXTERNO O LO QUE SE NECESITE.
GRACIAS
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Ejecutar un programa desde uno de vb

Publicado por Diana (85 intervenciones) el 01/03/2001 21:14:08
Aqui esta un ejemplo
Dim MyAppID, ReturnValue
AppActivate "Microsoft Word" ' Activate Microsoft
' Word.

' AppActivate can also use the return value of the Shell function.
MyAppID = Shell("C:\WORD\WINWORD.EXE", 1) ' Run Microsoft Word.
AppActivate MyAppID ' Activate Microsoft
' Word.


' You can also use the return value of the Shell function.
ReturnValue = Shell("c:\EXCEL\EXCEL.EXE",1) ' Run Microsoft Excel.
AppActivate ReturnValue ' Activate Microsoft
' Excel.

Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar