|
-
Sep 29th, 2007, 07:47 AM
#1
Thread Starter
New Member
Automation error when calling ExecScript
Hi All,
Can anybody help me??
I am calling a Javascript code from within VB application, with the help of ExecScript method. The problem is that, if I am using only some alert() statements in the javascript's code, then it runs fine. But as soon as I use window.event.clientX or window.images[0].style or some javascript objects in Javascript code, there is a run time error : Automation Error (-2147417843).
I dont know what mistake I am doing. I am doing web programming first time through VB. When I test this Javascript code in an HTML file, then it is running fine. But when I call this JS code from within VB, then there is this error.
Please help me in solving this problem.
Thanks in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|