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
Question
bangbang023 Veteran
edit: nevermind i figured out a workaround which works even better
I am using the following code:
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 bangbang023Link to comment
Share on other sites
0 answers to this question
Recommended Posts