Getting Automate Browsing Website?
Sep 24, 2011There is a website and it has excel file. Daily I login to it and open excel file update, save and close it and then logout. This I want automate using code.
View 2 RepliesThere is a website and it has excel file. Daily I login to it and open excel file update, save and close it and then logout. This I want automate using code.
View 2 RepliesI'm currently trying to teach myself VB. I'm trying to automate a web-browser to go to a certain website. I wish to place the script on my desktop. But I keep getting syntax error 800A03EA. Here's my code.
'webbrowser.vbs'
WScript.CreateObject(' "InternetExplorer.Application" "IE_" ' )
ie.Visible = true
ie.navigate("www.google.com")
Im building a little program to automate downloading of orders for work but having a few problems.One of the pages has 2 Radio buttons on it, One says "download all" and the other "Download orders for selected dates"Now the radio button i can select fine, It goes to the "download orders for selected dates" one nicely but im having trouble putting the dates in on its own.
The "to" date is ok as it will always be the sate you run the program on so have used the "today.date" string and it puts this in ok. But with the from field i need to be able to select this.
I am using a datetime picker box on my form and can get it to put in the date in the box on the website, But to do this i have to click on the datetimepicker and click on the date, It doesnt already select this.
I would like it so i select the date first and then click my Login button, It goes off to the website and fills in all the details and then the next popup i get is where to save the file.So is there a way for the date time picker to put the current selected date in automatically?
[Code]...
I am trying to automate login and navigation to a website using the WebBrowser control. I can successfully logon to the site using the wb control but after that I can't seem to get access to the newly loaded document's elements within the same routine. I check for ReadyState Complete and IsBusy but they don't seem to be working. There don't appear to be any frames being used at all so I can't figure out why this won't work. I know that the wb control is successfully logging in because I can see the page load in the wb control. However, after the page loads I try to access the HTMLDocument for the new page (after logging in) and it is either set to Nothing or it's the previous page's HTML. I've tried putting in a Sleep to wait for the page to finish before trying to access the HTMLDocument on the new page but it still doesn't work. If I create a button on my form that accesses the HTMLDocument and click it it works fine. I can't figure out how to ensure that the entire page has finished loading within my routine. I tried putting a switch into the DocumentCompleted event but that doesn't work either.
View 2 RepliesI am trying to automate a process I do with a bank with vb.net. Basically I need to open a website and navigate through it (Automatically through the program obviously), enter a batch ID and enter a file path and name. For some reason when I get to the part where I need to enter the file name and path, it simply will not populate the text. I have attached a word document with screenshots and code. The only difference I can see, is that in the bank website's code the the input type for the file text is "FILE" rather than "TEXT" as it is for the batch id...
View 3 RepliesHow do I automate a web page (e.g. retrieve page text, login website, search, click button or hyperlink) via WebBrowser?
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
I am new to vb 2008, but I know how to automate some html elements. The issuse that I running into is that I cannot get my webbrowser1 to auto-click the "Gmail" button at the top left of the page or the "Show me my account" button on the righthand side of the webpage. Here is the webpage that I'm trying to auto click: url...Can someone please view the html source and give a code sample to click either button so that the page can then go on to the following page?
View 7 RepliesI have a WCF service installed on my system. I can browse and see the .svc file just fine. Should I be able to use a browser to view the endpoint addresses such as https://svc.example.com/BaseService/Login
View 2 RepliesI'm working on a web browser, (it uses the IE engine, im fairly certain)with visual studio, anyway, whenever I click on a link, it opens in a new IE tab, not in my own brrowser, as do popups.
View 1 RepliesI have created a simple database table in SQL Express.Now, I would like the data in the table to appear in a VB datagrid.But, I cannot brows the connections in VB2008 express(data on local PC why ??
View 3 RepliesIm brand new to programming. Apart from doing a few digital dashboards in excel i have zero experience with vb or creating code. You may need to be patient.What i am trying to do is from my form, browse to a pic in a folder and insert it into a picture box in the program. the pic should insert itself into the program after it has been selected, and the picture should resize itself to fit the pic box (or viceversa if need be)
I have looked at some similar threads on this issue but none of the code in those solutions is working for me.
I am trying to load some data from a database table into a data grid. However the way it is accomplished is that the user will be able to select the database (i.e. the database can be located anywhere in the hard drive) and once he or she selects the database, a second interface would allow him or her to select the number of tables within that database (can be any number of tables). Once the table is selected the contents of the table will be loaded into the datagrid. It is just like opening an Access (.mdb) file and then click and open a table within the file except that it is done programatically
View 8 RepliesI have been tasked with trying to build a small program to delete internet browsing history and cookies, My form consist's of just 3 buttons one to delete browsing history one to delete cookies and another button to do both. I have looked all over the internet and come across a few ways but none work any other ways to do this task?
View 2 Repliesi have a little company, where my employes work, wanted to know if they are not wasting time in my office, so i decided to make a little application to get history by all browsers, i tried and only could get from IE, but i need cross-browsers history at least minimum from Firefox + IE ?
Ashfaq Ahmed Web Programmer + Software Engineer of the world where nothing is impossible :)
How would I go about having my program monitor all open (or at least the current active) Internet Explorer windows and their current URLs? Basically, I want my program (running in system tray) to monitor the web page that is being viewed in an Internet Explorer window (NOT an integrated web browser control), and if it detects the loading of a specific URL address, execute whatever code.
View 6 RepliesDim OrgValue As String '%USERPROFILE%AppDataLocalMicrosoftWindowsTemporary Internet Files
Private Sub Form1_Load(sender As Object, e As System.EventArgs) Handles Me.Load
'read the key of temp internet folder
[code].....
I'm creating an open-source web browser in VB.NET and I'm trying to load the browsing history from My.Settings.History (StringCollection) and list the items in a listbox, but only the first item appears.
Here is the code I am using:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[Code].....
How can I implement a "browse button" in a custom form so that a popup appears which allows you to navigate an ftp site and select a file?
View 3 RepliesI am currently working on a Web browser and I want to make a button to delete the browsing history. I found the file URLHIST.TLB but I cant Register it.
View 2 RepliesI've tried multiple times to create a web browser with tabbed browsing. I know that I have to use "tab control".
I have succeeded in creating a semi-tabbed browsing. People are able to add new tabs, but the webbrowser component only appears in one tab page.[code]...
Is there any way to clear Browser History using C# or VB.net desktop application.
Browser Name, Starting time and Usage Time and all i got it.But i can't able to delete that particular browser history.[code]...
i need something simplei tried using webbrowsers to view files, had 5 different browsers in a tabcontrol and it seemed to slow down the pc.. hmmm.. so, maybe the basic vb coding will do..although it was easy w/webbrowsers, just WebBrowser5.Navigate("C:Documents and SettingsOwnerDesktop ru filesemulators") and it was done... anyways,
View 7 RepliesI am trying to make it so if a button is pushed then it will take you to a file browser where you can select a image. after you select an image and click ok then it will upload the image to a picture box. Is there any way to do this with the folderbrowser dialog?
View 1 Replieshow do I disable browsing to a http link from a Html editor. I have a vb.net web form with a html editor, when I add a hyperlink to the html editor, for example my application website for instance[URL]...When I run and click the link I can browse my application from inside the Html Editor which is so weird.It should open the link in a new window. How do I stop this from happening.This is an Intranet application. And the component for Html Editor is of TMS.
Or is there any Javascript code available where I can deactivate the link from an HtmlEditor, i mean when i add any hyperlink it should be not be activated , or no should be able to browse it from inside the HtmlEditor ?
I am trying to create an application where you can browse to a folder, press install button and it will copy some files to the directory of your choosing? I found some example code but how do i go on with my code from here? Cant figure out how to copy the files. You can see at last in the code i tried to copy files but its not really working, how do i use the function? I want the files to come from the application directory. And copy to the browsed folder.
Public Class Installer
Private Sub Installer_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
End Sub
[Code]....
I have a program that autologs itself into facebook and monitors posts to my main page and tells me if anything new comes up. Every minute my program refreshes the page and searches for a new post, if my session is expired it logs itselft back in automatically. If I'm in explorer trying to play farmville and my facebook monitor program is running then I'm forced to log in about every minute because my login at the browser kills my vb.net program session.
Then my vb.net program logs itself back in and I'm out! This behavior doesn't happen If I have two browsers running I can log into both and it doesn't seem to effect the other. I can even have my wife log in from another machine while I'm logged in and It's ok. So The question is why is useing the webbrowser controls in the Vb program any different then just having 2 open and logged in browsers and jumping between the two.
I add a date picker as follows
Friend WithEvents dtpReportDate As System.Windows.Forms.DateTimePicker
The default date picker has left arrow and right arrow which allow you to browser previous month and following month. I add a handler to date picker valuechanged event:
AddHandler dtpReportDate.ValueChanged, AddressOf dtpReportDateChanged
Private Sub dtpReportDateChanged(ByVal sender As Object, ByVal e As System.EventArgs)
'do something here
End Sub
The problem is that whenever I click left arrow or right arrow to change month, the dptReportDateChanged is triggered. I do not want this happens. All I want is that after I find a month, I double click date to trigger the event.
What Im making is like a face book and tagged login from my app
1. I have Combobox with 3 urls in there ( Facebook.com Tagged.com and Bebo.com )
2. I have a Form2 with webbrowser
3. I have a Button when clicked it should open up my form 2 and preview of the website which I selected in my combobox in form1
All I'm trying to do is when I select lets say facebook in my form 1 and click load it should open up my form 2 with facebook website in it.[code]Now when I click my button in form 1 it will load Form2 ( named Explorer1) but my form2 is not showing me facebook or tagged page for some reason
i'm creating a website that allows people to upload images to the website in a folder called images on the Site. But I don't know how to upload a file and I'v searched everywhere Please Note: In this Website were not Using the asp:fileupload, were developing our own interface
View 1 RepliesI am doing examination using vb.net but my has some error .[code]...
View 1 Replies