Solved

Problem with WebBrowser.Navigate()

Posted on 2001-06-08
3
3,738 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

758 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

21 Experts available now in Live!

Get 1:1 Help Now