Press The Minimize Button On The Dialog?
Sep 30, 2009I Want To know when my dialog displays and i press the minimise button on the dialog how to resume the form ??
View 2 RepliesI Want To know when my dialog displays and i press the minimise button on the dialog how to resume the form ??
View 2 Repliesi'M making a program for a game a tool software I made that when I press a button in another dialog it appear a text + textboxs.text so when I press a button it appears in the dialog but all in the same line how do I do that when I press the button the textbox in the other dialog says.
View 3 Repliesi'm making launchers for the game MuOnline with vb 08 and i want to ask how to make when players are playing and they press F11 to minimize the game and f12 to restore the game back to fullscreen or if its window mode to restore it to window mode
View 2 RepliesUsing 2 forms how would I click one button, from another form? ie In VB 4,5,6, I would used to do it as:-
Form 1:
private sub Command1_Click()
msgbox "Say Hello"
End Sub[code].....
If I clicked the button in form2, it would automaticlly, click the button in form1. Do I, do it the same way in VB Express or has it changed?
I have a Dialog that is basically a confirmation dialog on some SQL statements. After the dialog I have an if statement: If frmRelease.ShowDialog() <> Windows.Forms.DialogResult.Cancel then.My buttons are set as DialogResult = OK and DialogResult = Cancel respectively on the dialog form.
For some reason, sometimes my button set to DialogResult = OK is returning me a DialogResult.Cancel, and causing me to skip a block of cleanup code.
I want to create another minimize button. Can I make this ? If answer is yes, give you me a code
View 4 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 Repliesam trying to make a normal button as minimize and exit ... I want three different picture for example button with exit:
1) Stable opened window has exit_1.png
2) When you mose-over it it display exit_2.png
3) When you mouse-leave it display again standard exit_1.png
4) When you press it (click) it display exit_3.png => this situation i dont know how to solve in Visual Basic
My code:
Private Sub PictureBox1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles PictureBox1.Click
Me.WindowState = FormWindowState.Minimized
[Code]....
like subroutiines can be minimised, can you minimise several subroutines all at once? i was thinking if it did exist it would look something like this [code]that way there would be a minimise button on the vitualsection line and you could click it to minimise code quickly which would be useful when you have hundreds or even thousands of lines of code.
View 2 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 Minimize the program to the system tray. How would it to look something like the picture on the bottom when the Notify Icon is clicked once or right clicked?
View 3 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 have a form with a panel on it that is attached to 3 buttons that when pressed display a different image.How do I make the panel cycle through the images on pressing the "Z" key for example?
Public Class Master
Private Sub Master_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
I Have A App That i made all i wish to do is hit enter and it will press buttoI under stand that i could maybe just submit the data that is in the text box but i don't wish to do so. i just want to set up keys so i don't need to point and click.
View 2 RepliesI did the code that makes btnstart to start timer... code:
Private Sub btnStart_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnStart.Click
If Timer1.Enabled = False Then
[Code]....
now i am trying to make f12 press the "btnstart"... how do i do that? i read a lot of dreamincode.net vb.net
I have 2 buttons on my form. Button 1 and button 2. When Alt+A is pressed (when you hold alt and press A), I want button1.performclick. when F2 is pressed (the one above number 2), I want button2.perform click. how to do this?
View 1 RepliesI am new to Visual Basic.NET and I am just playing around with it. I have a book that tells me how to read from a file but not how to write to the file with a button click. All I have is a button and a textbox named fullNameBox. When I click the button it gives me an unhandled exception error.[code]...
View 2 RepliesI'm making a mini-web browser and i would make a code wich allows to press the "enter" touch of the keyboard instead of the button.[code]...
View 9 RepliesBasically, I have developed one form which is generic and display different views. On that form I have used Close button. Alphabet E is short-cut for closing the form (i.e. mnemonic functionality).During execution of the form, when I press "E" on that form, my form closes automatically. As per my understanding mnemonic works with Alt control only. I am not sure if I am missing any properties that should be set so that this problem is resolved.
View 1 RepliesI have recorded this macro that attaches to a process (nunit.exe) for me. Now I'd like to press a button (named "Run") on the window of the process I am attaching to, but how? I have recorded this macro:
Sub DebugNUnit()
DTE.ExecuteCommand("Tools.ExternalCommand6")
'need a short delay for nunit process to appear in process list:
Threading.Thread.Sleep(200)
[Code]...
I am using nunit 2.5.7 and for attaching and debugging to work you need to attach to the nunit agent and press run on the nunit gui, for more recent versions of nunit you can attach to the nunit gui.the above script enables nunit debugging from the Visual Studio IDE with just visual Studio and the nunit binaries. all you need to do is set up nunit as an external tool (with the current project as a parameter), create a custom toolbar, and add a button to that toolbar that uses the above script. this will start nunit, attach to it, start running the tests, and break at your breakpoint.
one more thing: in the nunit gui disable "Save Visual state of each Project" in Tools -> Settings -> Tree Display or the nunit gui will remember the last run test, which is a pain if that's not the one you wanted to debug.
I had a few small programs that I bought from the internet and so I was building a program that will have all those program in one cd. I got that far that the program is almost done and it opens every program up with a press of a button. Now instaed of writing every product key down on the sheet or have VB open up a text file with the keys on it is there a way I can add the product key to the install with just by the press of a button?
View 13 RepliesWhat is the code for making steps in dgv? For example I have a button, every time that I press the button I want to make a step in dgv row
View 2 RepliesI am working on a game in vb.net which is designed to ask the user a set of questions which are stored in multidimensional arrays. the user can answer the questions by clicking one of four buttons.
I currently have a set of buttons numbered 1-4, I also have a set of arrays but I am stuck making the game move on to the next set of questions.
[code]...
When opening a form is there a way of programatically "press" a button on that form? The last line of the following code is not accepted.[code]...
View 6 RepliesI'd like to make it so that after I press a button, a textbox pops up that the user can enter comments into. I then use the text they entered and store it somewhere else. How can I add this?
View 7 Repliesi have a question about a code.So when i press a button, some text comes up in textbox1.But what is the code so that after the code there will be an "ENTER" so it will switch line.I think its something like this
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TextBox1.Text = "Hello" ("{ENTER}")End Sub
Is it possible to restart your application with a button press?
View 1 RepliesI have a simple application launcher, where each button has a picture on it.
Is there a way to set an accelerator key, in VB (as you can't do it any other way) for each button.
Also, can you set it so that you don't have to press alt first?
I have Webbrowser1 with loaded page. Page code is
PHP
<input type="submit" value="Send" class="mainoption" name="post" tabindex="6" accesskey="s">
[code]......
I am trying to assign some letters to some buttons using visual basic 2008 or 2010 beta.What code would be used to do this: if the button 'a' is pressed the lets say button21 clicks.Sorry if this was allready in the forums, but i tryed allready like 4 methods and dont unterstand how these work.I know how to program in c++ and i am trying to move to vb.
View 6 Replies