🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #10464

Re: QUE VB5 : EXE & Parameters

#10464
From: VdA
Date: Fri, 08 Mar 2002 17:00
35 lines
1969 bytes
'LPTSTR GetCommandLine(VOID);
Private Declare Function GetCommandLine Lib "kernel32.dll" () As Long

gebruik:

    Dim command As String
    Set command = GetCommandLine

(of toch zoiets)

de groeten,
    VdA

--
-------------
In early scenes of Forrest Gump,
the camera clearly shows Lieutenant Dan's legs.
However, in later scenes,
these legs are mysteriously missing.
                                   -------------
VdA@mailandnews.com -- |< (.) |= |\|   \/.d./=\.
"TieTo" <before@after.com> wrote in message
news:cwxf8.211628$rt4.21555@afrodite.telenet-ops.be...
> Ik zou een kleine tool willen schrijven maar die exe zou ook moeten kijken
> of er paramaters worden meegegeven aan de exe (bvb : "tool.exe -parm") en
> naargelang de parameter de juist code runnen.
> Kunnen jullie mij even verder helpen hoe ik dat juist maak. Hoe ik check
op
> de meegegeven parameter e.d.
>
> Thx !
> TieTo
>
>
>
Technical Details
Message-ID: <C66i8.243162$rt4.23727@afrodite.telenet-ops.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
References: <cwxf8.211628$rt4.21555@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,e0716c80ac5e57d9
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2002-03-08 09:00:21 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
From: "VdA" <vda@mailandnews.com>
Newsgroups: be.comp.programming
References: <cwxf8.211628$rt4.21555@afrodite.telenet-ops.be>
Subject: Re: QUE VB5 : EXE & Parameters
Lines: 37
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: <C66i8.243162$rt4.23727@afrodite.telenet-ops.be>
Date: Fri, 08 Mar 2002 17:00:18 GMT
NNTP-Posting-Host: 213.224.68.29
X-Complaints-To: abuse@pandora.be
X-Trace: afrodite.telenet-ops.be 1015606818 213.224.68.29 (Fri, 08 Mar 2002 18:00:18 MET)
NNTP-Posting-Date: Fri, 08 Mar 2002 18:00:18 MET
Organization: Telenet Internet