[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 188
  • Last Modified:

IE object in a form

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
hobbit123
Asked:
hobbit123
1 Solution
 
hobbit123Author Commented:
Edited text of question
0
 
JimBob091197Commented:
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

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now