VS 2010 How To Make A Button
Jun 17, 2011First, I am wondering how to make it so that when i click a button it adds 2 text boxes and a label and can keep doing it until it hits a certain number and makes the form bigger?
View 1 RepliesFirst, I am wondering how to make it so that when i click a button it adds 2 text boxes and a label and can keep doing it until it hits a certain number and makes the form bigger?
View 1 RepliesI have a few questions. first, how do i make it so that when you open your program you can not open ctrl+alt+del = task manager? second how do i make it so that a button opens a .bat file? third Is it possible to a button open multiple Internet Explorer Windows? When i try to do this it only opens a bunch of tabs? and lastly how do I make it so that when it installs on a computer it installs straight to the start-up folder without the user knowing it, or how do you make it so it opens automatically on start-up?
View 1 RepliesI need my program to open the users default web browser, and go to a specific url. Its actually a menustrip but still.
View 5 RepliesIs there a way in VB.NET to make an event when a button is long pressed? Like one thing happens when you only click it and another thing happens when you long click it ..
View 3 Repliesi was just wondering is there was anyway to make a button that makes all enabled timers turn off. Because at the moment i am going to end up with loads of lines basically repeating this.. [code]
View 4 RepliesHow to make an SAVE button that saves the text from Textbox1,2,3 and add an comment on the file.Example:
1 button named "Save", when click to save the text from textbox1,2,3 in file named "Anti.txt" (in the same directory where is the .exe file)
2. to display an message when save is complate, if it is not to display error that cannot be saved
I got simply code for save,but i dont know how to modify it to be like this: [code] Where it is Textbox1: to be like a title in the .txt file and after it to add the text from the textbox1.
I have my desktop app, bound to an access database. I want now to improve a button so the user can make a backup of the *.mdb file.So i used this
If FolderBrowserDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
If FolderBrowserDialog1.SelectedPath <> "" Then
FileCopy("BDGRACIA.mdb", FolderBrowserDialog1.SelectedPath & "/BDgracia.mdb")
End If
End If
It works fine when i try the app from within Visual Studio. But when i install it it won�t find the database because it was installed elsewhere.Is there a way to control where the DB is installed and follow that route? Does this depend on the OS the app is installed? Or did I face the problem wrong and i should do something completely different with my button?
i need to Save Info From A dataGrid Into an Excel File using Save Button....i am using vb 2010 and 10x from now?
View 3 RepliesI am creating a VBA application using Excel 2007 and would like to make virtually all of the standard Office and Excel menus invisible to the user and present to the user only my custom menu controls. I have been successful in doing this for all objects on the Ribbon as well as those on the Microsoft Office Button Menu, with the exception of the "recently opened files list" box, that also has the "Excel Options" and "Exit Excel" buttons on it. Can anyone tell me the name of the object for this control so that I can make it invisible?
Here is the relevant snipit of XML code that is in my CustomUI.xml file:
[Code]...
How to make a link button visible after another button has been clicked in asp.net(vb) in button_click()
it says error as "Object reference not set to an instance of an object."
i've done this in my code
Protected Sub InsertButton_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim receipt As LinkButton = FormView1.FindControl("LinkButton1")
' receipt.Enabled = "true"
[Code].....
How to make glossy button in Vb.Net?
or
how change button background on mouseover?
I have button1 and button2.When button1 is pressed, I want the color of button2 to switch between white and red every second until it is pressed.
View 1 Replieshow to make the button move when arrow button is pressed
View 1 RepliesHow do i make my button open a program and make it windows size?
View 6 RepliesI wanna ask how to code to make a button make a sound out when pressed? Can you add sound files to it, like a mp3 file?
View 3 RepliesI have a few questions:
1. how do I make a button press a certain button in another application? (i.e - for example it goes to application "iexplorer" and press insert, home, a, b, or other button in the keyboard)
2. How do I make a virtual keyboard (for example a button opens form 2 or 3 and when you click on a button in the keyboard it goes to a certain text box in form 1)?
I have a button that will type a message saying 'hello' in a message box, (if clicked on). And I want to know how to make another one that will change it to say 'Hello Word' (when clicked on ).[code]...
View 11 RepliesCall Button1_Click(sender, e) This works but it only clicks button 1
and yes this does not work.
Call Button2_Click(sender, e)
the menu in the button is opened with click in the small down arrow, but NOT if click in the button image.
View 6 RepliesHow can I make a Button be in front of another button or behind it? If I want the Button2 to be in front of Button1?
View 6 RepliesI would like my ToolStrip button to actually look like a button instead of this flat thing that is the default. I would also like for it to depress when the user clicks on it, just like a standard Windows form button. I've spend a couple of hours searching
View 4 Repliesi want to make the Grid view Button(Time In) invisible until the User press Time Out Button. Once the user press the Time Out Button,Time in Button must be shown
View 2 RepliesI am trying to make an application with a start button and a stop button on a stop watch program. These are the codes I am using but my seconds on the stop watch don't start.
Public Form Dim intSecond As Integer = 0
Form 1
Private
Dim intSecond As Integer = 0
intSecond +=1
[Code]...
After I write my code and try to run the program, the seconds will not start,
I dynamically create buttons on a form and use the button text as ids so that I can pass that to an SQL query to pull saved data about that button when necessary, but I also use an image over buttons that have information saved about them. What I need to know is how do I keep the text on the button from appearing when there is an image assigned to that button? By default vb.net shows both the text and the image and no TextImageRelation values allow for the image to take precedence. I tried changing the text color to transparent, but the outline of the text is still visible through the image. Is there anyway to keep the text value as it is but just show the image on the button?
View 2 RepliesI am quite new to vb.net. So i might as some idiot question and make some idiotic mistake.Well, this is my problem. I have write the login code for vb. and i was able to make a connection to database everything is fine. but when it come to my if else there i just cant sign in with any account. and anyone pls point out what my mistake is? and let me know how can i solve it. T.Below are my login button coding.It may included some unnecessary coding as well. If possible. Pls point out too.
Private Sub BtmLogIn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtmLogIn.Click
im Username As String = usernametxt.Text
[code]....
I am working on a program where I need to read files. I won't know how many buttons I need until run time. I can't figure out how to create a button class I can call at run time. Each button will represent a file. I want each button when clicked to open the correct file and place the data into a rich text box on the form.Also, I need buttons to appear tightly in a row or multiple rows.
View 2 Replieshow do i make a minimize butten, but i dont want the main form one,is it me.minimize or is it somthing else
View 1 RepliesI was wondering how would I go about making a button a toggle button. what I mean is I press it once and it appears pressed.Press it again and it apears released,and have have the event set a boolean value?
View 3 RepliesI want to make an invisible button where the text is visible but not the button. When the mouse moves onto the button there will be an outline of the button.basically it just blends in the element
View 4 RepliesI have wanted to ask my problem.I make 3 buttons, button 1, 2 and 3. so when I click one button automatic button changes color. I'm using code like this
For Each ctrl As Control In frm.Controls
If ctrl = button Then
ctrl.backcolor = color.red
[code]....