• 0

[VB] File Input Error


Question

edit: nevermind i figured out a workaround which works even better

I am using the following code:

Private Sub filePoems_Click()

Open filePoems.fileName For Input As #2

Input #2, txtRtitle.Text

Close #2

End Sub

now everytime i try to complie i get an error that I can not assign the value to txtRtitle.text and the .Text is highlighted. what am i doin wrong? I have changed the filename to a constant file name just for test purposes and it didn't work either.

all it is supposed to be doin it readin the first line of the text file and feeding it to txtRtitle.text

Edited by bangbang023
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.