qb 4.5 mouse program
Moderators:Administrator, Global Moderator
I need a mouse program that will work in v4.5. If anyone can help me, if would be greatly appreciated.
Thanks
Thanks
Re: qb 4.5 mouse program
Run this programdecker08 wrote:I need a mouse program that will work in v4.5
http://www.network54.com/Forum/178387/m ... 1195161480
Remember the /L
Mac
No. I just tried the program as posted and noted that it uses a mouse in QB4.5 and hoped you could figure it out. I was unable to understand the prompts at all and have no idea what the program is good for.Ralph wrote:Mac, can you translate the Bulgarian words
If you are still curious, you could post a query as a reply to the program and maybe he will come back and explain.
Mac
P.S. I avoid QB4.5 or anything except pure QB1.0 or 1.1. So I have mouse solutions for that if you are interested.
http://www.network54.com/Forum/171757/m ... 1181414116
I have never used QB1.0 or 1.1Mac wrote:P.S. I avoid QB4.5 or anything except pure QB1.0 or 1.1. So I have mouse solutions for that if you are interested.
http://www.network54.com/Forum/171757/m ... 1181414116
I'm curious, why would your program not work in QB4.5?
You mean the REAL QBasic?? You can download it atpebe wrote:Mac wrote:I have never used QB1.0 or 1.1
http://www.network54.com/Realm/QBZips/QBZips.html
Anyway, I just tried it with QB4.5 and it works there, too. But if a person only used QB4.5, then it makes sense to use the built-in mouse driver, rather than load a hand-coded version. But if you are a real QBasic hobbiest, then QB1.0 is your language and the mouse driver I posted will solve that problem in all environments.
In QB4.5, you always have to remember that stupid "/L" parameter.
If you store my program as demo.bas, you can call it with
QBasic /run demo
Mac
Mac, thanks for the offer via QB 1.1, but, after using the versions leading to 4.5, and then buying 4.5 in 1988, I just opted for staying with the very user-friendly QB 4.5's IDE.
But, Pepe has a valid question, regarding your mouse program for QB 1.1 and its probable compatability with 4.5, so, I'll just wait for your answer.
But, Pepe has a valid question, regarding your mouse program for QB 1.1 and its probable compatability with 4.5, so, I'll just wait for your answer.
Ralph. Running QuickBASIC Version 4.5, Windows XP Home Edition, Version 2002, Service Pack 2, and HP LaserJet 4L printer.
Is that the QB that was supplied with MS DOS - with no compiler?Mac wrote:
You mean the REAL QBasic?? You can download it at
http://www.network54.com/Realm/QBZips/QBZips.html
With QBasic Call absolute is included.
With QuickBasic 4.x,7.x you must load a library containing call absolute
and/or call interrupt/interruptx
The easiest way is to start QB with /L option. This Loads Qb.QLB when
QB is started. It gives you the ability to use Call absolute or interrupts.
There are lots of examples around at many sites
With QuickBasic 4.x,7.x you must load a library containing call absolute
and/or call interrupt/interruptx
The easiest way is to start QB with /L option. This Loads Qb.QLB when
QB is started. It gives you the ability to use Call absolute or interrupts.
There are lots of examples around at many sites
Mac, I use Buff's recommendation!
I created my shortcut to qb.exe, right clicked on it, then on Properties, selected the Program tab, and added
/L qb.qlb
so that, in my case, the shortcut points to
c:\basic\qb\qb.exe /l qb.qlb
In this manner, I don't have to worry about loading or not loading the QuickBASIC library, qb/qlb.
Oh, yes, I am addicted to the QuickBASIC 4.5 IDE, which works great for me for my occasional venture into programming. (As you can guess, I am not a professional programmer, perhaps not even an amateur programmer, more of a now and then putterer!)
I created my shortcut to qb.exe, right clicked on it, then on Properties, selected the Program tab, and added
/L qb.qlb
so that, in my case, the shortcut points to
c:\basic\qb\qb.exe /l qb.qlb
In this manner, I don't have to worry about loading or not loading the QuickBASIC library, qb/qlb.
Oh, yes, I am addicted to the QuickBASIC 4.5 IDE, which works great for me for my occasional venture into programming. (As you can guess, I am not a professional programmer, perhaps not even an amateur programmer, more of a now and then putterer!)
Ralph. Running QuickBASIC Version 4.5, Windows XP Home Edition, Version 2002, Service Pack 2, and HP LaserJet 4L printer.
Glad that works for you.Ralph wrote:I created my shortcut to qb.exe
I am always working from the DOS prompt, so usually I am entering
C>\QBasic > NOTEPAD Z.BAS
(where I edit the program, as I hate the IDE Editor)
After saving, I do
C>\QBasic > QBasic /RUN Z
(which runs it in the IDE as if it were compiled)
So when I venture to 4.5 (always because I am trying to understand someone's 4.5 problem) I migrate to the 45 directory and do
C>\QBasic\QB45 > QB /L /RUN Z
For some reason, it magically knows what library. It just needs /L
I suppose I could make a BAT file
QB /L &1 &2 &3 &4
to do the equivalent, but if I can remember to use the BAT file, I can remember to enter /L.
All different ways to solve the problem. Naturally, the shortcut way wouldn't work for me because, as I said, I am a DOS person and want to do stuff like FIND, NOTEPAD(not DOS but OK), SORT, etc.
Mac
Mac, I see that you are just one step away from the root directory to get to your usual QBasic.exe, which you have in C:\QBasic. Also, you then call QBasic /L (if required) etc.
In my case, I always start in my root directory, C:\, just like you. But, I go a little further than you, just because that is the way I organized my files and directories. Since I'm usually in Windows, in my email or one of the forums on the Internet, I have shortcuts in a hidden sidebar, so I just drag my mouse to the side, have the sidebar appear, and click on the appopriate shortcut, which takes me to the appropriate directory and starts the respective program, such as my qb.exe (QuickBASIC 4.5), Excel, Word, MS-DOS Prompt, Calculator, and so on, which really makes life easier for me. Also saves me a lot of typing, not that it bothers me, just that it irks me when I make a little typo in DOS, and have to erase everything back to the typo, then retype the stuf I erased! A shortcut just takes one directly to the program you want to run, and runs it!
Oh, well, as one would say, Different Strokes for Different Folks, ha, ha. Or, perhaps, To Each His Own
In my case, I always start in my root directory, C:\, just like you. But, I go a little further than you, just because that is the way I organized my files and directories. Since I'm usually in Windows, in my email or one of the forums on the Internet, I have shortcuts in a hidden sidebar, so I just drag my mouse to the side, have the sidebar appear, and click on the appopriate shortcut, which takes me to the appropriate directory and starts the respective program, such as my qb.exe (QuickBASIC 4.5), Excel, Word, MS-DOS Prompt, Calculator, and so on, which really makes life easier for me. Also saves me a lot of typing, not that it bothers me, just that it irks me when I make a little typo in DOS, and have to erase everything back to the typo, then retype the stuf I erased! A shortcut just takes one directly to the program you want to run, and runs it!
Oh, well, as one would say, Different Strokes for Different Folks, ha, ha. Or, perhaps, To Each His Own
Last edited by Ralph on Mon Nov 19, 2007 4:28 am, edited 1 time in total.
Ralph. Running QuickBASIC Version 4.5, Windows XP Home Edition, Version 2002, Service Pack 2, and HP LaserJet 4L printer.