Kmiller
asked on
Getting single line of text from web.
I want to add a simple version check to my app... What would be the easiest way to get the contents of a file (will contain the newest version number) off my web server? I could then compare the two numbers and tell if they had the most current version. Any help would be great.
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
How about this piece of code???
----------
var
F : TextFile;
str : string;
begin
AssignFile(F, 'C:\windows\desktop\test.t xt');
Reset(F);
ReadLn(F,str);
CloseFile(F);
ShowMessage(str);
end;
------------
Regards,
Viktor Ivanov
----------
var
F : TextFile;
str : string;
begin
AssignFile(F, 'C:\windows\desktop\test.t
Reset(F);
ReadLn(F,str);
CloseFile(F);
ShowMessage(str);
end;
------------
Regards,
Viktor Ivanov
ASKER
Thanks