🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: return code from vb exe

#4103
From: MikoMako
Date: Wed, 27 Jun 2001 04:12
12 lines
1489 bytes
> How do I return value from a vb EXE file to catch by another program that
> runs it ?
> The EXE should return some value to indicate seccuss or failure.
> I need to control the returned value (assign to a parameter etc.).
> Thanks ,
>
>
If you run it under Shell("vb*.exe") then just declare a long (Dim ? As
Long) and say ? = Shell("vb?.exe") and experiment with the values a little
bit-all the versions are different, I think.

-Miko
Technical Details
Message-ID: <GRc_6.3544$e5.20742@newsfeeds.bigpond.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news.stealth.net!intgwpad.nntp.telstra.net!newsfeeds.bigpond.com!not-for-mail
References: <9h3opa$sbr$1@news.inter.net.il>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94ee,66b7638df478e427
X-Google-Attributes: gidf94ee,public
X-Google-ArrivalTime: 2001-06-26 21:13:18 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news.stealth.net!intgwpad.nntp.telstra.net!newsfeeds.bigpond.com!not-for-mail
From: "MikoMako" <mikomako2001@yahoo.com.au>
Newsgroups: free.it.visual-basic
References: <9h3opa$sbr$1@news.inter.net.il>
Subject: Re: return code from vb exe
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2462.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000
Message-ID: <GRc_6.3544$e5.20742@newsfeeds.bigpond.com>
Date: Wed, 27 Jun 2001 14:12:19 +1000
NNTP-Posting-Host: 144.134.64.12
X-Trace: newsfeeds.bigpond.com 993614310 144.134.64.12 (Wed, 27 Jun 2001 13:58:30 EST)
NNTP-Posting-Date: Wed, 27 Jun 2001 13:58:30 EST
Organization: Telstra BigPond Internet Services (http://www.bigpond.com)