Article View: alt.lang.basic
Article #144VB for DOS SCREEN and port access
From: Charlie A. Henze
Date: Fri, 11 Sep 1992 22:33
Date: Fri, 11 Sep 1992 22:33
53 lines
2722 bytes
2722 bytes
I have BASIC code which places a menu on the screen and
prints the input (INKEY) to a COM port.
Currently I am using this BASIC code to drive equipment in
between taking spectra and then switching back to the
spectrometer driver for another sample.
(windows is nice because it has
ability to have a number of versions of spectrometer
pgms running and
all I need to do is switch between them).
When switching from the BASIC code back to windows I
get scrambled screen in WINDOWS (screen type is incompatible
because code is written in BASIC which doesn't have EGA
graphics capability...1986 version...what did I expect???),
but it rights itself when I stop the BASIC code and
restart next time I want to use it.
To automate the process I want to eliminate the start/stop
of the code. QUESTION: Will the VB/DOS be able to produce
compiled code that can swap out the program while still running
and do something else w/o scrambled screen. I assume this just
needs compatible graphics modes btwn VB and WIN (the spectrometer
software is compiled BASIC code, and it keeps running, so I assume
I can do this w/o problems since these others were successful).
I asked MS support people and received a yes, but I don't think anyone
I talked to understood the question.
Maybe the INKEY stmt which the pgm is waiting at causes a mess?
Is it just the SCREEN statement as I expect?
Can VB/DOS fix my problem before I spend 150 or should I find another
way to automate the procedure?
Thanks in advance.
--
Charlie Henze, cah@iris.cchem.berkeley.edu
---------------------------------------------------------------------------
OLYMPIC RESULTS: Men's 4x400 Meter Relay BREAKS the records!!!
World Record 2:56.16 held by United States, 1968 & 1988
Olympic Record 2:56.16 held by Unietd States, 1968 & 1988
Gold UNITED STATES 2:55.74 *** new WR,OR ***
(Andrew Valmon 44.5, Quincy Watts 43.1,
Michael Johnson 44.7, Steve Lewis 43.7)
Silver CUBA 2:59.51
(Lazaron Martinez, Hector Herrera, Norberto Tellez, Roberto Hernandez)
Bronze BRITAIN 2:59.73
(Roger Black, David Grindley, Kriss Akabusi, John Regis)
------
4, Brazil 3:01.61
---------------------------------------------------------------------------
Technical Details
Message-ID:
<18r6rtINN3k2@agate.berkeley.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!mycenae.cchem.Berkeley.EDU!cahShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!mycenae.cchem.Berkeley.EDU!cah From: cah@mycenae.cchem.Berkeley.EDU (Charlie A. Henze) Newsgroups: alt.lang.basic Subject: VB for DOS SCREEN and port access Date: 11 Sep 1992 22:33:33 GMT Organization: University of California, Berkeley Lines: 53 Distribution: world Message-ID: <18r6rtINN3k2@agate.berkeley.edu> NNTP-Posting-Host: mycenae.cchem.berkeley.edu Keywords: VB, DOS, SCREEN, OPEN