I'm trying to make a basic Windows Form and I'm trying to make it so once the first button is clicked, a set of new buttons come out which can also be clicked. I've gotten the first button to open up a set of buttons when clicked; but i can't manage to link events to the clicking of the new buttons.
[CODE]......................
That was my first guess, but I got some WithEvents error. I went back up to the top of the class and added Dim WithEvents BHorse As New Button. Now I don't get any errors but the click event isn't working at all.
i am on my first project, an application which i want to based on other modules and win32/console applications that i want to put in. the very first issue i m facing is creating a button redirecting to a win32 app..i found this in a recent topic of this forum [code]with this, i get the error BuildOS.exe has stopped working when i click the button as shown in the attchmnt. but that exe runs fine when i open it manually.
I have this code which when I run the program and click on the btnReturn the form actually minimises to the taskbar. What I have noticed is that yellow and green lines have appeared next to the btnReset section and all the way to the end of the code and that the last line (private sub fmmxxxxload) had disappeared, which I replaced. Now when I run the program it still minimises rather than appears on screen. If I click on it in the taskbar, the correct form is displayed.
I'm trying to make a basic Windows Form and I'm trying to make it so once the first button is clicked, a set of new buttons come out which can also be clicked.
I've gotten the first button to open up a set of buttons when clicked; but i can't manage to link events to the clicking of the new buttons.
Code: Private Sub BHorse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BHorse.Click Label1.Text = "Click Worked" <--- Not working
I want my Button1 to open a .docx file in Microsoft Word when clicked. I tried some shell stuff that was suggested elsewhere, but it didn't seem to work.
I am trying to make it so if you click on button1, it opens up a map for the user. Same for a series of other buttons and maps. What map is displayed is dependent on which button the user clicks on.
I have not been able to get this to work successfully.
I want to be able to click a button in my app and this will cause a certain program to open. (Click a button and NotePad opens) BrandonIf you are flying upside-down, and you pull up, you are really pulling down into the ground!
When I press a button on my form i need it to open a file. E.g. I want it to open a song (in windows media player, windows media player is the default program to open mp3's) Shell("C:UsersTomDesktopmysong.mp3") When trying the above ^ it just says file cannot be found.
I want to Animate or put styles when a Form opens up. May be it should break into pieces as it opens up and come together... something like that. Any kind of style.
i am making a windows form for a company and i am in a mess in getting my database connection to my datagridview by clicking a button and my data should been shown in datagridview. datasets and connection strings.and even i want to print the document.
1. Something similarly I want with another button - when I click button2, I want to remove specific object - let say panel2, not hide it.
2. The second thing is that I want to put text from my textbox into excel, but in specific row. I would like to do that with word file as well. I would like to put text form my textbox in specific table, or row, or line. I only know to put text into a file.
i got a form that when i press button1 it runs button 2 and i want to run button 3 after the whole process of button 2 its done.how can i do this
vb.net Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles starauto.Click button2() ''WHAT CAN I DO HERE TO CALL BUTTON 3 WHEN 2 ITS DONE
or also i have a flag that is activated (in the code of button 2)when the button 2 its done..so how can i make button 1 look for the flag "on" after button 2 its done?
I want to make a save button to save the text into the richtextbox and make a Load Button to take text from a .txt,.html,.php and blablabla.. and send it to the richtextbox ...
i'm a beginner at vb.net and well i think this is very useful for future experiences.anyways, everything i have now is working so far.. and well i would like to add a backspace button and a percentage button but idk how.. idk if i can put up the program itself but.
opening a program and type something in their textbox or click on button of program if you can tell me refrence or .net platform class that can i access to another filed program
I 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:
I am making a small game of pong and i want to incorporate a pause feature. is there a way i could freeze the form in place and then unfreeze it later at the push of a button. the tutorial i used is below so check it out to get an idea of what i've made so far.
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.