Results 1 to 4 of 4
  1. #1
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496

    Custom HTML preview form


    Is there a way to get a string with html in it to preview on a control on a form?

    as in the object without having to render/save it to file?

    Basically I build a html email and I would like to preview it before it gets sent using CDO

  2. #2
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    I have not played around with all of the newer controls now available but, I would probably first look at displaying it as a word doc within a control. The second option would be to save it as an .htm and use an internet browser control. I would try the word doc first or even try using word to open the .htm vs. word opening an rtf.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,825
    The only way I know is to set a field in table to RTF, bind textbox to that field, set Text Format property to RTF.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 8 Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    I was just hoping to use a temporary object that would hold the code and view that... but I guess I will have to build to file :-/

    I could just export to html then open file with explorer or control with source as the newly made file path then delete the html file when the user closes the form :-/

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Print Preview Custom Shortcut Menu
    By Swatskeb in forum Modules
    Replies: 2
    Last Post: 05-22-2014, 08:02 PM
  2. HTML Color picker form
    By trevor40 in forum Programming
    Replies: 8
    Last Post: 03-03-2014, 11:34 PM
  3. HTML Controls on Popup Form
    By kelann in forum Forms
    Replies: 4
    Last Post: 11-01-2012, 09:29 AM
  4. Add javascript and html code in form
    By ashu.doc in forum Forms
    Replies: 11
    Last Post: 09-06-2012, 05:20 AM
  5. Export to HTML Button on Form
    By iProRyan in forum Forms
    Replies: 2
    Last Post: 04-26-2012, 11:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums