Re: Taming VB
From: Jim Carlock (anonymous_at_10.10.com)
Date: 02/18/04
- Next message: Petrik Salovaara: "Re: reboot timer"
- Previous message: BeastFish: "Re: Can anyone help?"
- In reply to: Richard Owlett: "Taming VB"
- Next in thread: BeastFish: "Re: Taming VB"
- Messages sorted by: [ date ] [ thread ]
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 .... ?
- Next message: Petrik Salovaara: "Re: reboot timer"
- Previous message: BeastFish: "Re: Can anyone help?"
- In reply to: Richard Owlett: "Taming VB"
- Next in thread: BeastFish: "Re: Taming VB"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|