-
Darn scrollbars
I have a text editor (like Niotepad) and I read the text using the file system object like this
Dim fso As New FileSystemObject, fil As file, ts As TextStream
Set fil = fso.GetFile("C:\world.txt")
Set fil =ts.opeanAstextstream(ForReading)
e = ts.ReadAll
and so on, but if the text is larger than the textbox, i need a scrollbar and don't know how to put code in order to scroll the text. please help me. I'm sure my 'reading' code isn't good!
-
The TextBox control has a ScrollBars property which by default is set to None. Thats why your arent showing up . Set it to Horizontal, Vertical or Both and it will handle the rest for you, no coding required :D
-
Thanx
Thanks! I wouldn't have figured it out! Darn scrollbars!
-