Solved

Data Post + Presenting HTML in a MFC Dialog

Posted on 2004-04-17
5
208 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
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

808 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