Results 1 to 30 of 30

Thread: [RESOLVED] Saving extra information in a rtf file

Threaded View

  1. #12

    Thread Starter
    Lively Member
    Join Date
    Jan 2009
    Posts
    77

    Re: Saving extra information in a rtf file

    Wouldnt
    vb Code:
    1. Me.rtbHidden.SaveFile("C:\myfile.rtf")
    work? instead of saving, then changing the extension?

    or
    VB Code:
    1. Dim sfd as new system.windows.forms.savefiledialog
    2. sfd.text = "Please select where you want to save your file to"
    3. sfd.filter = Rich Text Files|*.rtf
    4. dim result = sfd.showdialog
    5. if result = dialogresult.OK then
    6. rtbhidden.savefile(sfd.filename)
    7. end if
    8. sfd.dispose

    ^^ ive just written that entirley from memory, so im sorry if there is a mistake

    Thanks
    Tom1859
    Last edited by tom1859; Feb 18th, 2010 at 08:03 PM.

Tags for this Thread

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