🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #3331

Re: Come si f� a inserire.........Help

#3331
From: (�`�.� []V[] A L E S T O R []V[]...
Date: Sat, 24 Aug 2002 18:54
28 lines
2197 bytes
Scusami ti rompo ancora....
Ti chiedo se puoi farmi la riga di comando:
praticamente premendo il bottone di comando deve puntare nella directory del
cdrom da dove parte e cercare la cartella Instal ed eseguire il file
setup.exe.
Te ne sarei grato.
Ciao
>
> > Ok per� scusami come faccio a dire al file.exe che sto creando di
> > puntare all'interno della stessa directory del cd? Non posso mettergli
> > f e neanche g (le mie 2 unit�), altrimenti quando passo il cd a chi ha
> > unit� diverse non funzioner�.
> >
> >
>
> Prova ad usare l'API shellexecute, oppure prova:
>
> Function NormalizzaPath(ByVal NomeFile As String) As String
>     ' Normalizza il percorso
>     NomeFile = Trim(NomeFile & "")
>     NormalizzaPath = NomeFile & IIf(Right(NomeFile, 1) = "\", "", "\")
> End Function
>
> Private Sub Command1_Click()
>     Shell NormalizzaPath(App.Path) & "Nomefiledaeseguire"
>     ' esegue Nomefiledaeseguire nella cartella in cui � presente
>     ' la tua applicazione
> End Sub
Technical Details
Message-ID: <4EQ99.4817$ub2.82240@news1.tin.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mail
References: <LVI99.3200$ub2.50770@news1.tin.it> <Xns9274AC84722B1vvv@195.31.190.131> <uMN99.4158$ub2.70180@news1.tin.it> <Xns9274CD3D5A008vvv@195.31.190.131>

Show Full Headers
Complete Article Headers
X-Google-Language: ITALIAN,ASCII
X-Google-Thread: f94ee,7261b1fe1b01152b
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2002-08-24 12:05:28 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!news-out.tin.it!news-in.tin.it!news1.tin.it.POSTED!not-for-mail
From: "\(�`�.� []V[] A L E S T O R []V[] �.���\)" <malestorm.3000@libero.it>
Newsgroups: free.it.visual-basic
References: <LVI99.3200$ub2.50770@news1.tin.it> <Xns9274AC84722B1vvv@195.31.190.131> <uMN99.4158$ub2.70180@news1.tin.it> <Xns9274CD3D5A008vvv@195.31.190.131>
Subject: Re: Come si f� a inserire.........Help
Lines: 30
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: <4EQ99.4817$ub2.82240@news1.tin.it>
Date: Sat, 24 Aug 2002 18:54:56 GMT
NNTP-Posting-Host: 62.211.146.48
X-Complaints-To: newsmaster@tin.it
X-Trace: news1.tin.it 1030215296 62.211.146.48 (Sat, 24 Aug 2002 20:54:56 MET DST)
NNTP-Posting-Date: Sat, 24 Aug 2002 20:54:56 MET DST
Organization: TIN