| Subject | Date Asked |
|
| put and get,,, | 11/21/2009 |
Q: Explain how to use put and get statements... got a Qbasic class, and the project is to make a ... A: again, Tory, So, Just reading over things, it sounds like you would want the graphical GET/PUT ...
|
| ROUNDING OFF NUMBERS | 11/20/2009 |
Q: Sir, i would like to ask how to round off numbers in Qbasic? for example: 9.1666667E-03 <- i need ... A: Oliver, QBasic doesn't have a built in ability to round numbers to decimal places. What I would ...
|
| printing with qbasic | 11/19/2009 |
Q: I run qbasic 4.5 in a window using xp professional. Have had no trouble printing to my xerox phaser ... A: Jack, Can I see your code for printing? In my opinion, it sounds like the problem is: 1) The code ...
|
| put and get,,, | 11/18/2009 |
Q: Explain how to use put and get statements... got a Qbasic class, and the project is to make a ... A: Tory, You'll have to be a little more specific for me to help you. There is a GET/PUT statement ...
|
| Beep | 11/18/2009 |
Q: Our teacher told us to create a program in Quick basic that used the beep statement. I don't know ... A: Henry, To make just a beep noise, in QBasic, you would do this: BEEP To make different notes, you ...
|
| USB subroutines for Quickbasic | 11/15/2009 |
Q: Alex, I am trying to write a Quickbasic program that will receive input from a MIDI keyboard that ... A: Robert, I don't think MIDI keyboards and USB combine (I may be wrong), and if they do, and you are ...
|
| Qbasic Search/Replace string in text file. | 11/13/2009 |
Q: I am zero in programming as I am a Hardware guy. I saw your posting about searching a string in ... A: K.Ayyappan, This is how I would do that: For the sake of simplicity, I'll assume you won't have ...
|
| 'Draw' Command in QuickBasic | 11/10/2009 |
Q: I couldn't understand this line- DRAW "b m0," + STR$(yp+j) + ",8 c7" Could you please explain to me ... A: Kim, The draw statement information can be found here: ...
|
| Some other questions | 10/22/2009 |
Q: I have some general questions today. Please help me with them: 1. How do you input only 1 character ... A: Shane, There might be a DOS shortcut in the directory (a pif file). If there is, delete it. Then ...
|
| Some other questions | 10/21/2009 |
Q: I have some general questions today. Please help me with them: 1. How do you input only 1 character ... A: Shane, For question#1, you can use this code: PRINT "Question? [Y/N] "; DIM answer AS STRING * 1 ...
|
| Search problem | 10/18/2009 |
Q: I'm doing a library catalog program for my school project. I'm having problem in the Search() SUB ... A: Shane, I think this is the problem with your code: FOR M = START TO LEN(C$) P$ = MID$(C$, M, 1) IF ...
|
| read statements | 10/13/2009 |
Q: could you please explain read and data statements and how to use them. i have a very usless hardass ... A: corndog (nice nickname), I can definitely help you understand READ and DATA statements. A data ...
|
| qbasic serialport on xp | 10/10/2009 |
Q: I am developing some simple robotics projects - eg remote lawnmower. I was hoping to do some simple ... A: David, I do believe you are right about windows limiting access to hardware from a dos-prompt. ...
|
| dos converting | 9/30/2009 |
Q: Is there a way to convert messages sent to me in DOS form over to windows or through another tool? I ... A: Skip, Well, this isn't the DOS section, this is the QBasic section - I'm not as well in knowledge ...
|
| array in qbasic function | 9/16/2009 |
Q: Is it possible to pass array as an argument/parameter in qbasic function? if yes, please let me ... A: Ranj, Yes, to pass an array to a SUB/FUNCTION, this is what you'd need to do: DECLARE SUB ...
|
| triangle | 9/4/2009 |
Q: how can put for loop ina program and how can creat a triangle shap with a charactor A: navin, To make a for loop, this is what you do: FOR variable% = minvalue% TO maxvalue% [STEP ...
|
| quick basic | 8/28/2009 |
Q: i have told to take out the sum of first five even numbers.. how to do... explain A: Vasudha, Well, I don't know what you mean by "take out the sum" but I can tell you have to check to ...
|
| batch file wanted | 8/19/2009 |
Q: I'm trying to make a batch file to back up new documents to a flash drive so if the hard drive goes ... A: Jim, First, I want to note that this is the QBasic section, and not a DOS-Batch section, so ...
|
| Input text file | 7/29/2009 |
Q: I'm trying to input a text file,without commas, such as - John Doe 9 $2,000,000 Bill Niceguy 12 ... A: John, First, I want to address a problem I see with your example inputted information (and how we ...
|
| hide password details | 7/12/2009 |
Q: how do i hide password details so when i input my password it displays *'s A: Rasheed, I've heard a lot of people ask this question (here, and on various qbasic forums), so I ...
|
| acquiring/controlling usb with Quickbasic | 7/6/2009 |
Q: I would like to use an old application written in quickbasic (which acquired/controlled data from ... A: Sonia, There are two options for updating the code. My first option would be to download FreeBASIC ...
|
| Number of files in a folder. | 7/3/2009 |
Q: I haven't programmed in Quick Basic in years, but dusted it off again for a quick fix I need for a ... A: Gerjan, The simplest way to do this is to use DOS inside QBasic. Here is how I would do it: ...
|
| qbasic strings | 6/25/2009 |
Q: I need help with my code, I have asked my teacher but she's not that nice and doesnt really make me ... A: Jorge, I think I can point you in the right direction. Your code for getting the length (your FOR ...
|
| What is text1.text in qbasic | 6/24/2009 |
Q: I'm taking classes for a 9th grade student from a different school. She's got the following code for ... A: Smitha, text1.text is definately a variable, but just how it is written, it looks like it is more ...
|
| QB45 Application Update | 6/22/2009 |
Q: Alex, I have an old QB45 application that I wrote in the early 90s. It uses vga screen mode 12 and ... A: James, I don't think visual basic will do what you want, however, there are a few options you could ...
|
| RAm program | 6/14/2009 |
Q: I asked a question earlier, not sure if this would help. Thxs if u can help. Im rlly clueless about ... A: Sorry it took me a while to get back to this - I've had my plate full for a little while. It's ...
|
| RAM program | 6/12/2009 |
Q: I have no clue on how to do this RAM program. Write a program that lets the LED turn on one a time ... A: Jon, I haven't tinkered with this sort of thing (LEDs...probably through the parallel port?), but I ...
|
| qbasic lotto numbers | 6/8/2009 |
Q: hey i was wondering if you could help me with my assignments. In one of them I have to print 6 ... A: Jorge, I'm glad to hear you want to be a programmer. I'll say as much that QBasic doesn't have a ...
|
| Q-Basic for Vista 64 | 5/30/2009 |
Q: is there a download available? A: Donn, The short answer is no, there is no Qbasic version that is specifically built for windows ...
|
| "printscreen" from Quick Basic | 5/29/2009 |
Q: I have a laptop with XP. At one time -- I think on an old Win98 system computer -- I used to put ... A: again, As far as I knew, the print screen function was working with qbasic in windows xp. I just ...
|
| freebasic | 5/22/2009 |
Q: I am fairly new to FREEBASIC and have not written many programmes. I had version 4.6 and updated to ... A: Hey, Bill, Okay, that makes quite a bit more sense (with the version being fbide). So, if the ...
|
| need a perfect data to save!! | 5/17/2009 |
Q: for some reason i need to store a perfect number in a file. by perfect number i mean like ... A: Saif, Sorry for the delay. 1. As far as storing a large number, if there is no decimal, use a long ...
|
| freebasic | 5/15/2009 |
Q: I am fairly new to FREEBASIC and have not written many programmes. I had version 4.6 and updated to ... A: Bill, I'm not sure what versions you are using. Right now, the compiler version is 0.20beta ...so ...
|
| Creating a Password file in Q Basic | 5/4/2009 |
Q: I've been trying to create an Email program that allows a user to sign up, and also view their ... A: Sovann, To do this sort of program, you'll need to do a lot of work on your code. First, I'm going ...
|
| Qbasic line splitting, filtering program | 5/3/2009 |
Q: Can QBasic be used to read in (or filter) a text (.txt) file that has more that 256 comma delimited ... A: Don, I think you would want something like this: DIM i AS INTEGER DIM l AS INTEGER DIM d AS ...
|
| Variable in Open | 4/27/2009 |
Q: I am trying to make a program which makes you input your name then uses open statement to make a ... A: again, Chad, I think you may benefit from some code I just posted to answer another person'sTo do ...
|
| Variable in Open | 4/24/2009 |
Q: I am trying to make a program which makes you input your name then uses open statement to make a ... A: Chad, This is a fairly common issue, but I can definately help you out. In QBasic, anything ...
|
| Program | 4/13/2009 |
Q: Yo what's up. I have a program to do. We get 2 numbers to input. Lets say the numbers are 4 and 5. ... A: Rijad, To be honest, I've never done a program to do this, but I'll see what I can do to help you ...
|
| QuickBasic 4.5 | 4/4/2009 |
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 qbasic | 3/31/2009 |
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 Addresses | 3/26/2009 |
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.5 | 3/25/2009 |
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/2009 |
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 port | 3/24/2009 |
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. ...
|
| script writing | 3/22/2009 |
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/2009 |
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 Qbasic | 3/13/2009 |
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 Parameters | 3/12/2009 |
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 generating | 3/10/2009 |
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. ...
|
| Passing Parameters | 3/9/2009 |
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 ...
|
| help | 3/6/2009 |
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: ...
|
| Combining files | 2/25/2009 |
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. ...
|
| qbasic | 2/11/2009 |
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/2009 |
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 ...
|
| qbasic | 2/6/2009 |
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 ...
|
| qbasic | 2/3/2009 |
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 | 2/1/2009 |
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 VBDOS | 2/1/2009 |
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 excel | 1/27/2009 |
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 reading sequencial file | 1/24/2009 |
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 file | 1/23/2009 |
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 file | 1/22/2009 |
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 ...
|
| Parsing data from a *.txt file | 1/20/2009 |
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 file | 1/19/2009 |
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 ...
|
| Qbasic Adding from a Data File | 12/20/2008 |
Q: I have been going at this for several hours for an assignment and I cant seem to figure out what to ... A: Ulises, Thanks for showing your work. That basically means I'll help - I only help with homework ...
|
| Follow-Up: Exporting 'live' Excel data into Qbasic 4.5 | 12/19/2008 |
Q: I am trying to analyze real-time stock market data. My data vendor allows me to export their data ... A: Hey, James, I've been doing some research on DDE, and I have some information for you. ...
|
| Exporting 'live' Excel data into Qbasic 4.5 | 12/19/2008 |
Q: I am trying to analyze real-time stock market data. My data vendor allows me to export their data ... A: James, My professional opinion is that this is beyond QBasic's natural ability. This is not to ...
|
| LPRINT | 12/19/2008 |
Q: My XP Dell computer apparently does not support LPRINT statements. Is there some way around this? ... A: Richard, All DOS will support LPRINT, and any computer running WinXP has a dos-prompt, so it's ...
|
| Convert something to binary or just that people can't edit it. | 12/12/2008 |
Q: i made a trial program which writes the PostCount to a file. but i can edit it and that's bad. is ... A: Remon, Here is the working code: TYPE RunCount date AS STRING * 10 rand AS INTEGER uname AS ...
|
| NOTICE METHOD USING MICROSOFT PROGRAMS | 12/10/2008 |
Q: I WANT USING MICROSOFT PROGRAMS WRITE MY MEMORIES BY DATE AND THE DAY OF MEMORY NOTICE A CHANGE OF ... A: Ahmed, I have no idea what you are asking - I'd love to help, but you'll need to be more clear. by ...
|
| Convert something to binary or just that people can't edit it. | 12/8/2008 |
Q: i made a trial program which writes the PostCount to a file. but i can edit it and that's bad. is ... A: Sorry, I just checked my code. You'll have to replace all of the: name AS STRING to uname AS STRING ...
|
| Convert something to binary or just that people can't edit it. | 12/8/2008 |
Q: i made a trial program which writes the PostCount to a file. but i can edit it and that's bad. is ... A: Remon, The easiest way to encrypt something that is not-edittable is to first, instead of using an ...
|
| Creating a file based on user input | 12/5/2008 |
Q: I appreciate your help in the past. I have a new issue. I want the user to tell me what the serial ... A: Mike, I'm not 100% sure what you're asking, but I may see the problem in your code. you have: Open ...
|
| saving array to file | 11/28/2008 |
Q: I would like to save a graphics array obtained from a GET statement to a disk file so that I can ... A: hey, Ross, Sorry for the delayed answer. Here is probably the best way to do things: Function ...
|
| qbasic | 11/25/2008 |
Q: i was wondering if there is a command in QBasic which will allow me to clear sections of the ... A: Mike, For text mode, you'd be best to write your own function for clearing bits of the screen. ...
|
| Qbasic Max Baud Rate | 11/14/2008 |
Q: This should be quick for you. How can I set up the baud rate in an OPEN "com1~" statement to run ... A: Reggie, I believe that QBasic has built in limits, so it's not possible to use OPEN COM to go above ...
|
| QuickBasic and QuickBasic executables don't work in Vista | 11/13/2008 |
Q: Just got a new computer with Vista and QuickBasic and executable programs from quickbasic don't ... A: David, Unfortunately, after Windows 98, Microsoft began separating Windows and the DOS platform. ...
|
| case selects in qbasic | 11/6/2008 |
Q: Ok I know you dont do homework but im asking about a question in the homework and not acutally to do ... A: Mohammed, I don't mind doing homework, as long as you show me you've done work, or if, in your ...
|
| led | 11/3/2008 |
Q: how do i program a keyboard leds to turn on /off A: zizi, If you are talking about the Num/Scroll/Caps lock LEDs, here is how to do it: DECLARE SUB ...
|
| qbasic string | 10/29/2008 |
Q: How do you create an input where the user is only allowed to enter in a letters(alpha), I tried ... A: Mohammed, To filter which keys are pressed, you'll have to create a custom input system. Here is ...
|
| Follow up question | 10/22/2008 |
Q: I changed to LOF but got compile error "Input past end of file" ANSWER: then perhaps LOF should be ... A: Hey, Mike, Again, I haven't done anything like this before, but it would be my assumption that at ...
|
| Convert from Hex to Dec from serial poll | 10/22/2008 |
Q: I am talking serially to a power supply I send a command and I get a response that says ADDR:1A ... A: Mike, I'm glad that other information did the trick. Now, as far as this problem goes, if the power ...
|
| qbasic | 10/19/2008 |
Q: Alex: Thank you for the last info that I asked you for as it works fine now. My newest problem is ... A: Gerry, If you are running QBasic from inside of Windows, simply by specifying LPrint or OPEN ...
|
| QBasic timeout in Windows Xp | 10/10/2008 |
Q: I use QBasic version 1.1 & QB4.5 in a DOS Window in Windows 98,...XP. Once in a while I program a ... A: George, My humble for the extreme delay. What sort of calculations are you making? If it is in a ...
|
| date | 10/7/2008 |
Q: i know how to print the current date from the system clock in the form DD/MM/YYYY. datemm$ = ... A: Mike, Sorry for the major delay, work piled up and I didn't get to my emails for quite a while, and ...
|
| Save computed data to disk | 10/4/2008 |
Q: IN a QBasic 3 program I have computed a series of x,y co-ordinates. I'm trying to write or print ... A: Again, I think the program has something to do with the file access handle. Instead of saying "AS ...
|
| Save computed data to disk | 10/3/2008 |
Q: IN a QBasic 3 program I have computed a series of x,y co-ordinates. I'm trying to write or print ... A: "a:\" refers to the 3.5" floppy drive. You either need to have a disk in the floppy drive, or ...
|
| OPEN RANDOM | 9/18/2008 |
Q: I programmed using Qbasic 4.5 a long time ago. Now I am getting back into it, but am having trouble ... A: Scot, I think that you are making your code a little more complex than it has to be DIM FileID AS ...
|
| qbasic tutorials | 8/26/2008 |
Q: I have taught visual basic programming for several years, but this year I am teaching a distance ... A: Kim, One thing that most people (?) would enjoy is tinkering with the graphics capabilities. I see ...
|
| Starting Excel from the Shell command | 7/28/2008 |
Q: I do a lot of Quickbasic programming. Often error reports are put into .CSV files but people find it ... A: Sunil, I don't think it's memory handling problem, probably just how QBasic Shell() works. My ...
|
| QuickBasic Graphic files in Windows XP | 7/22/2008 |
Q: Like most older retired Engineers, I have been a serious BASIC guy since 1978 Radia Shack Model ... A: Don, My humble apologies for the extremely delayed response. I have been searching for a decent ...
|
| Convert from Hex to Dec from serial poll | 7/3/2008 |
Q: I am talking serially to a power supply I send a command and I get a response that says ADDR:1A ... A: Mike, c9 = VAL( "&h" + MID$(a$,21,2) ) VAL will trim all the alpha-characters, so it's only ...
|
| greater than less than | 7/2/2008 |
Q: I have been try to figure out how to sent up this calculation,using greater then and less then. the ... A: First note, for greater/less than, here is the trick I use the wide end always points to the big ...
|
| INKEY$ not working in SCREEN 13 | 6/27/2008 |
Q: Is it normal for INKEY$ not to work in SCREEN 13? I wrote a cat and mouse game a while back ... A: Tracy, the INKEY$ function works in any screen mode, so it isn't a problem with INKEY$. Can I see ...
|
| Mouse Subprogram for QB4.5 | 6/15/2008 |
Q: I have a problem, try to use the mouse in QB4.5. The program stop this line "CALL ABSOLUTE(100)". ... A: John, QBasic 4.5 removed the native functions CALL Absolute and CALL Interuppt, so you'll need to ...
|
| QBASIC | 5/30/2008 |
Q: i wan to write a simple program in BASIC to calculate the following i. mean - efx/n ii. mean ... A: Joe, I'll help you out a bit, but... - This is definately homework, so I won't give you the ...
|
| File I/O and Subroutines | 5/29/2008 |
Q: Hey Alex, I'm working on a batch program in QBasic to do iterations on a DOS program that I don't ... A: Chris, Well, there are a few things we need to consider before we get too far. First, are you only ...
|
| i need some help! | 5/29/2008 |
Q: can you help me make a simple program that will allow the user to input a paragraph and will count ... A: Kris, You'll want to use the INSTR() function recursively. What this means is that you'll use the ...
|
| saving array to file | 5/26/2008 |
Q: I want to create a new array (C) whose elements are the result of subtracting elements of another ... A: again, Larry, I'm glad that helped you out :) As far as what programming language to take up, I'd ...
|
| saving array to file | 5/26/2008 |
Q: I want to create a new array (C) whose elements are the result of subtracting elements of another ... A: Larry, Sorry for mistaking this as homework. This is the time of year when many students have ...
|
| saving array to file | 5/23/2008 |
Q: I want to create a new array (C) whose elements are the result of subtracting elements of another ... A: Larry, This sounds suspiciously like a homework question, but I think I can help you out a little ...
|
| Alphabetical Sorting | 5/13/2008 |
Q: i have a question that how i can program the following in GWBASIC? have to take ten inputs (names) ... A: Humera, I don't program GWBasic, but I'll write something out for you, and it should work without ...
|
| Screen saver custom text | 4/17/2008 |
Q: Alex. Why can I only put no more than 20 words on my computer screen saver to see? Is it possible to ... A: Sterling, I'm afraid that this is a place to ask questions about qbasic computer ...
|
| Sequential file manpulation | 4/4/2008 |
Q: I want to develope a small module , which can Add , modifiy , find and delete records in a small ... A: arpit, I won't write a program for you, but I can give you some snippets of code and some hints on ...
|
| qbasic | 4/1/2008 |
Q: Each month I save about 50 lines of equal length to a file Y08. When I print this random file with ... A: Gerry, I can't find an immediate problem with your code, so that tells me it's probably a problem ...
|
| school | 3/27/2008 |
Q: Alex barry did you used to the elles school? A: Thomas, That is truely a random question. If you are asking if I attended an institution called ...
|
| Multimonitor | 3/18/2008 |
Q: I use to write programs in Dark Basic Proffesional, it is possible to write graphic applications ... A: Oscar, Your question had me doing quite a bit of research. Sadly, I couldn't find anything already ...
|
| random sorting | 3/12/2008 |
Q: I have a program that was written by a friend, a long time ago, for Postal purposes. It displays a ... A: Raymond, Yes, there are ways of sorting data in QBasic, but I'll need some more information about ...
|
| Data into QuickBasic | 2/28/2008 |
Q: I need to get some data into Quickbasic so I can crunch it and then display it. The data has 120 ... A: Roy, Well, you would probably use the HEX$ or BIN$ functions to do bits. I don't quite understand ...
|
| A Trillion Problems | 2/28/2008 |
Q: How would I go about labeling 27 trillion, yes 27 trillion, different individual bits of data, each ... A: Joseph, I hate to burst your bubble but QBasic would not be the language to use for this, not to ...
|
| permutations | 2/28/2008 |
Q: I am not sure how to best do permutations. I have 5 functions (a - e). Every function does something ... A: Well, the only way QBasic could do it easily is with FOR/NEXT loops, which could be quite painful ...
|
| Printing QBasic to a Serial Port | 2/26/2008 |
Q: I have been using Qbasic.4.5 since My daughter bought me an Atari keyboard that used a tape recorder ... A: again, Tony, I'm following you now :) If your printer comes with it's own set of drivers and works ...
|
| Printing QBasic to a Serial Port | 2/25/2008 |
Q: I have been using Qbasic.4.5 since My daughter bought me an Atari keyboard that used a tape recorder ... A: Tony, I'm a little confused whether or not you are using an old commadore system or something ...
|
| "Lines in quick basic | 2/12/2008 |
Q: Ive gotten to pick you to help me on how to draw lines in q-basic especially to the right of the ... A: In QBasic, to draw lines, first you need to set the Screen. For amusement, we'll use Screen 12 ...
|
| Printing through Ethernet IP Address | 1/28/2008 |
Q: We have QBasic running on several computers that are networked to our laser printer via ethernet ... A: Jeremy, Unfortunately, to solve the problem, I'd need to know the brand/series of your printer. ...
|
| Help in Qbasic | 1/19/2008 |
Q: I tought myself qbasic 7.1 and have been trying to find a way to use the mouse. So I looked for a ... A: sir, It just so happens that most of your questions have been in my recent answers to other ...
|
| File manupulation in QBasic | 1/18/2008 |
Q: I have 10 files that need to be appended together. All the files are in the same folder and have ... A: Nick, What you want to do is thankfully simple :) If this is a one time use program, this is how I ...
|
| Quick Libraries | 1/15/2008 |
Q: I am currently working on a program that is requiring a maintenance library. I have the .lib file ... A: Chad, There could be a few problems. The most likely case us that this, 'maint,' library was not ...
|
| Data file | 12/6/2007 |
Q: I am running a compiled Qbasic program on Windows 98 when it writes to my data file it is dropping ... A: freelin, this sounds like a strange problem. you'll have to show me some code so i can figure out ...
|
| language translation | 11/22/2007 |
Q: the email address is fake. i can only be contacted by snail mail at 304 4th Ave W Apt 2 Grinnell IA ... A: Keith, I don't know of any c/c++ to *basic converters. Most things that are done in c/c++ simply ...
|
| Sequential Sort | 11/20/2007 |
Q: am writing a program that will randomly generate 10 numbers between 1 and 10 and assigning them to ... A: Susan Luckily, I don't think this requires much effort, so although I can pretty much assume this ...
|
| mouse | 11/19/2007 |
Q: it's me again. I tried the mouse program you wrote but couldn't get it to work, I think some stuff ... A: Daniel. I forgot to mention you need this at the start of the program: '$include: 'qb.bi' this ...
|
| qb 4.5 mouse program & libraries | 11/16/2007 |
Q: i've been trying to make a mouse program work for qb 4.5 and i found a library, but i don't know how ... A: Daniel. Since I don't know which mouse library you are using, I can't help you with how to use it, ...
|
| connect algorithm | 11/13/2007 |
Q: How are you? I'd like to ask for your opinion regarding a programming obstacle I have. I have a ... A: Eric, I don't fully understand your problem here, but I'm going to take a wild stab at it. First ...
|
| Qbasic Random numbers to string | 11/13/2007 |
Q: I have created a bit of a difficult piece of programming for myself. What I would like to do is ... A: If you want DOS to access the internet, this is a good link to get you on the right track: ...
|
| Qbasic Random numbers to string | 11/13/2007 |
Q: I have created a bit of a difficult piece of programming for myself. What I would like to do is ... A: J, First, I'd like to thank you for asking your question clearly, and reading some of my past ...
|
| for loops | 11/7/2007 |
Q: hey, i have a quick question. if this was the program sintax: for counter = 1 to 12 step 3 ... A: Linds, Although I believe this question has "this is my homework" written all over it, i'll help ...
|
| QBX - Make EXE | 10/30/2007 |
Q: I got a weird one! When I open QBX (no switches) an open my .bas file and run it using Shift+F5 I ... A: ) My only comment is that if it doesn't work when you open it normally (no debug switch), then it ...
|
| QBX - Make EXE | 10/30/2007 |
Q: I got a weird one! When I open QBX (no switches) an open my .bas file and run it using Shift+F5 I ... A: Deltaoo, The reason you're getting an overflow is either: a) you are using arrays are have an ...
|
| Can a virtual serial port be created in DOS ? | 10/29/2007 |
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 ...
|
| ISAM Database in VBDOS | 10/12/2007 |
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 VBDOS | 10/9/2007 |
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: ...
|
| QB in Vista | 10/3/2007 |
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 ...
|
| delete qbasic files | 9/8/2007 |
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 ...
|
| read a .jpg file | 8/31/2007 |
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 file | 8/30/2007 |
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 interrupt | 8/28/2007 |
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 ...
|
| Ini Files with QuickBasic | 8/7/2007 |
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 QuickBasic | 8/6/2007 |
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 ...
|
| Enter key ascii code | 7/26/2007 |
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 ...
|
| How can I set a high-intensity color background in the text mode in QBasic, QuickBasic?: | 7/19/2007 |
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 ...
|
| COM1 communication in QuickBasic4.5 | 7/15/2007 |
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.5 | 7/13/2007 |
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 ...
|
| VBDOS / QBasic | 5/25/2007 |
Q: I am using VBDOS (build on QBaisc) and I was Hoping you could help me a bit. I need some help on ... A: Andy, Well, to use different formatted date/times, you'll need to use date serial numbers. I ...
|
| VBDOS / QBasic | 5/24/2007 |
Q: I am using VBDOS (build on QBaisc) and I was Hoping you could help me a bit. I need some help on ... A: Andy, Suprisingly, considering all of DOS's setbacks, parallel port programming is amazingly easy. ...
|
| How to convert | 5/22/2007 |
Q: How to convert "vlookup excel" in Qb formula? here an example of data: Database1.txt (main data) ... A: ) I'm still trying to piece together what you are exactly trying to do. Assuming you are trying to ...
|
| Homework help with ARRAYS | 5/13/2007 |
Q: I have to develop a program which will print out two columns of 6 numbers on screen in an array, ... A: Michael, Thanks for showing me the code you have. I only do homework help if I see your current ...
|
| Key Boards | 5/8/2007 |
Q: Is it possible to set a keyboard to type in a specific type font for capital letters only? A: Fred The way you want to do keyboard input will be a little trickier, but still possible. One way ...
|
| qbasic arrays | 5/8/2007 |
Q: i have to read two arrays and calculate numbers with data from those two arrays but i cant seem to ... A: Paul, I have no idea what the purpose of your program is, so it's tough for me to know what you're ...
|
| qbasic programming | 4/22/2007 |
Q: i have a program to do. 1.)using the following "data-list" containing twenty numbers, incorporate ... A: Paul, Unfortunately, I'm not much of a guy to do your homework for, but I can help you out a bit. ...
|
| Bug with compilation of a QB 4.5 program | 4/16/2007 |
Q: Sir, I have a large experience of using Qb 4.5 for several years without problem, with Dos to XP. I ... A: there. The problem is the flavor of windows you are using. Windows XP is DOS aware, but has the ...
|
| Regular Text Mode For Color Border? | 4/2/2007 |
Q: In GWBASIC, whenever I type in: COLOR 12,4,2 I get High Intensity Red text color over Low Intensity ... A: Graphics mode handles text very well. I suggest mode 10 or 12 for text...it's a higher resolution, ...
|
| BLOAD | 3/31/2007 |
Q: I have been using a qbasic made sprite editor to make some graphics, and it said that I can load the ... A: If you're using windows XP or vista, you will encounter many errors like that. The best solution I ...
|
| "COLOR" for GWBASIC vs. QBASIC?: | 3/28/2007 |
Q: In GWBASIC, whenever I type in: COLOR 12,4,2 I get High Intensity Red text color over Low Intensity ... A: To get QBasic to do the frame, to the extent of my knowledge, you need to do a CLS There is how I ...
|
| BLOAD | 3/28/2007 |
Q: I have been using a qbasic made sprite editor to make some graphics, and it said that I can load the ... A: there. Well, bloading an image is pretty easy, but you need to know a few things about how QB ...
|
| Sound Problem | 3/28/2007 |
Q: Ok, I have tried every single sound command on Earth, and none of them will produce any sounds! I ... A: Hey, there First, before you think about installing, you should look in your computer. Taking off ...
|
| Sound Problem | 3/26/2007 |
Q: Ok, I have tried every single sound command on Earth, and none of them will produce any sounds! I ... A: The problem is probably that you don't have a mother-board speaker, which is what qbasic's PLAY and ...
|
| Test loop prematurely exiting | 3/26/2007 |
Q: Many thanks for your answer. I have tried your suggestions but still get the same fault occuring. ... A: Well, right now, I don't have my rusty-trusty QB with me, so I can't test anything, but my ...
|
| module | 3/26/2007 |
Q: how can i define a module in VB and what is the difference between module and class A: I think you asked the right question in the wrong section of experts, but that's okay, because I ...
|
| Program prematurely exits DO_Until loop | 3/19/2007 |
Q: I have a piece of code using a DO_UNTIL loop that exits (more often than not) without satisfying ... A: Well, after reviewing your code, I think the problem is BEDMAS, the best friend of a programmer ...
|
| color printing from QBASIC | 3/8/2007 |
Q: I am using XP and QBASIC 4.5. I am perfectly able to print txt to the screen in color using COLOR ... A: Well, I'm not sure if QBasic can print in colour. It may be dependant on your printer manufacturer ...
|
| qbasic | 2/21/2007 |
Q: Sir, I really need some serious help on this one. the program is supposed to refer to a text file ... A: there From what i read, this is just using some logic (oh, and I appreciate you putting your code ...
|
| qbasic | 2/21/2007 |
Q: 1. what is the function of FOR NEXT LOOP ? 2. what is the purpose of NEXT statement ? 3. when the ... A: If you have looked up my past answers, you'd realize I don't do homework questions, especially when ...
|
| finding area of shape w/ Qbasic | 2/19/2007 |
Q: I really nead help w/ finding the area of a rectangle, triangle, and circle. Need to use input. All ... A: Although this sounds like a homework question, I'll help you out a bit, and give you some good ...
|
| quickbasic commands | 1/8/2007 |
Q: I was just looking for quickbasic commands.Can you give me some quickbasic commands with their ... A: That's a very general question that I just can't answer, but I can give you a few places to start. ...
|
| Installing QB 7.1 | 12/19/2006 |
Q: At my school we are trying to install qb 7.1 but nothing we have tried is working for us. Is there ... A: I thought I answer this question a while ago, so I apologize for the delay - must have forgotten to ...
|
| Help with qbasic | 12/15/2006 |
Q: i know this is a really amature queastion.. but how do you save a file to the c: drive. A: Well, if you want to save just any old file, you can use OPEN and CLOSE There are a few modes for ...
|
| QBasic programming | 12/6/2006 |
Q: How do I move to specific records on my random access file, like first record or last record? A: In random access, you can use the seek and/or get statement, which makes going to specific records ...
|
| Programs in Quickbasic 45 | 11/17/2006 |
Q: I have a number of scientific programs written by myself in QB 45 under Window 2000. Said programs ... A: The problem is that windows XP does not natively support DOS like windows 2000 (or lesser versions) ...
|
| qbasic | 11/12/2006 |
Q: What keyword do I use (and how do I use it)if I want to put two options for a variable. For example, ... A: Dim Gender(1 To 2) As String Dim g As Integer Gender(1) = "Male" Gender(2) = "Female" Print "1. ...
|
| Converting Integer To String | 11/4/2006 |
Q: Is it possible for Qbasic to automatically convert integer values to string? If so how is this done. ... A: well, if you just want to value in a string, you use str$() DIM foo AS INTEGER DIM bar AS STRING ...
|
| QuickBasic programmes | 11/2/2006 |
Q: I am a structural engineer and many years ago I purchased a suite of programmes written by another ... A: well, if there is a setup file, it would either be a .bat or a .exe file i don't know exactly what ...
|
| Convert Dos files to Windows | 10/13/2006 |
Q: How can I convert Dos files to Windows? A: That is a very good question. The only problem with that is that all files in windows/dos can be ...
|
| getting wrong results | 10/12/2006 |
Q: Here is what I'm trying to do. When I run the program I get a series of 55 numbers. Each number is ... A: Oh, I see what you mean. The inputted number is supposed to be searched for. So if I inputted "7", ...
|
| getting wrong results | 10/12/2006 |
Q: I'm running the program listed below but i do not get the correct results. please review the code. ... A: Well, since I have no idea what result you're looking for, I can't really help there, but I am going ...
|
| using basic on a pda | 10/10/2006 |
Q: I have been trying to find a version of basic that wil run on my windows mobile 5 pda. but cant find ... A: Unfortunately, I don't have a pda or anything like that, so I've never really looked for a *basic ...
|
| Convert quickbasic data files to flat files | 10/6/2006 |
Q: Bonjour, I trie convert a QB data file to flat file. In my files I retreve a number, date and ... A: There is no "easy" method in a sense. Basically, you'll just have to figure out how the flatfile ...
|
| need more than one selection | 9/28/2006 |
Q: I would like to get more than one selection. Here is code: cls dim item$(1 to 3) input "item 1: ", ... A: Well, first, lets reorganize that code (it's not very well organized at all) CLS RANDOMIZE TIMER ...
|
| computerised filing system using qbasic | 9/27/2006 |
Q: Sir, I need to be able to keep track of members in my association and want to develop a qbasic ... A: Hmmm... Well, I don't understand what you mean by members in your association. Saving to a file is ...
|
| complete program(not homework) | 9/25/2006 |
Q: Could you please finish this short program for me so that I do not have to re-enter the three ... A: I don't understand what you want, but it woulds like you want something like a loop Here is my ...
|
| programming | 9/18/2006 |
Q: how do i write abasic programme to compute the sum of the elements along the pricipal diagonal ofa ... A: ALrighty - this is very simple, so i'm going to go through it so you can understand all the steps, ...
|
| qbasic send to excel | 8/25/2006 |
Q: yes i have a qbasic program which we use to do our engineering, instead of printing just test like ... A: First off, does the program already send the test logs to a file? If it does, then it's a matter of ...
|
| Quickbasic 4.5 program doesn't work with USB port... | 8/24/2006 |
Q: Is there anyway for an Okidata Microline 590 dot matrix printer to recognize Quickbasic 4.5 "LPrint" ... A: Well, in the days of Qbasic, in any form, usb was just a dream, if it was even anything at all, so ...
|
| quickbasic 4.5 | 8/19/2006 |
Q: windows xp trying to compile .exe file from .bas file error message packed file is corrupt even ... A: Well, there could be many problems, and it's tough to narrow it down without more information what ...
|
| Interactive QBASIC program | 8/14/2006 |
Q: Sir, what is the QBASIC program that will compute the area of a triangle? area=1/2(bh) A: Holy sounds-like homework question, but I'm in a good mood, so i'll just give the answer straight ...
|
| program a game using qbasic | 8/8/2006 |
Q: how do i program a game using qbasic A: That is an extremely broad question, so i'll try and help you narrow it down a bit. First, what ...
|
| qbasic 4.5 | 7/16/2006 |
Q: about that login program i asked about a couple days ago, How do i stop the Ctrl-C from ending the ... A: (Sorry if I answered this on another one of your threads) You should look up the built-in command ...
|
| qbasic 4.5 | 7/14/2006 |
Q: I'm writing a sort of login program, almost done, it has a log of bad logins that is printed to ... A: I ran this code, and you'll need to fix this subroutine (fix is this source): SUB load.users ...
|
| Help with program | 5/18/2006 |
Q: Goodday, Can you please help write a qbasic program to compute the following; mean, mode and median. ... A: Please realize that I try and keep respect for anyone that asks a question here, so if you don't ...
|
| Search array | 5/10/2006 |
Q: I know you don't do homework, but I hope you can assist me in school program I'm working on. I'm ... A: The problem was that you are using an array of data, but only giving the variable ( f.name$ and ...
|
| Run & Chain Commands | 5/9/2006 |
Q: Is it possible to run a batch file [.bat] from a compiled Quickbasic program running on Windows 2000 ... A: CHAIN "./batchfile.BAT" should work to the most of my knowledge. As far as RUN goes, it is more for ...
|
| Qbasic | 3/27/2006 |
Q: Well hello and i have done my homework and i just now need somebody to help me construct a ... A: Well, I won't do the pseudo code for you, but I will gladly point you in the right direction ...
|
| Concatenate Graphic Files | 2/16/2006 |
Q: I would want please like to do the following: I have picture images in fragments of a particular ... A: Well, loading images in *basic isn't always easy at all...I'd suggested googling "QBasic image ...
|
| Q Basic | 2/15/2006 |
Q: How can I loop any command in Qbasic AND How can I put the delay of certain time everytime I put a ... A: You can do loops a few different ways, but I'll only cover 2 of them: DO LOOP ([UNTIL|WHILE] ...
|
| Find ALL drives with Quick Basic 4.5 | 11/16/2005 |
Q: I need to search for all available drives that are ready (HDs, CDs in drive, USBs plugged in, etc.). ... A: Unfortunately, how DOS works, it is almost impossible to do this with Q[uick]Basic. There may be ...
|
| Passing user defined types to procedures | 11/4/2005 |
Q: Is it possible to pass user defined types to procedures? If yes then please explain how. I am using ... A: It is quite possible, and there are no complex things you need to do :) [code] TYPE example a AS ...
|
| FILE HANDLING | 11/2/2005 |
Q: I USING QUICK BASIC EXTENDED. I CAN ONLY WRITE 16 RECORDS TO EACH OF MAY FILES. HOW CAN I GET MORE ... A: quick basic extended? i've never heard of that, but I think i can help you non-the-less, but it ...
|
| A programming problem | 10/10/2005 |
Q: r Barry I think you still remember me.I'm a freshman and I study computer at ... A: You may want to look into logarithms... i'm not sure exactly how you'd do it all, but keep this in ...
|
| FreeBasic Program | 10/1/2005 |
Q: Need help sending the trim$(lower$ contents of a text file to an argument of a command... Below is ... A: well, here's one problem in your code: <code> line input #f, a$ print a$ a1$ = lcase$(a$) ' ...
|
| clear dim | 8/18/2005 |
Q: But actually the problem I had is not a need to resize my array, I just need to run the samee ... A: I think, then, you are looking for the erase command ERASE arrayname the help-file is online: ...
|
| clear dim | 8/18/2005 |
Q: I have been working on a Qbasic program that does several different things. At the beginning I ask ... A: If you want to resize an array, it always has to be redim-ed 5 CLEAR 10 REDIM MYDATA(entries) ...
|
| window size | 8/4/2005 |
Q: I am using QBasic 4.5. When I start the program it won't open in the little black DOS window but ... A: Well, if you right-click on QB.EXE and go to the SCREEN tab, you'll see the options for (radio ...
|
| delete | 8/3/2005 |
Q: I have another quick question regarding QBasic. Is there a command in QBasic that will delete any ... A: There sure is. KILL "filename.ext" if you want to navigate around the computer, there are a few ...
|
| run program | 8/3/2005 |
Q: How are you? I would like my QBasic prgram to execute (start running) another QBasic program ... A: there is the RUN, SHELL, or CHAIN RUN will jump to another BAS file, and I think it will do ...
|
| Full address of a user's Desktop | 6/26/2005 |
Q: I want to know how I can have the FULL adress of a user's "Desktop"; for example , for a user named ... A: Assuming you are one of teh few that actually ask qbasic questoin in teh qbasic section, this is how ...
|
| Strange Program | 6/3/2005 |
Q: A how does it work B can it be modified for network usage ?Hello I have found a quite strange proram ... A: Well, check out the site I gave you: http://www.ctyme.com/intr/int.htm That should help you figure ...
|
| Hi,
I'm 13 and I am using... | 3/31/2005 |
Q: I'm 13 and I am using Microsoft QuickBasic. I've been trying to make an arkanoid game but I have not ... A: You can establish this fairly simply, with this code (you may have to adapt it a little) <code> '' ...
|
| installing problem | 1/26/2005 |
Q: I am trying to install vb 6.0 pro but i alwasy get a messege in DOS that says this ... A: What OS are you using? I'd assume NT, 2000, XP, or higher. Most those windows versions are trying ...
|
| Retreiving Port Number of an application | 1/22/2005 |
Q: I came to know that the processor gives a unique process ID and port number(to communicate through ... A: Well, this question is more VBasic than QBasic... As far as ports go, each has an address, if ...
|
| Convert DOS to Windows | 1/10/2005 |
Q: I have written many DOS QBX sports programs, available free online. Is there a simple way to convert ... A: How abouts do you want it to be converted? You can compile it, through DOS, but it will still be ...
|