Button1 Opens A Webpage?
Jan 29, 2010i want to know how to make my "Button1" open a webpage using the users default browser.
View 2 Repliesi want to know how to make my "Button1" open a webpage using the users default browser.
View 2 RepliesI have ran into a small problem with my code. I got bored lately so I wanted to try a project. A program that will start up with windows starts up and it opens a webpage like google.
My code is below.
Imports System.IO
Public Class Form1
[CODE]...
I use the code [code] System.Diagnostics.Process.Start [URL] when a button is clicked, but when I add that code in without clicking a button, it does not work. I have tried to put it everywhere, but it just does not work. I have also looked it up.
I need to create/get a simple program that opens up a webpage, writes to a log if it is successful or not, logs out and repeats 5 minutes later.I'm not a coder myself, and I have no coders available at my work, I do on the otherhand have access to Visual Basic .NET 2010.
View 5 RepliesI wanna know if it's possible to make an application that opens a web page and auto-click a defined text from that page.
View 2 RepliesI want to Click Button1 in form2 from form1.Button1. means, when i click form 1 button it also click form 2 button
I wrote a code....but its not working
Button1_Click (Form2, EventArgs.Empty)
And i also tried this
Form2.Button1_Click (Me, EventArgs.Empty)
I want to Click Button1 in form2 from form1.Button1.means, when i click form 1 button it also click form 2 button I wrote a code....but its not working
Code:
Button1_Click (Form2, EventArgs.Empty)
& i also tried this
Code:
Form2.Button1_Click (Me, EventArgs.Empty)
This is very, very simple question, I even posted on another forum, but apparently I didn't get the right answer.
View 3 Repliesi have an aspx page with vb.net back end. in that page i get names and url's from the database depending on different conditions. My requirement is that when i get the url, the code should then use that url and have that webpage in a small preview form on my existing aspx page. so basically i have a table as follows -
[Code]...
I making a webpage with the help visual basic. I wanted to put a flv video in it and i used flash control for asp.net [URL]. I made the player in flash told it to download the video from the sever. Now when i put the player on the webpage and put the webpage on the sever it cant play the video. But when i just pres the the player which is in swf format it works. It can download the video. But when i put the player on my webpage it cant.
View 5 RepliesI am trying to get a listbox to appear after i click button1. I want it to have This is an listbox displayed. What do i have to do to this code to make that happen? what am i doing wrong?[code]......
View 4 RepliesHow do I slow down the execution in the button1 sub. I want say a .10 of a sec. between the loop x after it displayed Pb1?
View 13 RepliesHow do you automaticly click button1 ?
I need something like button1_click() = true
I am making an auto login program, and what i am trying to do is have it so when you press a button (button1) it will start the web browser sub. I have to have the code for the login in the web browser sub because otherwise it wont work. But I want it so that the button will start the code in that sub.
Public Class Form1
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
[Code]....
I have a situation where I need to ignore parts of page load sub inside a isPostback = true. Basically inside the isPostBack I want something like if button1 caused postback.... do this else do this...
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If IsPostBack = True Then
If TextBox1.Text <> String.Empty Then[code].....
i have a script that i start by pressing button1, when the script finished how can i auto start it again from button1 without clicking it ?
View 1 RepliesOn my form I have one button (button1). When I click this button it starts my app. My app is meant to loop forever. Is there a way for my app to click button1 on the 20th loop?Here is an example of my app:
**Click button1**
webbrowser.navigate("")
looping:
'some code
'some code
goto looping:
how can I stop a do/until loop when I press button1?
View 15 RepliesAnyways. I am working on a program/game.
Okay so. I have a textbox. and a button. I made the button disabled.
What I want to happen. I want the user to enter exactly 4 characters. Once this has been done. I want the button to becomed enabled.
This is what I want.
If
textbox1.text = (exactly 4 characters) then
Button1.enabled = true
Can You give me code who does everything below after Button1 sumbit? [code]
View 13 RepliesImports System.Diagnostics
Public Class Form1
Dim game1 As Boolean
[code]....
i have a form1 and a button1 i want to when i press the button1 ,the recent backgroundimage 'ex.png' changes to be 'ex1.png' what is the code ?
View 1 RepliesI'm trying to find out how to automaticly click button1 when textbox1 has 10 characters?
View 7 RepliesI have a windows form application that uses datasets and mySQL. I am wondering how I would get started in making one of the buttons blink dependant upon database status.In short each record has a column where the user marks a received checkbox. I would like for a button to blink if there are any request that are not marked as received.
View 1 RepliesI'm using Visual Basic 2005 and access 2003..I have textbox1, 2, 3, 4 add to 1 column and 4 cell/row to datagridview1 [code] if i click add_ button 1 save to datagrid view what coding in Visual Studio 2005
View 8 RepliesI am needing some help with coding a generator when clicking on "Button1."I am needing the click of "Button1" to spawn a random 16 digit number that is completely random such as: "9381182729373054" for a password to login with that generates to "Textbox1." Then at the same time as that "Button1" needs to spawn a random 3 digit number that is randomized such as: "473" for "Textbox2." While this is generating the first two textboxes. I want it to spawn a username or random generated name into "Textbox3" such as: "John James" or a random generated username for a game.
View 7 Replieshow i can copy a dgv with data by executing button1 click
or how to copy a datatable
1.i want to grab this image[url] a and load it into a picture box 2.i want to make button1 click a button on a website[url]
View 2 RepliesHow can I make it so that when a radio button is selected, button1 is enabled?
View 3 RepliesI am trying to search a Access Db via a TextBox1 a Button1 and a dataviewgrid.My sql statement loks like this:
Select LastName FROM Clients WHERE (LastName LIKE 'TextBox1.text')
This doesn't work I have tried '" & "' around the textbox words I've tried '& TexBox1 &'. This I tried to learn from Data over forms video-- LIKE @LastName +'%' that really didn't work. If I use = "Bla bla" it will work but the LIKE word does not. Even a point in the right direction. I've spent many many many hours on this. And what makes me mad is I've done it somhow before even with a combobox as a variable in the SELECT "var" but anywayI'm wondering now if the LIKE statement isn't used in Access? and if the % wildcard is used in Access?
i need a code to click event for second button. When i click the button1, then button2 should be clicked automatically.
View 14 Replies