🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #97

Re: VB question

#97
From: Unrecoverable Application Error
Date: Fri, 31 Jul 1992 14:14
31 lines
2062 bytes
In article <1992Jul31.104616.13026@aber.ac.uk> hrs@aber.ac.uk (Herbert Martin S
auro) writes:
+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

Yes, this is the right place to ask this!!!  There are several VB users
reading this group.

+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?
+

I don't consider myself particularly expert in VB but I'll assume that you
want to include your C object file when you compile and use some kind of
error level checker to verify completion status.  Any of you more experienced
VB users should jump in here and feel free to tell me I'm full of something!

Keith.
-- 
D.K.Higgs  DATA+@osu.edu a.k.a dhiggs@magnus.acs.ohio-state.edu  _____   __o
Ohio State University Libraries, Acquisitions Department       -----    -\<,
Continuation Acquisition Division                              ----- ( )/ ( )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\_________/~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <1992Jul31.141431.14118@magnus.acs.ohio-state.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!dhiggs
References: <1992Jul31.104616.13026@aber.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic
Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!dhiggs
From: dhiggs@magnus.acs.ohio-state.edu (Unrecoverable Application Error)
Subject: Re: VB question
Message-ID: <1992Jul31.141431.14118@magnus.acs.ohio-state.edu>
Sender: news@magnus.acs.ohio-state.edu
Nntp-Posting-Host: bottom.magnus.acs.ohio-state.edu
Organization: Another school running out of money!  Thanks George!
References: <1992Jul31.104616.13026@aber.ac.uk>
Date: Fri, 31 Jul 1992 14:14:31 GMT
Lines: 31