[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Data Post + Presenting HTML in a MFC Dialog

Posted on 2004-04-17
5
Medium Priority
?
217 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
3 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
Loops Section Overview
Suggested Courses

872 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