Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. quebasic2

    Kill command and the shell command

    Qbasic can be used to create slight more complex bat files so to speak. You can do loops and comparisons easier. And as you can make a really lame bat file virus, you can use the dos commands through qbasic to do the same. If you intend to keep you account on this site, I kindly suggest...
  2. quebasic2

    wondering what uses poke/peek could have(just started qbasic)

    PEEK/POKE are mostly used in graphic oriented programming, because of the above mentioned reason (speed). INP and OUT, althought they have a lot to do with graphics, ten to be used more for sound and other internal procedures. Check out INTTERUPT and ABSOLUTE as well as the X version of each...
  3. quebasic2

    Limiter trial of a Program

    On buffs site I belive, is information on how to write to use asm in qbasic to write to the opening sectors of your qbasic file. That way, each time the file was run, you could check a varible in the opening sectors and subtract one from it until the time limit had run out. However, anyone...
  4. quebasic2

    Please help make qbasic Freeware

    I don't know why this is still such a big issue for two big reasons. One: Numorous sites have all versions of qbasic avalible with onsite letters from microsoft stating that they do not care about people downloading qbasic for free even pds 7.1. Two: Unless you are some kind of...
  5. quebasic2

    Scrolling

    I got this out of qb4all.com's tutorials: This is a topic that most budding game programmers would love to master, but many just don't know where to start. Pixel by pixel scrolling is actually pretty simple, there's a bit of math involved in getting the moving pixels in the right place, but...
  6. quebasic2

    Defint A-Z

    Or the top of the main module.
  7. quebasic2

    lprint with XP and an HP 656c

    You should use OPEN LPT1 FOR OUTPUT AS #1 or LPT2, whatever your printer is. after finishing printing, you need to send a carriage return character to your computer.
  8. quebasic2

    Defint A-Z

    Thanks
  9. quebasic2

    Defint A-Z

    What does DEFINT A-Z stand for, qbasics helb file is very vague.
  10. quebasic2

    Windows with qbasic

    You can shell and use windows wav player, it is described in detail on buff's website. If you want to controll how it plays, you will have to get wav players coded in qbasic, and implement one of them in your program.
  11. quebasic2

    'OPEN' a file ONLY if it exists ?

    To MiggyD: Socko: "Is there any way I can get the program to check whether the file exists (before attempting to open it) to prevent an error message occuring?" He did not say that he did not want an error. Just not an error message.
  12. quebasic2

    Reading from and .exe file

    Thank you Alt255. Your help was invaluable. Is there anyway that I could store a password in the exe file that my program could retrieve. The user would then have to enter that password so that my program would fix the file.
  13. quebasic2

    Reading from and .exe file

    The file would not be executable until it is unencrypted. I did not try opening the file in binary mode, but I will try that. This happened awhile ago, so I don't remeber the error. I have come to the conclusion that it would not be practical to encrypt exe files with qbasic. It would be to...
  14. quebasic2

    Reading from and .exe file

    I have an encryption program, and I would like to use it to encrypt certain executable files. Unfortunately, I get an error when I use and open statement to read the files. Why is this, and how do I get around it?
  15. quebasic2

    help with timing

    490 ghz? is that even possible? I meant 450ghz.
  16. quebasic2

    help with timing

    Just curious? What does your system run, barok? I have a 490 ghz and they are considered fairly slow now.
  17. quebasic2

    Are Global Varibles Evil?

    Anyone who has done any c, cpp, c# has been warned about the evils of using global varibles. You should not use them period according to most books. My question is: If you are not using them to excess, are they consider bad programming in Qbasic?
  18. quebasic2

    Going between main program and sub

    You can't, the only thing you can do, is use EXIT SUB to end the sub prematurely. Then, if another sub did not call it, it will return to the main prog right after where it was last called.
  19. quebasic2

    how to slow down a pixel

    You want to slow it down right? So use a timer loop: a = TIMER DO LOOP WHILE TIMER < a + .5
  20. quebasic2

    GET TXT FILES IN FOLDER

    For just .txt use SHELL &quot;dir *.txt&quot; /o/p&quot;.

Part and Inventory Search

Back
Top