Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages
Started by nikhil
Tue, 03 May 2005 06:13
IHTMLDocument2::execCommand
Author: nikhil
Date: Tue, 03 May 2005 06:13
Date: Tue, 03 May 2005 06:13
3 lines
1228 bytes
1228 bytes
Hi, I am trying to save the Xml document loaded in TCppWebBrowser in text format by using "IHTMLDocument2::execCommand(Cmd,UI,Opt,&RetVal) " without opening the saveas dialogue box. However the SaveAs Dialogue Box is still poping up inspite of setting the UI to false. Can anybody suggest me the changes required or some other method to save the file in text format without the user intervention? Kindly help at earliest please.
Re: IHTMLDocument2::execCommand
Author: Mark Guerrieri
Date: Tue, 03 May 2005 21:01
Date: Tue, 03 May 2005 21:01
11 lines
1472 bytes
1472 bytes
When viewing XML in the web browser, you are actually viewing an XSL transform of the data to rederable HTML. To access the original XML, you need to get it from the "XMLDocument" Expando property of the document: see: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwebteam/html/webteam05072001.asp for an example of retrieving the XMLDocument property using C++. Mark
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads