Automating Tasks - Tick All Records And Then Click On Expire Button?
May 10, 2009
For my job I have to manually tick up to 50 boxes on a website and then click expire to remove the records from the site. Is it possible to automate this by having a small application which on the right hand side has a browser control and on the left a button which says expire all records. When this is clicked the tool knows to tick all the records and then click on the expire button? If so what sort of control should i look at using or VB code?
I want to progress this at a later date aswell so that the tool would then be able to click on each record individually to enter the record and then click re-publish? How do I get my program to loop round and then stop when it has finished expiring all the records? Also sometimes there are more than 1 page of results, so it would need to be able to tick all results, then click on the expire button, but then be able to click on the next page button and then repeat the process so it expires the records on this page?
I am looking for a method to dynamically execute blocks of code ('tasks') in a VB.Net program for a mobile robot. The bulk of the program is running in the background retrieving variables from serial ports, APIs, and the like. The user would select a task in the form of a toolbox button which pops up a dialog to enter task parameters. An accept button would add the task with the parameters to a list. The user would add more tasks to the list as necessary, and then click an 'Execute' button to start the sequence of tasks. The program would then perform the first task with the given parameters until finished, and then start the next task in the sequence and so on.
An example task would be: GPS Navigate:
A Parameter dialog opens and a destination is entered in the form of GPS coordinates. At run-time the task compares its current GPS position with the position entered in the parameter dialog. It calculates the direction to go and drives the motors accordingly. This particular task would loop until current position = destination position. Move on to next task. The code within the tasks themselves is not the problem, just the execution of the tasks.
I have an update panel that has a timer set as the AsyncPostBackTrigger.In this Update Panel I have a repeater and in the repeater I have a few buttons which have on click events.
The on click of these buttons does not appear to fire until the timer has ticked.I have tried debugging and this is what seems to be happening, either way it takes ages for the button click to actually fire.
Does anyone know why this would be and what I can do about it?
I have written an application using VB 2005 Express. It's a very simple application. There are basically two listboxes, one to the left and the other one to the right of the GUI.Listbox1 contains a list of names. When you double-click each name, a code word is created and added to the listbox on the right. Now... here is what I want to do. I would like to automate the double-clicking process with the click of a button so that each name on listbox1 is double-clicked in sequence
I am writing an windows application in VB.Net to automate the internet explorer using Visual Studio 2005.There is a website with list of orders. I need to accept the orders automatically whenever they arrive.There are 2 pages in a websiteand they will refresh at regular intervals. In the first page there is a list of elements in a grid with Accept and Decline buttons. I have to click on Accept button. Then next page loads with some text contents and a Check box and a Submit button. I need to check check box and click on the button automatically.
IS there any method to perform two different tasks in one click event Like By clicking OK button i can do
1- Instantiate a new form
2- Add somthing to listview or can do something else
But these tasks not to me simultaneous. One task at a time Actually these taks will be performed simultanously, but i want one task to be performed at a time, not both?
Ineed a VBS script that removes all scheduled tasks which start with a specific string.
For example, delete all scheduled tasks which start with "My Application Tasks..."
I wanna use this VBS script in my application uninstaller so all tasks created by my application are removed at the uninstall time, however am not familiar with VBS.
I'm new to visual basic & have learned many new things in such a short period of time from being on the MSDN forums. I have learned particularly in the subject of automating web browsing control using the getattributes etc., but I have tried everything that I have seen in the forums to auto click the "Settings" link in a created gmail account and then have the browser automate the "Forwarding" to another gmail address. I haven't found a solution anywhere to accomplish this.
So here is an account to try out in which this should only take a few mins to a veteran coder:
simple way of attaching a progress bar to the tasks of a button.When I press a button, several tasks will commence and I want a progress bar to show it's... well... progress.
I have to do a questionaire that gives three questions with multiple choice answers. When the user clicks a radio button it displays a tick or cross depending whether the answer is correct or incorrect. I also want to display, on a label, the number of correct answers with the number of attempts. i.e 1 out of 3. I have listed the code I have for the questions and radio buttons and I know I have to declare form variables but I do not know how to get it to recognise the radio button as a number to add to the total.
Private Sub radBevan_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles radBevan.CheckedChanged If radBevan.Checked = True Then lblScore.Text = "Incorrect. The answer is Beveridge." If radBevan.Checked = True Then picTick1.Hide() If radBevan.Checked = True Then picCross1.Show() End Sub
Like, I want a button to start five different timers, but at 1.5 second intervals. How could I make this button start timer1, wait 1.5 seconds, start timer2, wait 1.5 seconds, start timer 3, etc, etc?
I created a button control ,, by double clicking only the process was going on,,when iam single click the button nothing is to be happenend,,so i want to change into single click insted of double click........here my coding is given below.......
i'm making some login function with some website but this website button is some different before what i know method. to login this website , first should have to some button click then drop down menu go down then can input id and password. how can i emulate click and make drop down this menu? if you go following website you can see right side 'Log in' button if click this button drop down menu go down [Code]
I have a vb.net application that uses Flash movies (AxShockwaveFlashObjects.AxShockwaveFlash). I have buttons in the flash movie. When they first start using the application, they can single click on the buttons in the flash movie and button responds accordingly. But after a while (and I haven't been able to pin-point an exact thing that changes it or my issue would be solved), the user has to double-click on the button in the flash movie for them to work.
How can I make a program so you click a button and select a File using a OpenFileDialog and click send on your computer and it will send the file to a different computer and then a SaveFileDialog will show asking where to save the file on the other computer. Oh ya I cant use WinSock or whatever becuase im using Windows Vista 64 Bit. I need it because I for some reason cant use printer sharing. It might be because im on A 64bit Vista Machine and I want to print a file off of a 32bit XP Home Machine.
I want to create a server control that inherits System.Web.UI.WebControls.Button but gives it special capability, now what do i mean? i want my button to be a confiorm button that will work like so:
Renders to the page as a button of lets say cancel after the user clicks it i want to catch the click event (within the server control) and now after the click makeing the button not visible and makeing some kind of content placeholder (that will render from the server control) visible. that content place holder will have 2 buttons inside of it: yes and cancel. I want the programmer that adds this control to be able to register a function to the click event of the yes button. and the second cancel confirmation button should make the first button appear agian. (i know how to do this all in the client side but this time i need it all as server events)
My question is this: how do i catch the click event? i want it all to be handled inside the server control itself. so a programmer that adds this control wont have to worry about anything but just needs to register to the click event of the "yes" button.
I have the following code which inserts a record at a time, instead I want to insert all the records at ago instead of calling the routine by clicking a button to insert a record a time. Presently, if I have 3 records I have to click the button 3 times to manage to insert all the records. I want to perform only one click to insert all 3 records.I have a For statement but it seems it's NOT doing it.
1. Retrieving data from an .mdb 2. Displaying the table(s) in a datagridview 3. Populating an array of structures with the table data 4. Searching the array of structures for a member value equal to a string 5. Displaying the matching array elements in a listbox.
[code] Any suggestions? Am I missing something simple? Should I be using a Multidimensional array instead of a structure?
I have a basic window that has 20 buttons (One, Two,.....,Twenty).Currently if you click on a button its background color changes, and changes back on next click.I'm looking for a way to make it so when the mouse button is held down I can drag across the screen and it will change every button I hit.Disregard the "Shut Down", "Restart", "LogOff", "Clear", and "Invert" buttons. This idea doesn't apply to them.
One the click of a button the stopwatch starts, then on the click of a second button the stopwatch stops then states either in a msgbox the time taken between the two button clicks.
Is it possible to do a multiple records editing by linqtosql method in one click event? What I've been trying to do is to edit all the names in the table which are having the same account number. I was able to edit but only one name has been edited and the rest are not.
The codes I used. Private Sub Button2_Click(------------) Handles Button2.Click Dim accnt As String accnt = Textbox1.Text Dim db As New memrecDataContext() Dim editrecord = From mem In db.Table1s [Code] ......
Why is it these codes could only edit records in one datarow?
We are having problems with the speed in parts of our application, Standard .NET 4 Windows forms application. We have a ListView containing some commerce items and the user can click on items to put them in a shopping cart. The problem is that when clicking 10 times fast on one item, only 4-6 items is added to the shopping cart.I get the same result when building a simple test application with only one ListView, with one item and a debug.print in the click handler.I have tried to add a Button in the same testapplication and this is fast..[code]
i just started playing with the menu toolbars in the toolbox. neat stuff. this thread is mostly for a contextmenustrip, since i'm trying to do a virtual right click on a regular click so the context menu shows..
i would like to know how to do a virtual right mouse click, so that's primary and reason for this thread, but if there is another way to have the context menu act on any other commands, then do post..
I'm studying creating webpages in VB.Net. After a successful Logon, I want that page to expire or simple disallow users to 'go back' to that page (not necessarily disable the back button). I have created webpages under the Master Page.
I have a button on my form where I'm showing a ContextMenu when the user left clicks on it, I'm actually using MouseUp right now to show it.What I would like to have happen is the user click on the button, the button stays pressed while the ContextMenu shows, it returns to normal when the ContextMenu closes (Either a menu item was selected, the user hits the escape key or they click/tab to somewhere else). Also I'd like to position the ContextMenu in the lower left corner if the menu opens down or the top left corner if it opens up. So the left edge of the ContextMenu is flush with the left edge of the button.Moreso the button staying pressed until the ContextMenu is closed.
Edit: I'm also ok with this being it's own control inheriting the FW's Button that used the assigned ContextMenu as well.