Re: Taming VB

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jim Carlock (anonymous_at_10.10.com)
Date: 02/18/04


Date: Tue, 17 Feb 2004 19:54:54 -0500

Ouch.

Well you can do what I did once. Get hit by lightning and lose
a monitor and operate a DOS system without a screen for a
day. It's 100% possible, but it's nerve wracking.

Event driven only means that it responds to keyboard events
and mouse events and depending upon the control, some
other events.

DOS is event driven.

QuickBasic and QBasic and GW-BASIC can be recoded to
Visual BASIC.

It's been such a long time since I've coded VB for DOS, I've
forgotten the commands that I've used to send stuff to the
screen. If you need some help with some specific things,
there's quite a few folks here that will be willing to help out. I
think you'll be amazed.

If you need some specific information about how things are
done, ask a more specific question. Usually the way a project
starts out is by placing a textbox or a menu on a form. The
menu system is pretty easy to setup, and there's a few tricks
here and there that can be applied later to make your app
fancier.

When you start up a form, right click near the title bar and
you'll see Menu Editor. Click on that to start setting up your
menu.

Put a text box on the form.

The Text box will be named Text1 to start, if you add another
VB will ask if you'd like to create an array or not. If you create
an array, you'll reference the text boxes via Text1(0).Text,
Text(1).Text, etc.

If you don't create an array, you'll get Text2.

Hope that helps out. We all started out somewhere and I can
still remember one of my first DOS programs to generate random
lottery numbers. I just don't remember the exact VB DOS
command I used to move to different positions on the screen, but
it was an 80x40 text screen and the program I am proud of.

I remember it used an ANSI driver to give colors to text.

;-)

-- 
Jim Carlock
http://www.microcosmotalk.com/
Post replies to the newsgroup.
"Richard Owlett" <rowlett@atlascomm.net> wrote in message
news:1035cn6kf60rnfb@corp.supernews.com...
I think sequentially.
VB is inherently "event driven"
VisualBasic is aimed at a different audience.
I have several useful *.BAS files.
QuickBasic would be "nirvana" if 32 bit ;}
My system has VisualBasic installed.
How do I run programs without irrelevant and counter-productive
screens, forms, etc .... ?


Relevant Pages

  • Re: MS-DOS programs not running in XP Home
    ... When I want to run a DOS program, I start up Virtual PC, boot up into my DOS 6.22 environment, and install/run the program from there. ... > program uses DPMI memory and can run in up to 16 meg of memory. ... > a notebook and the desktop at work, and both the PROT and REAL ... > With PROT the settings in the properties screens have no effect at all ...
    (microsoft.public.windowsxp.basics)
  • Re: Is MDI a sensible choice for this app? If not, what is?
    ... The old system has a number of screens, each of which can be accessed using ... could have one 'parent' form which had the list views etc on them, ... each screen could be a child form. ... A windows form application can be very different to a DOS one. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Derivative effects.
    ... > windows comes from dos, which was designed for personal desktops. ... Thats distro specific, not linux specific. ... > scrollbar setup screens, and anyone who has ever installed an os knows ...
    (Debian-User)
  • Re: Tony Firshman: a public Thank You! :))
    ... This latter naming causes a lot of people to make the mistake of connecting that to DTR on the PC end. ... I also use a DOS version of the QL archive database program in a _small_ dos window on my 1680 x 1050 XP screen. ... and I do not want flashy screens - which is all a windows based system will offer. ... Hugs Tony! ...
    (comp.sys.sinclair)
  • Re: DIM vs. Dynamic
    ... screens open it and a number of other things that would've been a lot, ... I eventually built when screen copy version that actually did ... work off of a string array in place of that big long dimensioned array. ...
    (comp.databases.pick)