Results 1 to 2 of 2

Thread: Saving from MSHTML Editor in Visual Basic

  1. #1

    Thread Starter
    Fanatic Member Kzin's Avatar
    Join Date
    Dec 2000
    Posts
    611

    Question Saving from MSHTML Editor in Visual Basic

    I'm using the MSHTML Editor in a VB6 program and it seems to work fine allowing me to edit web pages on line. Unfortunately having edited them I can't save them as

    Code:
    WebBrowser1.ExecWB OLECMDID_SAVEAS, OLECMDEXECOPT_DODEFAULT
    just seems to save the unchanged orginal - not the version in the WebBrowser that is being edited using the MSHTML Editor

    I've looked at MSHTML Editor
    http://www.msdn.microsoft.com/worksh...vating_from_vb
    but can't see saving anywhere

  2. #2
    Member
    Join Date
    Jul 1999
    Location
    edmonton, canada
    Posts
    60
    WebBrowser1.ExecWB OLECMDID_SAVE, OLECMDEXECOPT_DODEFAULT

    seems to be working fine for me....saves whatever doc is open in the WebBrowser.......working on a local file though.

    thanx for the reply on my thread....i can't seem to find much at those msdn links....have to decipher their code....i'll have to work with it some more

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