PDA

View Full Version : Just can't remember how.


ianhull
04-11-2005, 06:58 AM
Hi Guys, I'm stuck again.

I have done what i need to do loads of times but I have totally forgotten.

I need to read smcn.txt from \\AutoPlay\\Docs into Input1 but I cannot remember how.

Please help.

Thanks.

Ian

yosik
04-11-2005, 07:07 AM
Use the following code:

text_contents = TextFile.ReadToString("\\AutoPlay\\Docs smcn.txt";
Input.SetText("Info Text", text_contents);

Good luck
Yossi

ianhull
04-11-2005, 07:14 AM
Thanks Yossi

Just forgetting all I know after being away for a while.

Much appreciated.

:yes

yosik
04-11-2005, 02:00 PM
No problem.
Glad to help.
Yossi