Solved

Problem with WebBrowser.Navigate()

Posted on 2001-06-08
3
3,786 Views
Last Modified: 2007-11-27
Hello Delphi experts!

I need to do a Webbrowser.Navigate with POST. That means, I use Webrowser.Navigate(Url, Flags, Target, PostData). Url is of type WideString, Flags, Target und PostData of var OleVariant. Please read http://msdn.microsoft.com/workshop/browser/webbrowser/reference/Methods/Navigate.asp

As for PostData, Microsoft said: http://support.microsoft.com/support/kb/articles/Q174/9/23.ASP

I wondered very much about that PostData needs an ANSI string. As every Delphi expert knows that in OleVariant variables only WideString values can be stored.

Please look hard at the

PostData = StrConv(PostData, vbFromUnicode)

statement in the Visual Basic example how to use PostData. How to do the same in Delphi?? Or does someone know how to use the PostData in another way?
0
Comment
Question by:dnoelpp
[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
3 Comments
 
LVL 8

Accepted Solution

by:
TOndrej earned 80 total points
ID: 6167988
See article "Automating Internet Explorer to POST Form Data" http://community.borland.com/article/0,1410,26531,00.html
0
 
LVL 3

Author Comment

by:dnoelpp
ID: 6168054
Thanks Tondrej, tried it out already. Was a quick one for you, wasn't it? :-)
0
 
LVL 8

Expert Comment

by:TOndrej
ID: 6168075
yep I love my Google toolbar :-)
thanks for points
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

707 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