?
Solved

Data Post + Presenting HTML in a MFC Dialog

Posted on 2004-04-17
5
Medium Priority
?
214 Views
Last Modified: 2013-11-20
Hi Experts,

I want to POST data from my windows application and present the coming data in my application's dialog box.
  The aim is to post some data from my application and to present  'HTML page' in my modal dialog window. It should be presented in the same way as it is presented in IE or Netscape navigator.
How can I acheive this.

Regards,
Lalit.
0
Comment
Question by:replylalit
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 

Expert Comment

by:david_johns
ID: 10850939
The easiest way I know of is to write your incoming data to a temp file somewhere and host an IE instance using a WebBrowser control and simplying open the file into it.  See the documentation here on the WebBrowser control:

http://msdn.microsoft.com/library/default.asp?url=/workshop/browser/webbrowser/browser_control_node_entry.asp

Here is another example that is doing something really similar to what you want to do:

http://www.codeproject.com/internet/httpget-post.asp
0
 

Author Comment

by:replylalit
ID: 10890484
Hi David,
Thanks for the reply, but the application of codeproject shows the data in encoded format (for the url which I am accessing) i.e. content encoding = deflate.
I want to get the data in decoded format.
Is there any application which can decode the data.
Thanks
Lalit.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 12049869
PAQed - no points refunded (of 140)

Computer101
E-E Admin
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question