Re: From VB6 code - run Javascript function in WebBrowser control

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks for the reply but after doing a bunch of searching on the web for
window.execScript I don't think that is what I need. That will execute the
script I pass it but what Iwant to do is to execute an existing script/function
that is loaded in a BrowserControl.

Something like: WebBrowser.Document.??? where I can run the existing fuction
in a javascript function loaded in the current browser control's loaded page.

Thanks
Ken



"Igor Tandetnik" <itandetnik@xxxxxxxx> wrote in message
news:ejsLMoUHIHA.2480@xxxxxxxxxxxxxxxxxxxxxxx
"kjm2" <k.j.m@xxxxxxx> wrote in message
news:YYAWi.1227$Tp3.832@xxxxxxxxxxxx
Can this be done? Can VB6 code execute a javascript function in a
loaded page of a webbrowser control?

window.execScript
--
With best wishes,
Igor Tandetnik

With sufficient thrust, pigs fly just fine. However, this is not necessarily a
good idea. It is hard to be sure where they are going to land, and it could be
dangerous sitting under them as they fly overhead. -- RFC 1925



.



Relevant Pages

  • getting file Name
    ... I'm searching to find the name of the file in which i execute a script. ... Laurent ...
    (microsoft.public.inetserver.asp.general)
  • Re: From VB6 code - run Javascript function in WebBrowser control
    ... execute the script I pass it but what Iwant to do is to execute an ... existing script/function that is loaded in a BrowserControl. ... You can pass a script fragment that consists of a function call: ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Will Linux become as vulnerable as MS ??
    ... > beeing vulnerable to viruses. ... > that they know are executable, and execute intentionally. ... >> Linux, each distro is a little different, and even within the distro, ... > Since clicking on a script is easier than typing it's name, ...
    (comp.os.linux.security)
  • Re: [Full-Disclosure] ColdFusion cross-site scripting security vulnerability of an error page
    ... > execute the arbitrary javascript and HTML code which the attacker ... > It is possible to display the contents transmitted from the client ... > cross-site scripting attack can be executed. ... the script will be executed when the script for an attack ...
    (Full-Disclosure)
  • CGIscript.net - csMailto.cgi - Remote Command Execution
    ... CGIscript.net - csMailto.cgi - Remote Command ... csMailto is a perl cgi formmail script developed by ... execute command on server and mail output to anyone ...
    (Bugtraq)