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
Solved

Data Post + Presenting HTML in a MFC Dialog

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

Suggested Solutions

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 …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

839 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