VS 2008 - App That Clicks A Button On A Site Link Called Say Every 5 Seconds
Mar 26, 2010How can i make an app that clicks a button on a site link called say every 5 seconds ?
View 4 RepliesHow can i make an app that clicks a button on a site link called say every 5 seconds ?
View 4 RepliesIs it possible for to click a button on frmmain and it also clicks a button on frmnew?.
View 2 RepliesI am using ASP.NET 3.5 and we are having a problem with our website www.s1.com
Also go to other links in the page if you dont see it on the home page.
When you open the site in IE 8 the top menu at first gets displayed like this.
And then the rest of the website loads. What can this be? Maybe a setting on the Server or in IIS?
I have a trouble with the source code. I am visiting to the site page for every 1 seconds and it working for the last few mins but it stops.
[Code]...
How can I make an autoclicker that senses when the mouse is moving and when it stops it automatically clicks. Such as every single second it checks for the mouses location and if the mouse is in the same location for 4 seconds it automatically clicks.
View 6 RepliesI'm deploying a VB.Net app (VS 2010 Pro) that requiers the user click a command button to open IE to a financial WEB site and download informaion from the site. The app works fine in every detail when installed on the development computer. But, on the target computer when the command button is clicked an unhandled exception occurs which says: System.IO. FileNotFoundException:File Not found.My code behind the button is Shell("C:Program Files (x86)Internet Exploreriexplore.exe www,fidelity.com",AppWinStyle.NormalFocus)
This works fine on the development computer. Do I need a way to code this as a relative path? If so,can you tell me how this is done?Throughout the app I have written relative paths to needed files using paths like (Open(Environment. GEtFolderPath (Environment. SpecialFoldder.Desktop) + "File Name). They all work fine when deployed.
i want to know how can i code my button when i click it will open my site ... i Think i was clear.
View 1 RepliesI'm trying to register two hotkeys to enable two different button clicks. I have the first button successful. (F9 = Button 1) How would I add the second button without errors? (F10 = Button 2)
[Code]...
I basically, want this to happen:
Label1.Text = Form2.Button1."number of clicks"
How do I do it?
Im trying to check and see if the right clicks on a link in a webbrowser, if so enable a button on the contextmenustrip that allows him to open it in a different tab.
Dim Oelement as HTMLelement
Private Sub ContextMenuStrip1_Opening(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles ContextMenuStrip1.Opening
If oElement.TagName = "A" Then
[code]....
i have a button and if a specific option is set (via a checkbox) then once every 5 times the button is clicked an extra event happens.I thought a counter/Integer would be the way to do it but i cant seem to get it quite right, heres my code i have in the buttonclick event:
[Code]...
I have made a tabbed webbrowser and adding the final touches to it. I want to add:A progressbarHistoryStatus label to show status of current tabA changing addressbar to show URL of current tabMake it so that the title of the Form is the title of the current tabI know this is overwhelming.
View 10 RepliesI have created an application which will open a text file on the click of a button, when i am running the application in local, I am able to get the popup asking to open or save the text file, I uploaded the same code to live site there it is not displaying the popup to open or save the text file. It just flashes a window for fraction of seconds and then closes, user is not able to perform any action in that course of time. Text document which I am trying to open is available at both server and local, and path is also correct in both cases.
Below is the code I am using to open the text file:
If (File.Exists(strFolderPath & "" & strFileName)) Then
objFileStream = New FileStream(strFolderPath & "" & strFileName, FileMode.Open, FileAccess.Read)
objStreamReader = New StreamReader(objFileStream)
objStreamReader.BaseStream.Seek(0, SeekOrigin.Begin)
[Code] .....
i'm trying to build websites crawler and i having a bit of problem creating recursive function to get all the site link, provide a link to an example ?
View 2 RepliesIve got an app that holds a list of site we have, At each site there are a few devices. The idea is when they click on a site all the details for the site are loaded and then a second thread sits and pings each device to see if its live. Im trying to do this in a seperate thread so if they click another site while its still pinging them it doesn't wait before it switches site. This all seems to be workling fine except if you click through the sites quickly, when you do that it will eventually come up with
Quote:
{"Collection was modified; enumeration operation might not execute."}
The error flags up on the "Next" line in "ThreadedPing"
Thread stuff
Public Sub ThreadedPing(ByVal dt As DataTable)
Try
Dim dr As DataRow
[CODE]...
im trying to link a browse button to a textbox when the user clicks the browse button and selects a destination the selection is displayed in the textbox
View 2 RepliesI'm trying to make a button on my Web Browser Project to click a link but those links have the same Innertext but have different hypertext reference (href) and I want my button to randomly click one of them but my code below only clicks the last link on the page.
So here is my
For Each unit As HtmlElement In WebBrowser1.Document.GetElementsByTagName("a")
If unit.InnerText = "Next" Then
unit.InvokeMember("click")
End If
Next
i have seen this in many codes, just not sure where to start and how to call the command. what i'm talking about is having code as such (this is for save file dialog):
[Code]...
On each of my form I have put an 'Exit' button. When user clicks it, another form is displayed (I don't want to use 'MessageBox') asking user whether he really wants to quit. If user clicks yes the form closes. If user clicks no, form is redisplayed.
However, out of 4 forms only one form refuses to redisplay. The code is exactly same on all forms. I have included 2 Express 2008 projects showing one form each in the zip file apps-ssk.zip
I have set up a notify icon for my form. I want to make it so that when the user clicks the close button that it doesn't close the form it just takes it to shows the notify icon. They can exit the program from the notify icon. Can someone tell me how to keep it running?
View 2 RepliesQuick question - if I have a timer set to 5000 (5 seconds) and the code in the timer takes longer than 5 seconds to run because of sql stuff, will the timer wait until the code is done till it fires again?
View 3 RepliesHow do I make it so that when the user clicks on a download link, the download dialog is surpressed?
View 5 RepliesI have a class with a textblock and button control using silverlight.When I click on a button I cant set the textblock to anything? why? I take it I cant handle events in classes this way?
Public Class ClassQuestion
Dim _txt1 As New TextBlock
Dim _but1, _but2 As New Button
Public Sub New(ByVal canvas1 As Canvas)
AddHandler _but1.Click, AddressOf but1_click
Private Sub but1_click(ByVal sender As System.Object, ByVal e As RoutedEventArgs)_txt1.Text = "dasd" 'no error but doesnt work End Sub
I basically, want this to happen:
Label1.Text = Form2.Button1."number of clicks"
How do I do it?
i am building vb.net web application with vs2010 i have in the form two buttons, accept and reject What i want is when i click on accept or reject, it stays disable for clicking until the code on his click event is fully executed now when i run the application, i can click several times on the button before the code on the click event is executed?
View 3 RepliesIm creating a noughts and crosses game, what I want to happen is for the user to choose either an X or a O from a combo box then click the button to try and win the game, now the game is just about finished, ive finished the design work and all the code is written.HoweverThere is one problem, the buttons are not behaving correctly, when I first load the game the first two button select a character and they shouldnt until a character is selected, also when I choose a character only the first two buttons work, if I press the new game button which resets all the fields then everything works fine.Below is the code I wrote for my combo box - human player is a form level variable as a string data type
[code]...
Just when you press a button, it will open etc. google. ??
View 7 RepliesHow can i make it where you click button 1 and on a page likeebbrowser1 it will click the text Add as friend cause they don't
View 1 RepliesI'm using devexpress aspxbutton, and I was wondering how can I prevent the user from clicking the button more then once..? basically it does an update/insert statement.
View 3 RepliesI need to visually moves the cursor using keyboard keys.
1) I need to get the mouse to where the button is
2) Simulate the mouse movement to the button from wherever it is
3) and simulate a button click.
Only after i select a button i can start drawing on my form. I have a code here, when i hold the Ctrl key and press the arrow keys, the mouse will start drawing straight lines. But what happen when i need to use controls like buttons, comboboxes etc.?
[Code]...