Solved

IE object in a form

Posted on 1998-07-31
2
180 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
[X]
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
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 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