VS 2010 : Controlling Objects In Frames (WebBrowser)?
Oct 6, 2010
I need to know how to control an object inside a frame on a web page. Actually, all I need to do is to be able to change the innerHTML of the body of the frame. The frame's id is "content_ifr". I've tried using the "getElementByID" method of the document to get the frame, and then setting that frame's document's body's innerHTML, but it didn't work.
View 1 Replies
ADVERTISEMENT
May 8, 2010
I am trying to programmaticaly click on this button, but I have some problems.
<button type="button" class="watch-comments-post yt-uix-button" onclick="yt.www.comments.watch5.post(this);;return false;"><span class="yt-uix-button-content">Go</span></button>
View 10 Replies
Apr 18, 2011
I use webbrowser as File Explorer.
If you click folder it opens new folder contents in WB window but if you click html document it opens in EXTERNAL viewer.
How do you get html document to open in WB while exploring ?
View 3 Replies
Oct 18, 2011
I am using <webbrowser>.Document.Window.Frames to get frames.My <WebBrowser> having 2 frames.My only problem is ,I seem one at index 0, but not 1.
HtmlWindow wf = wb.Document.Window.Frames[1];
string s = wf.Document.Body.OuterHtml;
and view source
<frameset rows="0,*" border="0" frameborder="0" framespacing="0">
<frame name="entrustTruePassAppletFrame" src="EntrustTruePassApplet.html" marginwidth="0" marginheight="0" scrolling="no" noresize>
<!-- It is mandatory for the frame where the user interaction happens to have the name defined in the Configuration as appletHtmlGuiTarget-->
<frame name="entrustTruePassGuiFrame" src="AuthenticateUserInputRoamingEPF.html"> </frameset>
View 1 Replies
Feb 9, 2010
I have been working on this one for a couple of days now. The company I work for wants me to automate a login (coupled with a phone dialer) to a national Satellite retailer. When the call center individual gets a call the ACD system forwards them to a URL and is supposed to log them in. Unfortunately one of the sites heavily uses frames and I cannot programmatically autofill the userid and password and programmatically press the "OK" button on thee website. The website is: [URL]. I have been able to drill down and fill in the userid and password fields, but this has stopped working but I have never been able to Invoke the OK button event.
View 2 Replies
May 14, 2010
I thought this would be easy, and I'm sure it is... but I'm not getting the response I want.
Here's the code..
[Code]...
What I'm trying to do is load a URL and grab the text from it.The text on the file I'm using is simply a 1, that's all. However, when the messagebox shows, it's empty. I've tried using google.com as the URL and got the same response, so that means it's somewhere in my code here.
View 1 Replies
Apr 11, 2011
I am currently working on some software for a taxi company, and we have been asked to create a webbrowser (only simple) for the users which we allow to use it, to view traffic updates from a website that we already know about.
But...
We dont want them to be able to navigate away from this site via links to google adverts Etc...
Basically we don't want them to be able to surf the net at all, only be able to work!
View 2 Replies
Apr 9, 2011
I have VS 2008 and am working in VB.Net forms.I have a webbrowser control where I am trying to control input fields that are dynamically created. If a text field has proper handles such as id and name tags there aren't any problems.
For example, I am trying to work with twitter for posts. I know twitter has an API but I want to work with many similar systems and want to avoid the API as its case specific and I want to scale things within the VB.Net form. The login fields for twitter are easily handled, however the posting field once your logged in is just a text area with a class. There is a tagname but I have been unable to post using the tagname element.Any examples of posting to twitter without the API ?
web1.Document.GetElementById ... ?
web1.Document.GetElementsByTagName ... ?
I've done extensive searching but can find nothing to make it happen. DOM inspectors havn't revealed much about the field.
View 1 Replies
Sep 10, 2011
I've been racking my brain trying to figure this out. I've done a ton of searching but I can't find what I'm looking for. Right now my program gets a image file, converts the image to 4 colors (Black, Red, Yellow and Green), then converts each pixel to a number for that color.This works great, but now I'm trying to do this for an animated image, but I need to be able to loop through each frame, but I haven't been able to figure out how to access each frame of the image.
View 6 Replies
May 31, 2012
I'm looking for a way to limit Picturebox repaints. For example, I wish to be able to only call "repaint" a certain amount of times per second. All my searchs have come up with nothing. I could start a timer and get it to call repaint manually but that only ends up calling it more as it doesn't stop the normal form raising the event.
View 3 Replies
Aug 3, 2011
I have 3 msgboxes in my program which should appear sequentially. However, sometimes they appear sequentially and at other times they appear randomly.
View 4 Replies
Jul 31, 2010
how do you control USERCONTROL button1_click event from form's button2_click event?
button 1 = hidden button on usercontrol1
button2 = visible button on form1
form1.button2 should click usercontrol.button1
View 4 Replies
Apr 14, 2010
What is the easiest way to control the cursor on a flash page?
Typically what I want to do is:
1. load the flash page in a web browser control.
2. Move the cursor to a specific position
3. Click
4. repeat 2 and 3 a couple of times.
View 7 Replies
Apr 20, 2011
Can I access elements in the Web Browser object while surfing ?
Like push a button or fill text box ?
View 2 Replies
Feb 27, 2010
My program has multiple webbrowser objects, each one in a different tab. How would i go about setting up a button to refresh only the webbrowser on the active tab?
View 1 Replies
Jul 18, 2009
I'm writing a tabbed web browser for someone who is learning VB.NET, and I have got to the point where I can add/remove browser controls into tab pages, controlled by one set of buttons on the main form, but I can't handle events from the WebBrowser objects.I have tried this but it says that 'DocumentTitleChanged' isnt an event of 'Control'...
Dim browser As New ArrayList
browser.Add(New WebBrowser)
browser(0).parent = TabControl1.SelectedTab
browser(0).dock = DockStyle.Fill
AddHandler browser(0).DocumentTitleChanged, TitleChangedHandler()
I want to update the tab title with the web page title when it changes. I started using a timer to update the tabs but there must be a way to add an event handler here.
View 2 Replies
Jul 12, 2010
I have a VB.net form which has two webpages embedded. The webpages have a 5 second auto refresh built into the HTML header as the information is constantly changing.
The problem I have is when I pull up a secondary form, I lose focus to the 'Main' form everytime the webpage refreshes.
Is there any way to stop the webpages autorefreshing in the form and I will build in a refresh command into a timer I already have in place and then I can start and stop the refresh at will.
Unfortunatly I cannot amend the source code of the HTML as this is required for a different process elsewhere.
View 3 Replies
May 6, 2011
I want to make a webbrowser, but only have it show one specific thing and not the whole page. The thing I want it to show and only show is in about the middle. How would I frame the page, and put it on the webbrowser?
View 1 Replies
Aug 11, 2010
Im creating a program that shows the CPU usage (already have the code for the CPU usage) frames per second etc, what im needing is the code snippet fordisplayinghe current FPS in a list box, but i also want the FPS to automatically refresh once a second
View 2 Replies
Sep 30, 2011
I have a screencasting program where it takes 10 screenshots every second and saves it to a temporary directory then through ffmpeg the series of images are compiled into a video format. My problem is that due to the computers processing power or the size of each screenshot and its quality it sometimes takes longer than 100 Milliseconds to create one causing the whole video to be off balance. How can I ensure 100% that 10 Images will be stored?
View 1 Replies
Aug 23, 2011
I am using frames for my web application.Description
(1)Left Frame with a list of buttons (clicking them opens a web page in the right frame)
(2)Right Frame, opens the web page passed by the left frame.
Problem: Button click works perfectly in Internet Explorer 8.0 on production machine, Windows XP, 32 bit.Button click event doesn't open anything in the right frame, just remains as it is, in Firefox, Chrome, Internet Explorer 9.0
Intial code that loads the frames
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="frmMain.aspx.vb" Inherits="XYZ" smartNavigation="True"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
[code]....
View 2 Replies
Feb 24, 2010
it seems to me that the webbrowser.document.frames collection disappears in the webbrowser control how can i access the dom trees in frames now? i'm using VS2008
View 1 Replies
Feb 12, 2011
I'm Using vb 2005. I need to capture frames of video files, save theme to my hard drive and later on to gather them thumbnails.How can I capture frames of video files?
View 2 Replies
Apr 3, 2011
Now i'm capturing frames from webcam and send them via UDP, it's not realtime. Is it streaming?
View 4 Replies
Mar 16, 2010
I have an animation program which allows users to import and animate images. I do this using timer events. I have a listbox which contains the image references, and a Image which displays the chosen image. Here is the
When the user clicks the "Animate" button:
vb.net
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles animate.Click
Dim cananimate As Boolean = True
[Code].....
I want to make a dialog to appear and allow the user to select a custom FPS for the animation. For instance, if they type 15, the listbox must go down 15 images in 1 second. But how do I convert FPS to a timer interval?
View 1 Replies
Dec 22, 2009
How do I create a mpg file that contains several frames and one audio track.
View 2 Replies
Jun 18, 2012
i would like to how to get all the current frames from a website and also how to access those frames (Meaning , only showing that frame or where the loc is of that frame?
View 4 Replies
Jan 23, 2010
I have 1000 frames and id like to create an application that will use all those frames and create a video file. I dont care about the file format(.wmv/.avi/...). Google isnt really showing any good results. Just this: [URL] The solution is to make PictureBox and quick load the pictures and will look like Video. I need it as a video file. Where can i look? is there a built-in function in VB.Net?
On the other hand it doesnt make sence at all: id like to create an application that will use all those frames and create a video file. What will be the time difference between two frames? What about the quality? ...
View 6 Replies
Sep 9, 2009
I did some research (mainly in the Drawing namespace) about animated GIF files and I know you can see how many frames are in the specified GIF using the GetFrameCount method, however how I can access each frame directly/loop through them one by one. This is my first time trying anything like this and I can't seem to find the right methods, classes or information. I'm not even sure if this is possible using the .NET framework.
[Code]...
View 2 Replies
Nov 9, 2010
In my project I am capturing frames using a camera. The frame resolution is 1280*1024. Now I wanted to copy the same captured frame i.e contents of buffer(1280*1024 size) into an another buffer which is of size 1024*1024. The remaining 256bits I just want to discard.
View 3 Replies