473,396 Members | 2,158 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Accessing javascript variables in hosted webbrowser

YAH
I don't know where to post this so I'll try here. I'm trying to create
a C# based Windows Form app which hosts a webbrowser control,
loads a webpage of mine, and after DocumentComplete extracts data
that is stored in javascript arrays. FWIW, the javascript arrays aren't
declared in the head or body of the webpage; they are globals in an
included .js file.

Could someone provide a brief explanation or example snippet that
would guide me in accessing the array data in my c# app? I'd really
appreciate it, thanks.
Dec 15 '05 #1
0 1443

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
by: Joe | last post by:
Hi, I am trying to alter the refresh rate of an online webpage in a webbrowser control using MFC. However the Timer ID is stored in a local variable and I don't know how to access it. Is there a...
1
by: milindsj | last post by:
Hello, I have a application hosted on tomcat. I use a jsp to set a cookie say channelid. Now I am redirecting this page to some other appliaction which is hosted in tomcat on some other machine....
0
by: Christopher Bray | last post by:
Hello, I am trying to retrieve a javascript variable that I have assigned to the "document" object of a hosted IE control. I imported the IE control per the instructions at the following URL:...
10
by: Febronio | last post by:
Can someone tell me how to access the Internet Explorer Document from a vb.net usercontrol hosted in this document ? Me.parent, parentform, findform don't seem to work. Thanks ..
0
by: Vin | last post by:
The .Net 2.0's webbrowser is neat and pretty. But I am not able to capture Key events when the focus is on the webbrowser control in my winform. Options tried. 1. Wrote a class which extends this...
0
by: Paul Hemans | last post by:
I have a hosted web page, in the documentComplete event for the webbrowser control I have the following code. IHTMLElement oState = (IHTMLElement)oDoc.getElementById("x2State"); if...
0
by: n.vaughan | last post by:
People. I'm struggling with an issue here. The .Net2.0 application i'm developing makes use of both the WebBrowser control and controls hosted with this. When the document has loaded i...
10
by: Anton | last post by:
Hi, when accessing a secured 3rd party webservice i'm getting a 401 HTTP Statuscode (unauthorized). When entering the url in a browser and entering the username and password manually, the wsdl is...
1
by: Tobias Maier | last post by:
Hi I want to start a C# ActiveX Exe with a parameter. Now, start a WebBrowser. Within Html/javascript I initiate my component und want to retrieve the parameter from the startet exe. I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.