Search found 2378 matches

by burger2227
Tue Nov 06, 2007 2:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Insert image (what ever file type) into QBasic/Quick Basic
Replies: 6
Views: 7303

I don't think that BMP.BAS has any padder for the bitmap width and will skew some images. The following is the Bitmap Header Information from WOTSIT.org : TYPE BmpHeaderType Id AS STRING * 2 'Should be "BM" Size AS LONG 'Size of the data rr1 AS INTEGER rr2 AS INTEGER Offset AS LONG 'Position of star...
by burger2227
Sat Nov 03, 2007 5:58 pm
Forum: Freebasic Questions & Answers
Topic: Can I make an image in Paint, then have a FB program load it
Replies: 53
Views: 84720

Well, that program looked like it should have worked, and after a lot of tries, I posted it at Network 54 Qbasic Forum and a guy got it working using PEEK instead of string manipulation of the color palette string. And it still cannot do large bitmaps in SCREEN 13! And now my old bitmap loaders will...
by burger2227
Sat Nov 03, 2007 5:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: return from dos screen to window screen
Replies: 12
Views: 10019

?????????????

What do you mean by somewhat? Can you see the IDE header? How small does it get?
by burger2227
Fri Nov 02, 2007 12:19 am
Forum: Freebasic Questions & Answers
Topic: Can I make an image in Paint, then have a FB program load it
Replies: 53
Views: 84720

Not everybody uses graphics in QB and needs Bitmaps either. I got a bitmap loader from here and the code did not even run! It took me a while to get it working, but it is still posted here wrong. It uses Interrupts to load SCREEN 13 bitmaps, but it still cannot load a full screen. If anybody wants t...
by burger2227
Thu Nov 01, 2007 11:58 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: return from dos screen to window screen
Replies: 12
Views: 10019

Any time you change SCREEN modes, the screen is cleared like CLS!

You can't have your cake and minimize too!

Try making your graph using ASCII characters in SCREEN 0 (default).
by burger2227
Wed Oct 31, 2007 6:31 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Passing arrays to subs
Replies: 4
Views: 5127

SNARK!!!!!!!!!!
by burger2227
Wed Oct 31, 2007 6:24 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Sprite flicker problem
Replies: 8
Views: 8034

SNARK LOL

Might as well call him a SNARK!

He is absolutely rude about giving thanks!
by burger2227
Wed Oct 31, 2007 5:57 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: return from dos screen to window screen
Replies: 12
Views: 10019

You can go to a window mode if you change to SCREEN 0: SCREEN 12 CIRCLE (200, 200), 50, 12 SLEEP 'will not allow you to hit Enter without changing mode SCREEN 0 PRINT "Hit Alt- Enter to window" DO: LOOP UNTIL INKEY$ = CHR$(27) 'escape exit But not in the middle of a graphics screen. Ted
by burger2227
Sat Oct 27, 2007 4:46 pm
Forum: Freebasic Questions & Answers
Topic: Can I make an image in Paint, then have a FB program load it
Replies: 53
Views: 84720

PAINT is a piece of garbage!

You will need a decent picture editing program like Paint Shop or Photoshop. You might be able to use a decent scanner photo editor. Look around for one. The reason you need a decent editor is that QB can only use bitmaps of 4 or 8 Bits Per Pixel for images to be displayed in color. SCREEN 13 is bes...
by burger2227
Thu May 10, 2007 12:55 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: how to view output while program is running
Replies: 5
Views: 7538

Just print it to the screen also

Wherever you produce output, also print it to the screen.
Example
PRINT #1, "Total: "; TotalSales
would be changed to
PRINT #1, "Total: "; TotalSales
PRINT "Total: "; TotalSales
by burger2227
Thu May 10, 2007 12:46 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: TRACE- VIEW OUTPUT AS IT IS GENERATED
Replies: 2
Views: 4130

Try this

The obvious answer:
Wherever you produce output, also print it to the screen.
Example
PRINT #1, "Total: "; TotalSales
would be changed to
PRINT #1, "Total: "; TotalSales
PRINT "Total: "; TotalSales
by burger2227
Thu Feb 15, 2007 1:44 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: How to make the computer think that a key has been pressed?
Replies: 19
Views: 20999

You can OUT a key value using &H60 on 98 and older machines. XP will not allow changes to settings in the BIOS keyboard including lites. Try the following to get the key press and release codes. Do: press$ = INKEY$ code = INP(&H60) locate 20, 20: PRINT press$; code LOOP UNTIL press$ = CHR$(27) The r...
by burger2227
Thu Feb 15, 2007 1:26 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Vertical Retrace Question
Replies: 6
Views: 9214

Bullfeathers! I found this post all over the QB sites. Don't play games with people you jerk! Your the one not playing right by QB. :roll:
by burger2227
Thu Feb 15, 2007 1:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: OPEN COM() Problems with Belken USB/Serial adapter...HELP!
Replies: 9
Views: 13844

Windows 98 already can use a port. If you need to add one use a cheap PCI card port. USB is tough in 98. Near impossible in XP because it protects the ports from access. Try PortTalk in XP
by burger2227
Mon Aug 21, 2006 2:09 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Test 2 programs for a serial or parallel port
Replies: 0
Views: 4091

Test 2 programs for a serial or parallel port

I made some programs to monitor the serial and parallel ports. The problem is that I want to try to get some input from people that have devices on them. Whether they be something they made or a normal device to see how the programs perform. Eventually I want to be able to get QB to be able to work ...
by burger2227
Mon Aug 21, 2006 1:30 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Have client willing to pay for QB -> .NET conversion...
Replies: 4
Views: 4709

I already sent this idiot an email and never got a reply

4000 lines of code in an old QB program? Come on! On a Win 3.1? Probably comma separated data files, which could be easily converted, but he will have to determine the needs for a new program and the new data fields. The bid went from $200 at the QBForum to $300 here and no reply? Probably just a je...
by burger2227
Mon Aug 21, 2006 1:17 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Sigh... "Program-memory overflow"
Replies: 12
Views: 12607

ALSO SCREEN 13 is 40 columns wide folks

SCREEN 12 is 80 wide like the default screen.

12 has the best resolution and 30 rows

Ted
by burger2227
Mon Aug 21, 2006 1:11 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Sigh... "Program-memory overflow"
Replies: 12
Views: 12607

The program seems way too big to run even with a bunch of subs. You could use CHAIN to hook different parts of the program together. IE: Change some subs into other BAS files. NOTE: If you use CHAIN do not add the extension: CHAIN "Menu" 'NOT CHAIN "Menu.BAS" CHAIN automatically finds files of it's ...