how do i add a text file to the form like in a setup program the license agreement form. i have tried ole an inserted the text file but it dosent have scroll bars.
Thnks in advance chris1990
Printable View
how do i add a text file to the form like in a setup program the license agreement form. i have tried ole an inserted the text file but it dosent have scroll bars.
Thnks in advance chris1990
Use a Textbox.. set the MultiLine and ScrollBars properties as apt.
(to load the file, see our Classic VB FAQ).
VB Code:
Open "c:\test.txt" For Input As #1 Text1.Text = Input(LOF(1), 1) Close #1