Search
Syndication
Sponsors

Load a file into a textbox

Load a file into a textbox

Load a file into a textbox

‘Place a text box on a form

Private Sub Form_Load()
Dim Myfile As String
‘Replace "c:\testfile.txt
file = c:\testfile.txt
Open Myfile For Input As #1
Text1.Text = Input(LOF(1)

Related posts:

  1. Open a file and display contents Learn more about Open a file and display contents by...
  2. Add lines of text to a file Learn more about Add lines of text to a file...
  3. read a file into a combo box Learn more about read a file into a combo box...
  4. read a file to a list box Learn more about read a file to a list box...
  5. save text to a file Learn more about save text to a file by visiting...

Related posts brought to you by Yet Another Related Posts Plugin.

Comments are closed.

Translate
Links

Tags