>> get used to replacing ide hard disks from time to time. i reccomend that you start thinking about replacing and upgrading your disk about when it gets half full... that keeps everything running in top shape. there needs to be enough room on the disk for the vurtual memory, as well as enough...
>> if you dont have any files that you actully *want* open at that point where the error is, then just say:
CLOSE
>> to be sure that all files are closed at that point. close without a corrisponding variable or number simply closes all open files regardless. something i do at the end of...
No... your QB programs free memory is just smaller then what DOS needs to run, compiled and uncompiled. Once you get your program over a few KB, that happens... the only thing you can do is reduce the memory footprint of your application... or use a shell workaround. What are you trying to do...
Trying to translate from QuickBasic to C is pure hell. In fact, depending on how complex the application is, you may be better off just rewriting your program.
You will probably have better luck translating to VisualBasic. The PRINT command can be kind of tricky, but what I've allways done was...
Ummmm... Firstly, in order for a DOS prompt to take up 100% system resources in XP, I imagine your computer is quite slow. I would guess less then 500mhz P2.
Also, note that *some* computers run QB just fine. Mine for example, has no trouble whatsoever running QB under XP.
As a final step, you could reduce the number of times you use Trim$:
FOR r = nomchi TO 1 STEP -1
iTemp$ = Trim$(Str$(Tempo))
tempo = (suite(r) * expo) + reste
suitetotal(r) = VAL(RIGHT$(STR$(tempo), 1))
IF LEN(iTemp$) > 1 THEN
reste = VAL(LEFT$(iTemp$...
I allways move it to a function:
Function Trim$(iStr As String)
Trim$ = Ltrim$(Rtrim$(iStr))
End Function
Then, you could change your code to read:
FOR r = nomchi TO 1 STEP -1
tempo = (suite(r) * expo) + reste
suitetotal(r) = VAL(RIGHT$(STR$(tempo), 1))
IF...
Lol...
I would love to pirate some software for my Linux box, alas, I keep running into issues like: "This application is Freeware" or "You may freely copy this program to all your friends."
There just seems to be no good way to pirate Linux software.
' =============================================
' Data search application 1.1
' Created by Allan Davis (aka Nyaj2k1)
' =============================================
'
' == Notes ====================================
'
' ==== New ====================================
'
' Thanks for the feedback...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.