data

  • 10 years ago

    Hi
    Could you any one please help me...
    i have written one problem with ODBC Connection,
    in my form1 i have 8 text boxes  and one load button,just i wanted put the values from text file .
    pls help me

  • 10 years ago

    easiest way to load such style is with

    Dim base_ini$() = IO.File.ReadAllLines(file$)
    Me.TextBox1.Text=base_ini(0)
    Me.TextBox2.Text=base_ini(1)
    ....

    And to save

    Dim base_ini$() = {TextBox1.Text,TextBox2.Text ... }
    Io.File.WriteAllLines(path$,base_ini)

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.

“There are 10 types of people in the world, those who can read binary, and those who can't.”