🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Charlie A. Henze Fri, 11 Sep 1992 22:33
VB for DOS SCREEN and port access
#144
Author: Charlie A. Henze
Date: Fri, 11 Sep 1992 22:33
53 lines
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
---------------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads