You are here:

Qbasic, Quickbasic/Questions

SubjectDate AskedExpert
QuickBasic 4.54/4/2009Alex Barry
  Q: I've made quite a lot of programs in QB,they still run as EXE prog.in XP & Vista but since USB ...
  A: So, if your question is how to make that code work with a usb printer: 6000 DIM toprint AS STRING ...
leap year program for qbasic3/31/2009Alex Barry
  Q: I need to know how to write a leap year program on quickbasic but i cant figure it out will someone ...
  A: Daniel, To figure that out, check out this link: http://support.microsoft.com/kb/214019 To move ...
IP Addresses3/26/2009Alex Barry
  Q: but could you please tell me how to find other person's IP address when we are chatting with that ...
  A: Raman, You'll have to tell me how you are chatting with dos commands. Are you running a chat ...
QuickBasic 4.53/25/2009Alex Barry
  Q: I've made quite a lot of programs in QB,they still run as EXE prog.in XP & Vista but since USB ...
  A: Laurent, Yes, it is true, DOS has some trouble communicating with USB printers, but there is a ...
DOS(disk operating sysytem)3/25/2009Alex Barry
  Q: I am Raman .I wanna do DOS commands course could you please tell me that what the DOS commands ...
  A: Raman, I think a good place to start is here: http://en.wikipedia.org/wiki/List_of_DOS_commands As ...
Status Bit from serial port3/24/2009Alex Barry
  Q: I was wondering if you could help. I am using DOS for a EPoS application and I need to know how to ...
  A: Andy, I can see what you are doing, but I think to help you, I'll need to see all of your code. ...
qb45/NI-488.2/WindowsXP3/23/2009Don Schullian
  Q: I'm trying to get qb45 to talk/listen to test equipment over the gpib. The system is Windows XP and ...
  A: Sorry, I'm not going to be much help. I never messed that much with serial devices under DOS and ...
script writing3/22/2009Alex Barry
  Q: I was wondering if you could help me write a simple "run" program or script. I have Windows Vista. ...
  A: Paul, This really isn't a QBasic question, but here are a few ideas: On your desktop, do a right ...
im a begginer on Qbasic can you help me?3/15/2009Alex Barry
  Q: look i have been reading Qbasic for a little while now im on chapter 10 im having a hard time ...
  A: Greg, I have no idea what book you are on chapter 10 on, but if you want advice for creating ...
Finding modes with Qbasic3/13/2009Alex Barry
  Q: Hey i'm a teacher and have been trying to write a program that will be able to give me information ...
  A: Jason, If you wanted to get the mode (most common number, yes?), there are a few ways to do it. I ...
Passing Parameters3/12/2009Alex Barry
  Q: i hope you can give me some idea regarding my problem. Can I pass a parameter coming from the ...
  A: Again, QBasic doesn't have a built in function to see if a file exists. There are a few "hacks" to ...
Unique number generating3/10/2009Alex Barry
  Q: I read your past answers but none of them seemed to help me with my problem.(this is the first time ...
  A: Thomas, To solve this, the easiest way is to make an array that stores all the numbers you draw. ...
COMPILED QUCKBASIC FILE3/9/2009Don Schullian
  Q: I have a compiled quickbasic program that runs on my machine, the machine that created the *.exe ...
  A: Welcome, Dennis, to the Wild World of Programming! ;) That said there is no "logical" reason for ...
Passing Parameters3/9/2009Alex Barry
  Q: i hope you can give me some idea regarding my problem. Can I pass a parameter coming from the ...
  A: Jojo, What you'll want is to use the COMMAND$() built-in array. I'm not sure if this will work ...
help3/6/2009Alex Barry
  Q: I see you are an expert with qbasic, so i thought you sure were able to help me with my problem. See ...
  A: Faris, It looks like there are 3 steps to this program. First, you have to get the string name: ...
LPRINT statements2/26/2009Don Schullian
  Q: I have been using QBASIC for many years, but with my newer computers (from 1992 on)the LPRINT ...
  A: Unfortunately this is just the way things are going. I'm now using VISTA which likes DOS less than ...
Combining files2/25/2009Alex Barry
  Q: I have a series of .txt files that are all the same number rows and columns with rows separated by ...
  A: Tim, If I were you, this is how I would do it: ' x is the number of files you intend on using. ...
Quic Basic string manipulation2/24/2009Don Schullian
  Q: I am working in QB 4.5 and trying to manipulate a string that represents sample information Below is ...
  A: Hay Tim, Ok, you've done the hard work! ;) Lets say you've got your file names in an array F$() ...
Quic Basic string manipulation2/22/2009Don Schullian
  Q: I am working in QB 4.5 and trying to manipulate a string that represents sample information Below is ...
  A: The code below seems to work. I wrote routines like these decades ago but couldn't find the ...
Commodore 64 BASIC help2/20/2009Don Schullian
  Q: I've been trying to write a program for C64 BASIC that uses a custom character set. According to ...
  A: I'm taking a shot here. By poking 12 into the low nibble all you're doing is changing a portion of ...
