Solved

IE object in a form

Posted on 1998-07-31
2
179 Views
Last Modified: 2010-04-04
I know you answered such question many times...but once again shouldn't be a problem :-)
I found a WebBrowser control, I even found some docs about it, but I couldn't get it working. WebBrowser.Navigate takes 5 parameters, URL and 4 pointers to a variable of type OleVariant? What are this parameters? Could you give me a sample code?
0
Comment
Question by:hobbit123
2 Comments
 

Author Comment

by:hobbit123
ID: 1359300
Edited text of question
0
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 20 total points
ID: 1359301
Hi

You can leave all these parameters blank, except obviously the URL.

E.g.

var
  URL, Flags, TargetFrame, PostData, Headers: OLEVariant;
begin
  URL := 'www.experts-exchange.com';
  Flags := '';
  TargetFrame := '';
  PostData := '';
  Headers := '';
  WebBrowser.Navigate(URL, Flags, TargetFrame, PostData, Headers);
end;

Cheers,
JB
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi: how to implement a User Shortcut mapper? 1 110
How to renew a Delphi rad-studio licence? 5 65
Convert a string into a TDateTime 5 61
Performance of SQL statement 37 111
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

777 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