Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Launching exe's
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Robert Bull  
View profile  
 More options Dec 30 1999, 3:00 am
Newsgroups: fj.comp.lang.visualbasic
From: Robert Bull <r...@robert-bull.co.uk>
Date: 1999/12/30
Subject: Launching exe's
As a new user of visual basic, could somebody please tell me how to
launch external exe files from within my VB program.

Regards

Robert Bull
bullrob...@hotmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
M.Kondo  
View profile  
 More options Jan 2 2000, 3:00 am
Newsgroups: fj.comp.lang.visualbasic
From: "M.Kondo" <m_ko...@msc.biglobe.ne.jp>
Date: 2000/01/02
Subject: Re: Launching exe's
"Robert Bull" <r...@robert-bull.co.uk> wrote in message

news:386AA8D5.ADB7C03F@robert-bull.co.uk...

> As a new user of visual basic, could somebody please tell me how to
> launch external exe files from within my VB program.

WinExec API ,a piece of Win32API is useful .
I show you a sample code as follows.
(VB6.0 and Windows98 are installed in my PC.)

'The declaration of Win32API

Private Declare Function WinExec Lib "kernel32" Alias "WinExec"  _
(ByVal lpCmdLine As String, ByVal nCmdShow As Long) As Long
.

Private Sub Command1_Click()
'If you click a Command1 button,"Calc.exe" will be launched
    Const SW_NORMAL = 1
    Call WinExec("c:\windows\calc.exe", SW_NORMAL)
End sub

--
------------------------------
 KONDO , Makoto
m_ko...@msc.biglobe.ne.jp
------------------------------


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »