Click here to Skip to main content
16,005,389 members
Home / Discussions / Web Development
   

Web Development

 
GeneralCGI formmail Pin
Maureen19-Apr-01 7:00
Maureen19-Apr-01 7:00 
GeneralRe: CGI formmail Pin
8-May-01 23:36
suss8-May-01 23:36 
QuestionASP/SQL "opensource" website framework available? Pin
Jesper Mortensen18-Apr-01 6:26
Jesper Mortensen18-Apr-01 6:26 
AnswerRe: ASP/SQL Pin
Ryan Getgen7-May-01 11:20
Ryan Getgen7-May-01 11:20 
Generalregistered Pin
18-Apr-01 0:03
suss18-Apr-01 0:03 
QuestionHow do I open a web page dynamically Pin
Martin van Dalen17-Apr-01 5:36
Martin van Dalen17-Apr-01 5:36 
AnswerRe: How do I open a web page dynamically Pin
Erik Thompson17-Apr-01 6:46
sitebuilderErik Thompson17-Apr-01 6:46 
GeneralLoading XML strings into a DHTML Active X Control Pin
Martin Hinchy16-Apr-01 20:20
Martin Hinchy16-Apr-01 20:20 
I have an MFC based dialog application that contains a DHTML ActiveX control. I want to be able to pass an XML string to the control and have the XML displayed in the control.

Does anyone know if there is a way to do this? I have tried passing an XML string to the control using the CDHTMLEdit::SetDocumentHTML() method but it does not work. It will only correctly display HTML strings.

Due to my lack of success with the DHTML control I decided to replace the control with the Microsoft Web Browser ActiveX control to see if I could load XML strings into this control. I eventually got this to work ok but only after saving the XML to a file on the harddrive and then calling CWebBrowser2::Navigate(), passing the Navigate method the name of the file just saved.

Even though this works I would prefer to be able to pass the XML as a string straight into the control without having to save the xml to disk first. On the MSDN website there is some example code which shows how to load HTML content directly from a stream into the WebBrowser control. This does not work though with XML. Does anyone know why?



Martin Hinchy
GeneralAdvice on creating graphs online Pin
Obliterator12-Apr-01 12:46
Obliterator12-Apr-01 12:46 
GeneralIIS ignored word list Pin
codermaniac11-Apr-01 7:33
codermaniac11-Apr-01 7:33 
GeneralChanges in ASP Scripts Pin
6-Apr-01 20:39
suss6-Apr-01 20:39 
GeneralAnimated GIFs Pin
Daníel B. Sigurgeirsson5-Apr-01 3:48
Daníel B. Sigurgeirsson5-Apr-01 3:48 
GeneralRe: Animated GIFs Pin
Chris Losinger5-Apr-01 4:27
professionalChris Losinger5-Apr-01 4:27 
GeneralRe: Animated GIFs Pin
25-Apr-01 8:39
suss25-Apr-01 8:39 
Generaldisable refresh Pin
sweenier4-Apr-01 8:03
sweenier4-Apr-01 8:03 
GeneralRe: disable refresh Pin
30-Apr-01 3:00
suss30-Apr-01 3:00 
GeneralActiveX Control in a CWebBrowser2 Window Pin
jerry0davis28-Mar-01 23:55
jerry0davis28-Mar-01 23:55 
Generalfax from wab page Pin
faris27-Mar-01 21:30
faris27-Mar-01 21:30 
GeneralI need a Time Picker! Pin
26-Mar-01 11:01
suss26-Mar-01 11:01 
GeneralRe: I need a Time Picker! Pin
codermaniac11-Apr-01 7:38
codermaniac11-Apr-01 7:38 
GeneralNeed Advice from Web/Database Pros! Pin
Rebecca Davis25-Mar-01 7:49
Rebecca Davis25-Mar-01 7:49 
GeneralRe: Need Advice from Web/Database Pros! Pin
Anders Molin25-Mar-01 8:52
professionalAnders Molin25-Mar-01 8:52 
GeneralSetting Explorer Options Pin
KBerntsen20-Mar-01 10:56
KBerntsen20-Mar-01 10:56 
GeneralRe: Setting Explorer Options Pin
Steven Gregg28-Mar-01 2:20
Steven Gregg28-Mar-01 2:20 
GeneralRe: Setting Explorer Options Pin
KBerntsen28-Mar-01 9:08
KBerntsen28-Mar-01 9:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.