Solved

Data Post + Presenting HTML in a MFC Dialog

Posted on 2004-04-17
5
203 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
Comment Utility
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
Comment Utility
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
Comment Utility
PAQed - no points refunded (of 140)

Computer101
E-E Admin
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli‚Ķ
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now