Solved

Problem with WebBrowser.Navigate()

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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 Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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