?
Solved

Problem with WebBrowser.Navigate()

Posted on 2001-06-08
3
Medium Priority
?
3,802 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 320 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

Industry Leaders: 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…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

765 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