I would like to dump a fairly long text file into a multiline textbox and have the end of the file showing without having to scroll down. Is there a chr string equivalent to the "END" key?

Recommended Answers

All 2 Replies

You could use sendkeys.

SendKeys doesn't seem to work, here is the code I am using to write to the TextBox. Where would I put the SendKeys?

Open strName For Input As intHandle
Do Until EOF(intHandle)
Line Input #intHandle, strNextLine
Text1.Text = Text1.Text + strNextLine + Chr(13) + Chr(10)
Loop

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.