🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #96

Re: VB question

#96
From: Herbert Martin Sauro
Date: Fri, 31 Jul 1992 10:46
19 lines
1233 bytes
Dear netters,

Now I don't know if this is the right place to ask this but I have
a problem with the shell command in visual basic. Maybe this question
has already been answered. My problem is this. We have a C application
(non-windows) which we want to run from a friendly front end written in VB. 
The C program returns a status value when it exits indicating whether all
went well or not. How does one obtain this return 
value if the C program is called from VB. The shell command returns the
task number. I also assume that both the C program and VB will be running
in parallel so how does one know when the C application has completed?

Thanks
Herb
-- 
/******************************************************************************
Herbert Sauro                                   e-mail: hrs@aber.ac.uk
Biological Sciences                              phone: +44 970 622353
Univesity College of Wales                      
Technical Details
Message-ID: <1992Jul31.104616.13026@aber.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!gdt!aber!hrs

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!gdt!aber!hrs
From: hrs@aber.ac.uk (Herbert Martin Sauro)
Newsgroups: alt.lang.basic
Subject: Re: VB question
Message-ID: <1992Jul31.104616.13026@aber.ac.uk>
Date: 31 Jul 92 10:46:16 GMT
Organization: University of Wales, Aberystwyth
Lines: 19