You are here:

Qbasic, Quickbasic/Questions

SubjectDate AskedExpert
Can a virtual serial port be created in DOS ?10/29/2007Alex Barry
  Q: I'm looking for a program that will create a virtual com port in DOS. I have seen many applications ...
  A: Al. A virtual port is quite easy. dim i as integer i = FreeFile Com(2) On On Com(2) gosub ...
Sort and order10/18/2007Don Schullian
  Q: Good morning! I'm beginning to program, I have two questions: I have a dat file with a list of ...
  A: Yes, I understand you perfectly. Congratulations on your studies of English. ;) The amount of ...
PrintScreen Key10/15/2007QBasic Mac
  Q: I wrote a program in QBasic on XP and want to print the output screen. The PrintScreen key does not ...
  A: Printing is very difficult with QBasic on XP. Maybe impossible. If your screen was generated by ...
QuickBasic10/15/2007Don Schullian
  Q: Hy! I have a problem with QuickBasic on Vista, I can't open the fullscreen mode(Screen 13, and so ...
  A: The short answer is: Get rid of the flawed O/S. The long answer is that you're attempting to mix ...
ISAM Database in VBDOS10/12/2007Alex Barry
  Q: Not sure if you can help me. I am using VBDOS to make a EPoS application and I have NO idea how to ...
  A: I'm pretty sure QB4.5 and up comes with a myisam or just isam library. Check out the "lib" ...
ISAM Database in VBDOS10/9/2007Alex Barry
  Q: Not sure if you can help me. I am using VBDOS to make a EPoS application and I have NO idea how to ...
  A: Andy, Sorry for the delayed reply. For databases, you should find a library file in here: ...
qbasic10/9/2007Don Schullian
  Q: how to search for certain character in a string or an integer? example: search for all the "s" in ...
  A: No, Presh, you're in an endless loop by jumping back to 10 and re-assigning the value to A$. 10 a$ ...
qbasic10/7/2007Don Schullian
  Q: how to search for certain character in a string or an integer? example: search for all the "s" in ...
  A: This sounds like homework so I'll just give you a hint or two then, when you have some code I'll ...
Print screen Key10/4/2007Don Schullian
  Q: I wrote a horse race handicapping program years ago using the old BASIC languages. I used the print ...
  A: Robert Lee, You're trying to mix oranges and apples and are going to get nowhere trying to print ...
QB in Vista10/3/2007Alex Barry
  Q: I have some QB 4.5 applications, that run fine in XP, which use COM1 for serial communications. Do ...
  A: To the most of my knowledge, qb should theoretically run fine on vista. My suggestion would be to ...
Attaching a qbasic program screen to an email10/3/2007QBasic Mac
  Q: I want to attach a program written in quick basic to an e-mail. I would like to convert it to maybe ...
  A: Save your program as, for example, xxx.bas. Use notepad to look at it. If it is garble, return to qb ...
Bits9/23/2007Don Schullian
  Q: I am doing experiments in qbasic on printer port, I want to check the status of ports in binary ...
  A: You've set yourself quite a difficult task here! First of all, unless the system the program is ...
delete qbasic files9/8/2007Alex Barry
  Q: This may have to do with the fact that I am running qbasic on vista. I made a folder to store all ...
  A: Well, check to see when you save it what directory it is saving it under. that is most likely the ...
sorting routine9/7/2007Don Schullian
  Q: I designed a sorting routine which works, but am intrigued in finding a way to do it through the ...
  A: Sounds like you've run head-on into Windoze! You're most likely going to have to stick with your own ...
read a .jpg file8/31/2007Alex Barry
  Q: how i read a .jpg fail with C++ tanx ANSWER: Hello Although this is the Basic section, luckily I ...
  A: This is begining to sound like a homework-type question. I'll point you in the right direction, but ...
read a .jpg file8/30/2007Alex Barry
  Q: how i read a .jpg fail with C++ tanx
  A: Although this is the Basic section, luckily I know c++. The easiest way is to use a library. ...
Reading an interrupt8/28/2007Don Schullian
  Q: I'm running QBASIC on a dedicated machine that runs only DOS. A TSR program reads and decodes data ...
  A: First of all you've got the wrong programming language to mess with interrupts with. You'll want ...
Reading an interrupt8/28/2007Alex Barry
  Q: I'm running QBASIC on a dedicated machine that runs only DOS. A TSR program reads and decodes data ...
  A: Neil well, there are a few things you'll need. I'll admit after looking for some answers, I still ...
blank screen using Alt-Enter8/24/2007Don Schullian
  Q: I have put qbaisc on a 2.4 gig machine running windows 2000. When I use the alt-enter command to ...
  A: Getting DOS to run correctly under Windows has always been a bit a crap shoot. I don't think your ...
searching for data8/13/2007Don Schullian
  Q: how do i search for variables and data stored on file and is it possible for qbasic to play music
  A: Easy question first: QBasic can play "music" easily through the PC speaker using the SOUND command. ...
QuickBasic program won't run in XP8/8/2007Don Schullian
  Q: Don, I have a process model that was written in QuickBasic 4.5 some years ago, and while we have ...
  A: Sorry, can't do much for you. I've not written any DOS code in a decade. I know that XP can be a bit ...
Ini Files with QuickBasic8/7/2007Alex Barry
  Q: I have 2 questions. Question1 How can I read in a ini file in to my program? I need to use a ini ...
  A: QBserial merely communicates with serial ports. You should be able to read status's without using a ...
Ini Files with QuickBasic8/6/2007Alex Barry
  Q: I have 2 questions. Question1 How can I read in a ini file in to my program? I need to use a ini ...
  A: Hey there, Andy, I'll try my best to answer your questions. First, to read ini files, you'll have ...
