Search found 95 matches

by frankiebaby
Sun Mar 26, 2017 8:22 pm
Forum: Off Topic
Topic: Hello.
Replies: 1
Views: 4203

Re: Hello.

Hello Dr. Davenstein! I suddenly remembered this forum and decided to see if I could still log in here, and much to my surprise, I could! My last visit was Sep 28, 2004. Right before I headed off to college, which explains the long absence, I suppose.
by frankiebaby
Fri Jun 25, 2004 4:16 am
Forum: QBasic / QuickBasic related
Topic: GUI Window Handling Need some help.
Replies: 4
Views: 1827

Re: GUI Window Handling Need some help.

well, it is possible, i have seen it done. There are libs that give high-res and high color with multiple screen pages. It depends on what color range you are using. check the QB help file for info on data size for that screen mode.
by frankiebaby
Tue Jun 22, 2004 2:18 am
Forum: QBasic / QuickBasic related
Topic: GUI Window Handling Need some help.
Replies: 4
Views: 1827

Re: GUI Window Handling Need some help.

Multitasked Dos Programs is tricky.

To remove flicker, use an off-screen buffer, an array dimed to the size of the screen, do all your drawing there first. There are many libraries to do this, OR you can use ' WAIT &H3DA, 8 ' to wait for the screen's refresh, so that you only draw between ...
by frankiebaby
Mon May 24, 2004 1:39 am
Forum: QBasic / QuickBasic related
Topic: bootable .exe files
Replies: 15
Views: 7539

Re: bootable .exe files

that is wierd, what OS are you running? If its > win 98 you dont need an autoexec.bat file, though you can add one. That Partition magic one is for a bootable disk used to partition your Harddrive
by frankiebaby
Sun May 23, 2004 6:58 pm
Forum: QBasic / QuickBasic related
Topic: bootable .exe files
Replies: 15
Views: 7539

Re: bootable .exe files

Autoexec.BAT , the rest are probably backups, like a .BAK or a .OLD or something. Or, if in different directories, the one in the Root is the one that is used
by frankiebaby
Thu May 20, 2004 4:42 am
Forum: QBasic / QuickBasic related
Topic: bootable .exe files
Replies: 15
Views: 7539

Re: bootable .exe files

you can use any text editor, preferably a simple ascii one, like notepad.exe or dos Edit.com, or even Qbasic!
by frankiebaby
Thu May 20, 2004 4:39 am
Forum: QBasic / QuickBasic related
Topic: Dat file format
Replies: 3
Views: 1990

Re: Dat file format

sorry brent, not to show you up, but .dat files are disimmilar to exe files because exe are executables and dat files can be any data the creator of them decides to store, grafix, text or a proprietary format they created.
by frankiebaby
Mon May 17, 2004 6:59 am
Forum: QBasic / QuickBasic related
Topic: bootable .exe files
Replies: 15
Views: 7539

Re: bootable .exe files

hmm, well, heres the thing, only ONE partition can be the master partition, the one that the computer check to boot from. You could make your program run in your current partition by putting it in ur autoexec file. Then, when you were done, you could simply shut off your computer or exit and the ...
by frankiebaby
Sun May 16, 2004 8:05 am
Forum: QBasic / QuickBasic related
Topic: bootable .exe files
Replies: 15
Views: 7539

Re: bootable .exe files

Not to shoot you down, Brent, but a full-fledged OS can't be made in Qbasic. For that you need a lower-level language like C. But, what you could make would be a GUI, a graphical user interface for DOS, but it could not include multitasking. You could make a windows explorer - like interface if you ...
by frankiebaby
Sun May 09, 2004 8:56 pm
Forum: QBasic / QuickBasic related
Topic: closing programs
Replies: 4
Views: 1807

Re: closing programs

well, you cant quite do that through DOS that i kno of... you'd have to call a 'helper' program written for windows i think, like one that you pass in the program name to kill, and then it kills it. To close a window would require the use of windows api 's
by frankiebaby
Sat May 08, 2004 5:51 pm
Forum: QBasic / QuickBasic related
Topic: closing programs
Replies: 4
Views: 1807

Re: closing programs

well, that close you put in there simply closes the file you opened. To end the program, use END. Also, you may not want to use SLEEP 2000, becuase sleep waits for 2000 seconds OR a keypress, whichever comes first.

Instead, use something like this

T! = TIMER
DO: LOOP UNTIL TIMER > T! + 2000

this ...
by frankiebaby
Wed Apr 28, 2004 4:22 pm
Forum: QBasic / QuickBasic related
Topic: Sorting Problem
Replies: 3
Views: 1597

Re: Sorting Problem

Hey there Jonathan,
          Is there some reasons that you need to use strings to store your numbers? I would assume so, else you probobly would not have used them. The thing is, thaey are why it is not sorting correctly. When you compare strings, it compares them letter ...
by frankiebaby
Wed Mar 24, 2004 5:22 am
Forum: QBasic / QuickBasic related
Topic: Battery Meter for Laptop
Replies: 1
Views: 1222

Battery Meter for Laptop

Anybody have any Idea on how to determine the voltage of the battery on a thinkpad 380? Or anything about the battery status, besides % remaining. Voltage, current whatever. Any ideas, even if just where to look would help :) thnx!
by frankiebaby
Fri Mar 12, 2004 1:11 am
Forum: QBasic / QuickBasic related
Topic: OPEN command help
Replies: 19
Views: 8078

Re: OPEN command help

It is possible to have a file without an extension. If the file u specify does not exist, DOS will create it, so u told it to copy to that file. This also allows copy and rename in one.

By adding a '\' you will fix your problem. This is how u might try it:

INPUT "What file do you want to copy ...
by frankiebaby
Mon Feb 02, 2004 3:03 pm
Forum: QBasic / QuickBasic related
Topic: timing
Replies: 4
Views: 1781

Re: timing

Where that percent sign came from, I dont kno, but that was not a string type, it was a  long integer. Try using a double precision number, an exclamation point. TIMER is capable of returning i think up to .01 of a second. Try this:


ST! = Timer  'start
'...LOOP CODE HERE....
ET! = Timer ...