What's the question you are responding to ?

Also, please explain this line: "I would love to be a moderator here
and post more."

On Sep 9, 4:13 am, intermidiate programmer <[email protected]> wrote:
> On your form.load add the following to open a richtext file.
> Dim arguments As String = Command()
>         Try
>             Dim tempstr As String = arguments.Replace("""", "")
>             RichTextBox1.LoadFile(tempstr)
>
>         Catch
>
>         End Try
>
> Just make sure you are using richtextbox1
>
> To load just a text file use this:
>
> Dim arguments As String = Command()
>         Try
>             Dim tempstr As String = arguments.Replace("""", "")
>             Dim sr As New System.IO.StreamReader(tempstr)
>             RichTextBox1.text = sr.readtoend
>
>         Catch
>
>         End Try
>
> I hope this helped! I would love to be a moderator here and post more.

Reply via email to