Results 1 to 3 of 3

Thread: Embedding in reverse [Gave up on]

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2003
    Posts
    127

    Embedding in reverse [Gave up on]

    Ok... using the embedded RTF file is working great but in a discussion with another board member from another site that does some work for MS it's not an option to divert focus or prevent someone from resizing a picture from a RichTextBox unless the RichTextBox is locked/disabled and then wouldn't be scrollable anyway.

    Now, going backwards with this embedded process, how would I read the embedded file and have VB.NET pull up Wordpad and display the file externally?

    Just curious, I like to know how things work going in both directions.
    Last edited by teamdad; Aug 3rd, 2004 at 01:07 PM.

  2. #2
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083
    Easy if you mean this :

    VB Code:
    1. Process.Start("wordpad.exe", "c:\a.txt")

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Dec 2003
    Posts
    127
    My text file is embedded as a resource in vb.net and I want to open Notepad and extract the information from the text file into Notepad when it is started.

    Almost like using Notepad and clicking File/Open and opening a file that way but the file is part of my vb.net program itself.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width