PDA

Click to See Complete Forum and Search --> : Saving from MSHTML Editor in Visual Basic


Kzin
Apr 27th, 2001, 03:05 PM
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

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/workshop/browser/editing/activateeditor.asp#activating_from_vb
but can't see saving anywhere :confused:

Phyl
Dec 1st, 2001, 04:12 PM
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