|
-
Oct 17th, 2001, 05:21 PM
#1
Thread Starter
Lively Member
Newbie Questions #1 and #2
Sorry to be a bother. I've got some questions that I couldn't find answers to after scouring the past threads:
#1) I'm trying to create a simple program using the WebBrowser control. I need to fill in a couple of textboxes on a web page, click a button, and click a link, etc.
I've seem some code that allows me to grab names and destinations of links, but how do I actually 'click' the link via code? The link position changes from time-to-time, so my original (not-so-bright) idea of using 'Sendkey' to send a bunch of tabs until the proper link is selected doesn't work so well.
So, is there a way to choose a particular link and 'click' it via the WebBrowser control? Same with choosing a given textbox or button.
#2) Here's a silly newbie question from one who obviously doesn't know much about ASP. If a page is updated, can I include some ASP code that will re-send the updated page to all active sessions?
In other words, I've seen web pages with tags such as:
<META HTTP-EQUIV="REFRESH" CONTENT="60">
which I gather tells the browser to refresh every 1min. Is there a way to do this backwards (ie, from the web server) and contact all active sessions to send the new page?
I would suspect the answer to my own question is 'no'. But someone who is much wiser could possibly enlighten me, or suggest an alternative way of accomplishing this.
Thanks!
- Kronix
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
|