Solved

IE object in a form

Posted on 1998-07-31
2
177 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

862 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

23 Experts available now in Live!

Get 1:1 Help Now