Search found 132 matches

by Antoni
Tue Jan 24, 2006 2:43 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: loading excel files
Replies: 14
Views: 20676

90% of time Excel is used for it's great user input editing and cut and paste capabilities, and despite it's null input validating functions...
by Antoni
Fri Jan 20, 2006 9:27 am
Forum: QBASIC and QB64 Questions & Answers
Topic: help on limiting keys
Replies: 29
Views: 49253

Code: Select all

 DO
SLEEP
LOOP UNITL lcase$(INKEY$) = "w" 
by Antoni
Wed Jan 18, 2006 7:07 am
Forum: QBASIC and QB64 Questions & Answers
Topic: loading excel files
Replies: 14
Views: 20676

Two comments: If you export the file as a cvs, and your windows regional settings are a comma as list separator, and nothing as thousands separator, you can import the each element in the table to QB by using the INPUT # statement in a loop. And for correct formatting , sometimes is a good idea to c...
by Antoni
Wed Jan 11, 2006 4:30 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Getting QB 4.5 to run on my new 'puter.
Replies: 21
Views: 45894

Dave: I have been running QB4.5 without a problem in W2000 for 3 years. You may have problems with programs accessing EMS, SVGA graphics or a Sound card, but simple programs should run fine. Upon installation you must run qb.exe, go to options>set paths and set all the paths involved or the ide will...
by Antoni
Thu Jan 05, 2006 3:07 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: printing
Replies: 20
Views: 30502

In days so old i had a Sinzlair ZX-81. No DOS there.. :D
by Antoni
Wed Jan 04, 2006 3:44 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: printing
Replies: 20
Views: 30502

Re: LPRINT

He's trying to print graphics, which in the case of DOS is easy by pressing the PrtScrn key. In windows I thought this key just caused a screen capture which could be pasted (Ctrl+V) into any compliant app... no? In dos PrnScrn only worked if you loaded GRAPHICS.COM at the DOS start. The windows sc...
by Antoni
Tue Jan 03, 2006 6:26 am
Forum: QBASIC and QB64 Questions & Answers
Topic: opening WORD
Replies: 6
Views: 6473

First, the name of Word's exec is Winword. exe Then you have to specify the path using 8.3 names This works for me: shell "c:\progra~1\micros~2\office\winword.exe" Notice the micros~2 could be perhaps micros~1 or even micros~7 for you, depending on how many microsoft apps you have and the ...
by Antoni
Tue Jan 03, 2006 5:38 am
Forum: QBASIC and QB64 Questions & Answers
Topic: printing
Replies: 20
Views: 30502

Try this screen grabber to get the screen to a file, then you can print it thru a
graphics editor
http://www.phatcode.net/downloads.php?id=194
by Antoni
Sat Dec 31, 2005 8:36 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: printing
Replies: 20
Views: 30502

I would not say it can't be done... The easiest way is to convert the graphics to a standard format (bmp, gif) in QB then open it with Windows paint to print it. You could use too a DOS screen capture program. Plasma has one of them in his site. It is not garanteeed to work in all screen modes. Pure...
by Antoni
Sat Dec 31, 2005 8:24 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: cpu goes to 100% when i start qb45 in xp why?
Replies: 6
Views: 8204

Or switch to a true Windows 32 compiler as Freebasic...
by Antoni
Sat Dec 31, 2005 2:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: cpu goes to 100% when i start qb45 in xp why?
Replies: 6
Views: 8204

The same happens in W2000. Changing the idle sensivity can reduce the cpu use to 50%, not more.
Use Qbasic 1.1, PDS 7.1 or VBDOS, these do not have that problem.
Or forget about the IDE an compile from command line, it's what I do
by Antoni
Mon Dec 26, 2005 2:35 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: new using qbasic
Replies: 6
Views: 8096

Re: new using qbasic

dh=cid-rod : dh2=cid*cid-rod*rod Just two assignment statements that could be in separate lines. In QB you can put several statements in the same line by separing them bycolons (:) y(1)=pvd:y(2)=od Two assignments to the co,ponents 1 and 2 of the array y. There must be a DIM y(size) as type at the ...
by Antoni
Sun Dec 18, 2005 1:50 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading DOS Help files
Replies: 17
Views: 28780

We could do our reader. Does anyone know of any specs on line?
by Antoni
Sun Dec 18, 2005 11:14 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Reading DOS Help files
Replies: 17
Views: 28780

Macric: I have found qh.exe in the PDS 7.1 package. When i try to run it my W2000 says it is a noncompatible os/2 app, and hints me to try to run it with forecedos. So I forcedos qh.exe and it complains about not enough memory available. If I forcedos mem it reports 576000 bytes ,4 Meg EMS and 16 Me...
by Antoni
Fri Dec 16, 2005 9:08 am
Forum: General Discussion
Topic: I'm looking for Tsugumo's Untitled
Replies: 1
Views: 4669

Search the downloads section at www.qb45.com it's there!
by Antoni
Thu Dec 15, 2005 9:19 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Searching for Eclipzer, searching for NEXUS_13
Replies: 3
Views: 6248

Do a search in the downloads section at www.qb45.com for nexus.zip. It's there...(the library :D)
by Antoni
Mon Dec 05, 2005 4:29 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Compatibility
Replies: 15
Views: 21957

Or you could leave that "command /c" in every shell line. Probably it will not harm in W98
by Antoni
Sun Dec 04, 2005 8:16 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Can you use PasswordChr from VB in QBASIC?
Replies: 4
Views: 4738

The easy way: locate 2,1:print "Name?"; locate3,1:print "Age?"; locate 4,1:print "Address?"; locate 5,1:print "City?"; locate 2,10:input name$ locate 3,10:input age$ locate 4,10:input address$ locate 5,10:input city$ If what you want is to have the user switch...
by Antoni
Sat Dec 03, 2005 11:31 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Simple Database Question
Replies: 3
Views: 4189

my dirty one-liner

Code: Select all

ln=ln+1:if ln=22 then ln=0:locate 25,1: print "More?";:k$=input$(1):locate ,1:print space$(5);
by Antoni
Sat Dec 03, 2005 11:25 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Compatibility
Replies: 15
Views: 21957

Moneo:
I tried your code in W2000 and I have the same problem.
It seems qb shell runs a somewhat crippled version of command com in NT-W2000-XP, I don't know why!