Graphic Design by Dave Sherman
#VisualBasic F.A.Q. - Revision 1
(Frequently Asked Questions)
Trademarks and Copyrights are the Property of
their Respective Authors and Companies.
Table of Contents
- Preface
- What is
#VisualBasic?
- IRC you
say. So how do I get there?
- Who made
this wonderful FAQ?
- Where can
I get a copy?
- General Questions
- What is
Visual Basic?
- Where can
I get Visual Basic?
- What is
the latest version, and is it worth upgrading?
- Why VB?
How does it compare to other languages?
- What are
some other good sources for information?
- The Voices Of Experience ( Tips
From The Pros )
- Dave Sherman
- Charles
Haeberle
- Common Questions/Issues With
Visual Basic
- Working
With Controls
- How
do I save and read to textboxes?
- How
do I stop the textbox from beeping when I
press enter?
- How
do I use multiple colors in a textbox?
- How
do you set tabs in a listbox?
- How
do I find a particular word in a textbox
and change it?
- How
do I scroll a textbox like the mIRC
channel window?
- How
do I add a VBX/OCX to my project?
- How
do I make something happen at regular
intervals?
- How
do you add/remove items from a listbox?
- How
do you add/remove items from a combobox?
- How
do you add/remove items from a listview
control?
- How
do I turn on full-row-select in a
listview control?
- How
do you create controls at run-time?
- Working
With Files
- How
do I find out how big a file is?
- How
do I delete a file?
- How
do I rename a file?
- How
do I copy a file?
- How
do I move a file?
- How
do I check to see if a file exists?
- Configuration
- How
do I read/write INI Files?
- How
do I read/write to the System Registry?
- So
which is best to use?
- Working
With Databases
- Why
shouldnt I use the Data Control?
What should I use then?
- Why
is there only one record in my recordset?
- How
do I put a picture in my database?
- How
do I add an ODBC data source in code?
- Working
With Graphics
- How
do I load/display a picture off my hard
drive?
- How
can I put a picture on a button?
- How
do I put bitmaps on menus?
- How
can I tile a bitmap?
- How
can I tile a bitmap on a MDI form?
- Working
With Multimedia
- How
do I play an animation?
- How
do I play Midis?
- How
do I play Waves?
- Miscellaneous
- How
do I generate random numbers?
- How
do I center a form on the display?
- How
do I pause a program?
- How
do I run a program from VB?
- How
do I pause until its done?
- How
do I shut it down now that its
done?
- How
can I use a variable on more then one
form?
- Is
there any way to pass a variable to
another form apart from using global
variables?
- Why
does my program not close correctly when
the user closes it? ( It still shows up
when I press Ctrl-alt-del. )
- How
do I change the size of an array?
- How
do I change the size and not lose my
data?
- How
to find the path of the executable?
- How
do I call a help file from my program?
- Why
does my program say wrong version of
runtime DLL?
- Why
can't my friend run the program I wrote?
- How
do I copy/retrieve things to/from the
clipboard?
- When
I use the IIF function, I am getting
errors in my program when I give the
program to a friend...why?
- Advanced Questions/Issues With
Visual Basic
- General
Questions
- How
do I make my window always stay on top?
- How
can I set a minimum size a user can
resize my form to?
- How
do I shutdown/restart windows?
- How
do I create/delete/change a shortcut?
- How
do I work with the dialup networking
stuff?
- How
do I make help files?
- How
do you duplicate forms like mIRC does?
- How
do I make my program not close when
someone pushes the x?
- How
do I make the mouse cursor invisible?
- Can
a VB Application be an OLE server?
- How
do I remove my program from the
tasklist/taskbar?
- Coding
Techniques
- Why
should I use Option Explicit?
- What
is passing by reference and value?
- Why
should/shouldn't I use gosub and goto?
- Windows
API
- What
is the Windows API?
- How
do I use the Windows API?
- What
is a callback?