help!!!!2/14/2009Don Schullian
  Q: sir i live in india im in class vii i need u to answer this question by to-morrow.The question ...
  A: This isn't as difficult as you may think. As we don't do homework here the best I can do for you is ...
qbasic2/11/2009Alex Barry
  Q: Me again. Thanks for your help so far. I have your code up and running. The reason I tried it was ...
  A: Hey, Bill, A thought just occured to me, this may not help though, but in the UDT for RegType, ...
From which website you download Qbasic?2/8/2009Alex Barry
  Q: From which website you download Qbasic?
  A: harsh, There used to be quite a few places to download it, but it seems that this number is ...
qbasic2/6/2009Alex Barry
  Q: Have tried your mouse code posted 11/16/2007. All I get when I run it is numerous errors in the ...
  A: Bill, Sorry, I forgot some of qb1.1's syntax is more picky about periods Here is how the code ...
qbasic2/3/2009Alex Barry
  Q: Have tried your mouse code posted 11/16/2007. All I get when I run it is numerous errors in the ...
  A: Bill, Yes, that mouse code is tailored for QBasic4.5 The reason it won't work is lesser versions ...
Records in Qbasic2/2/2009Don Schullian
  Q: Hey Don, My name is Nayeera Ali and i am doing a QBasic assignment for school and I am ...
  A: Ok if your teacher hasn't gotten into passing variables then it's best to wait for it. For now just ...
Records in Qbasic2/1/2009Don Schullian
  Q: Hey Don, My name is Nayeera Ali and i am doing a QBasic assignment for school and I am ...
  A: I think I see your problem and it should be easy to fix. The second SUB RoomAvailability should be ...
Records2/1/2009Alex Barry
  Q: Hey Alex, My name is Nayeera Ali and i am doing a QBasic assignment for school and I am ...
  A: Nayeera Ali, It looks like your program is display the room availability, but is being erased right ...
Timer control problem in VBDOS2/1/2009Alex Barry
  Q: I'm experimenting with simple machine control using VBDOS (Why VBDOS? Because I have it and because ...
  A: Graham, I, unfortunately, have not programmed in VBDOS before, so I really can't help you very much. ...
Using .bat to open a .prn in excel1/27/2009Alex Barry
  Q: I've tried this one with a couple excel experts and seem to have them stumped...maybe you can help?? ...
  A: Jody, This isn't a QBasic question, but I may be able to help you out a little bit. First, *.prn ...
problem in log in1/25/2009Don Schullian
  Q: i am developing a program called"calculate telephone bill". in this qbasic program,there is log in ...
  A: Ok, I've run through the code down to Label 10 and have found a couple of errors. I've made notes in ...
problem in reading sequencial file1/24/2009Alex Barry
  Q: i am making a qbasic program that can calculate telephone bill.i made a log in system.each user have ...
  A: He, Saif, Your problem is in this chunk of code: OPEN "C:\tdata.dat" FOR INPUT AS #1 DO UNTIL ...
problem in reading sequencial file1/23/2009Alex Barry
  Q: i am making a qbasic program that can calculate telephone bill.i made a log in system.each user have ...
  A: again, Saif, Sorry, I didn't realize, but my WHILE/WEND is a little faulty. Here is how step 6 ...
problem in reading sequencial file1/22/2009Alex Barry
  Q: i am making a qbasic program that can calculate telephone bill.i made a log in system.each user have ...
  A: Saif, Here is how to correct the code: 6 CLS COLOR 7 PRINT " PLEASE LOGIN" COLOR 9 LOCATE 11, 1 ...
Quickbasic error (Duplicate definition)1/20/2009Don Schullian
  Q: I am a self taught Quickbasic programmer having prepared a relatively complex forest inventory and ...
  A: There's no way I can be sure but it sounds like a memory issue. I'd bet that you're either running ...
Parsing data from a *.txt file1/20/2009Alex Barry
  Q: I am working with a file in a format that has spaces between characters. I need to pull out each set ...
  A: Hey, Mike, I'm really not too sure what you mean by plotting. If you are making a graph, which ...
Parsing data from a *.txt file1/19/2009Alex Barry
  Q: I am working with a file in a format that has spaces between characters. I need to pull out each set ...
  A: Mike, I think you'll want to try something like this: dim s as integer dim f as integer dim i as ...
reading lines12/28/2008Don Schullian
  Q: I'm trying to read text file say on line 1,30 to show me whats there,which is a revision number and ...
  A: Ok... this is betting that the file HAS the data on line #1 OPEN FileName$ FOR INPUT AS #FileNbr% ...
reading lines12/27/2008Don Schullian
  Q: I'm trying to read text file say on line 1,30 to show me whats there,which is a revision number and ...
  A: A "text file" is just a SEQuential file and can be read quite easily opening it like this: OPEN ...
Writing programs in BASIC12/25/2008Don Schullian
  Q: Please, I find it difficult in writing programs in BASIC using Arrays and Strings(sorting,etc) Could ...
  A: All the best sorting routines were written decades ago and like most good programmers I don't ...

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.