Reading a text file

  • 19 years ago

    Hey, I'm running a LAN client, and i want it to save the last connection IP to a file. Does anyone know how i can read it? I want it to take the only writing in the wutever.txt and use it as winsock1's remotehost...... Can anyone help me out here?

  • 19 years ago

    To find out how to save the contents of a text box to a file, click here.


    To find out how to load the contents of a text box to a file, click here.


    This can then be easily adapted to save the result to a variable instead....

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Walking on water and developing software from a specification are easy if both are frozen.” - Edward V Berard