🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.lang.basic
Article #231

Re: OUT / INP in Visual Basic for Windows?

#231
From: Steven Podradchik
Date: Wed, 30 Sep 1992 22:38
31 lines
1797 bytes
>
>Does Visual Basic for Windows have the output/input to/from hardware ports
>commands OUT and INP that QuickBasic and most other basics have? Looking
>through books on VB for Windows in a bookstore I saw no mention of these
>commands.
Writing or reading directly to hardware is dangerous under Windows because
you can't be sure what other apps are doing.  Therefore, you should either:
1.  Go thru the Windows API for comm functions (our PSS people will be happy
to explain this ... actually quite easy)
2.  Use a custom control available from several vendor such as MicroHelp
and Crescent (among others)

>Are they available in the new Visual Basic for DOS?
Yes.  Every last language feature that Basic PDS has, incl. INP and OUT
work unmodified in VB/DOS.  Please keep in mind that VB/DOS has the Basic
PDS 7.1 code at its core...we didn't try to emulate QB/PDS, we built on top
of it .. like we did for VB/Win.

>
>Does Visual Basic for DOS have routines for programming mouse interaction?
Absolutely.  Forms and controls work automatically with a mouse.  You do not
write one byte of code for it.

>
>Will Quickbasic 4.5 *.QLB & *.LIB libraries work with VB for DOS?
Generally yes but you should call your vendor.  The libs need to work
with Far Strings (virtual all commercial .libs/.qlbs already do).  Your
vendor might also have enhanced versions of your current libs.

Thanks,
Steve Podradchik
Technical Details
Message-ID: <1992Sep30.223832.15077@microsoft.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!wingnut!stevepo
References: <1992Sep29.175957.30278@bas-a.bcc.ac.uk>

Show Full Headers
Complete Article Headers
Newsgroups: alt.lang.basic
Path: arc1-ca.pugleaf.net!sparky!uunet!microsoft!wingnut!stevepo
From: stevepo@microsoft.com (Steven Podradchik)
Subject: Re: OUT / INP in Visual Basic for Windows?
Message-ID: <1992Sep30.223832.15077@microsoft.com>
Date: 30 Sep 92 22:38:32 GMT
Organization: Microsoft Corporation
References: <1992Sep29.175957.30278@bas-a.bcc.ac.uk>
Lines: 34