05-25-2004, 10:59 PM
Well, say you have a large collection of files that require the standard Qb library. What I do, is I drag the files from the folder onto the QB icon on my desktop. Works fine, expect when the program needs to use the standard Qb lib. Then I have to load QB with the Lib, and find the file through there. that may take a while, as I have deep directorys is some recesses of my QB folders. So I thought of this last night:
Just compile this with the right directory, and hey presto! You can drag a file onto it and it will also load the QB lib! Works with any other Library as well. But you may want to change the "Working directory" in the EXE's properties to your main QB folder. This is much more convienient. The only catch is that it reduces the free memory by about 7Kbs or so, down to about 21-22Kbs.
Code:
SHELL "D:\qb45\qb.exe /l qb /ah " + COMMAND$
Just compile this with the right directory, and hey presto! You can drag a file onto it and it will also load the QB lib! Works with any other Library as well. But you may want to change the "Working directory" in the EXE's properties to your main QB folder. This is much more convienient. The only catch is that it reduces the free memory by about 7Kbs or so, down to about 21-22Kbs.