For now i found this solution
in Test.Bat:
-----------------------------------------
@echo off
cls
echo Test > Test.Txt
rem do some stuff, eg. pack data with zip program
....
Del Test.Txt
in VFP7:
-----------------------------------------
Run /N7 Test.Bat
inkey(2) && wait 2 second just in...
I wonder is any benefit to use object with functions or just standard prg file with function?
for example:
i have 3 functions
a()
b()
c()
I can put this functions in one x.prg file and make
set procedure to x.prg
and then use this functions from application
or
make custom object and put...
Hi!
I use InternetReadFile() function to read bytes from FTP server. But I not sure about number of bytes to read in one time. Have any idea what is the best number?
For now I use 4096 and works fine.
eg.
lnBytes=4096
InternetReadFile( lhFile, @lcBuffer, lnBytes, @lnBytesRead )
Thanks! I wil try to use registry with some not so important parameters first!
I will make key
HKEY_LOCAL_MACHINE\Software\CompanyName
and then put values and data to this key and make some tests on Win98 and Win XP machines.
I try to write and read register. Works fine. But I am afraid to use it. Is normal way to write and read parameters from program to register. I use old "ini" files now. My program on start read some paramters and at the end ( close ) write some parameters to "ini" or "register"?
so, every time i...
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.