help please7/27/2007Don Schullian
  Q: PROBLEM 7. File Processing:(very similar to your Home work in chapter 13) 1) Create a file called ...
  A: You didn't say what the "problem" is so I'm going to take a shot here. You're not writing the ...
Enter key ascii code7/26/2007Alex Barry
  Q: I am having trouble finding what the ascii key code is for the enter key. I am trying to use the ...
  A: Alex. You're in luck; ASCII codes are quite easy in QBasic. There are two main functions you should ...
Program start7/25/2007Don Schullian
  Q: i am new to qbasic and am still learning how to use it. this is an example of a program i should try ...
  A: ;) Ok.. what you've got here is homework and we don't do homework but I will help you out all I ...
How to unlock old GWBasic code7/23/2007Don Schullian
  Q: I have a few modules of GwBasic code from 1982 that I need to convert to VBA in order to bring the ...
  A: Allan, Looong time since I've used this one so I went looking on the net and found the answer(s) ...
How can I set a high-intensity color background in the text mode in QBasic, QuickBasic?:7/19/2007Alex Barry
  Q: How can I set a high-intensity color background in the text mode in QBasic, QuickBasic? I want: ...
  A: Sorry for the delay. I was sure I already answered this, but I guess I didn't. Oh well. Here we ...
How can I set a high-intensity color background in the text mode in QBasic, QuickBasic?:7/19/2007Don Schullian
  Q: How can I set a high-intensity color background in the text mode in QBasic, QuickBasic? I want: ...
  A: IIRC (and it has been a looooong time) Qbasic only accepts inline ASM instructions to access ...
Basic References7/17/2007Don Schullian
  Q: My father, who is now 86, has been using BASIC to write mini programs (games, calendars, etc) since ...
  A: I fully understand his problem! ;) I, too, have been around since Commodore days and, to tell the ...
COM1 communication in QuickBasic4.57/15/2007Alex Barry
  Q: I am writing a very large program in QuickBasic (~2100 lines) and I am having problems with a ...
  A: again, I've done some more snooping around for information about qb com port routines. I found a ...
COM1 communication in QuickBasic4.57/13/2007Alex Barry
  Q: I am writing a very large program in QuickBasic (~2100 lines) and I am having problems with a ...
  A: Hey, Andrew, Using serial ports and such is a little tricky in QBasic, but not impossible. I ...
qbasic program7/12/2007QBasic Mac
  Q: It has been a while, but I have another little lotto program I'd like to get some help with since I ...
  A: I'm guessing you mean that in response to the prompt How many times to run before stopping? you ...
qbasic program7/11/2007QBasic Mac
  Q: It has been a while, but I have another little lotto program I'd like to get some help with since I ...
  A: SCREEN 0 DO COLOR 12, 0 CLS LOCATE 1, 2: PRINT CHR$(201); STRING$(38, 205); CHR$(187); FOR ...
qbasic program7/10/2007QBasic Mac
  Q: It has been a while, but I have another little lotto program I'd like to get some help with since I ...
  A: I think the idea of this forum is for you to post your program here so future researchers can see ...
string manipulation6/14/2007QBasic Mac
  Q: I need a program to output all possible permutations of a word of x length (i.e. all permutations of ...
  A: DECLARE SUB Permutations (ff AS INTEGER, c AS STRING) CONST File = "scrn:"' Make this a file if ...
programming6/13/2007QBasic Mac
  Q: Write a basic program with a junior school boy in mind as the user, sitting at the terminal keyboard ...
  A: If you like this answer, remember to give me a good rating! Mac [code] DECLARE FUNCTION GetRange% ...
GW.BASIC6/2/2007Don Schullian
  Q: i have saved my programs in my hard disk but now i want all that program saved in floppy drive ...
  A: Sorry but I can't tell you where the .BAS files are. I can only suggest that you look in the same ...
hi6/2/2007Don Schullian
  Q: what meain is qbasic?
  A: QBasic was a type of programming language that was given, free, by MicroSoft, along with DOS and old ...
Commodore BASIC6/1/2007Don Schullian
  Q: I am just learning how to program on a commodore 64; this computer uses the standard BASIC 2.0(i.e ...
  A: You're falling afoul of data types in the line 30 and maybe even in the DATA statements. 30 READ ...

Page:  Previous  | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10  |  Next      All

Qbasic, Quickbasic

All Answers


Answers by Expert:


Ask Experts

Volunteer


Alex Barry

Top Expert on this page

Expertise

I have been a qbasic programmer since 2000, creating games, minor libraries and various small programs. I have experience using interrupts, graphics, file input/output, the mouse cursor, and using libraries. I have also learned FreeBASIC, QB64, c/c++, python, lua, php and html.
I do not claim to be an absolute authority in any language, but I don't mind looking things up and learning with you.

Experience

I have been programming in *Basic dialects since 2000, as mentioned in my expertise. After a year of QBasic, I learned C and C++, and dabbled a little in ASM (I don't program in ASM - I literally just played around to see how things work). When QB64 and FreeBASIC were released, I played with those languages. At the time, FreeBASIC offered more functionality and I sided with that language for a while. During that time, while I was learning new languages, that I would see what scripting languages are available, where I took up python and lua. I started to notice a staleness to QB64's development (which I kept tabs on from time to time), and am now trying to be active in it's community and maybe in it's development in the future. Currently, I am only active on the QB64.net forums, but I appear on occasion on FreeBASIC.net's forums as well.

Education/Credentials
Highschool - 2007

©2012 About.com, a part of The New York Times Company. All rights reserved.