🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #12097

Re: Visual Basic

#12097
From: SLE
Date: Sat, 15 Dec 2001 14:22
21 lines
1569 bytes
"Regus" <regus@pandora.be> wrote in message
news:MpIS7.3683$Up1.734@afrodite.telenet-ops.be...
> Ik heb een command button en ik zou met die button een .exe-file willen
> laten starten.
> Deze code heb ik voorlopig :
>
> Private Sub cmdStart_Click()
>     Dim filestr As String
>     filestr = app.Path & "\prog.exe"
>    //openen
>
> End Sub
>
> welke code moet ik gebruiken om deze .exe-file te laten starten  ?
> En hoe zit het om een HTML-bestand te openen vanuit VB ?
>

Shell() of ShellExecute API


SLE
Technical Details
Message-ID: <01JS7.3730$Up1.559@afrodite.telenet-ops.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
References: <MpIS7.3683$Up1.734@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,40bc1e83bafa9fbf
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2001-12-15 06:22:54 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
From: "SLE" <moby.dick@sea.com>
Newsgroups: be.comp.programming
References: <MpIS7.3683$Up1.734@afrodite.telenet-ops.be>
Subject: Re: Visual Basic
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <01JS7.3730$Up1.559@afrodite.telenet-ops.be>
Date: Sat, 15 Dec 2001 14:22:52 GMT
NNTP-Posting-Host: 213.224.121.12
X-Complaints-To: abuse@pandora.be
X-Trace: afrodite.telenet-ops.be 1008426172 213.224.121.12 (Sat, 15 Dec 2001 15:22:52 MET)
NNTP-Posting-Date: Sat, 15 Dec 2001 15:22:52 MET
Organization: Telenet Internet