o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

click command button on frm2 -

what is the best way to do this
i have form1 which has a button to open form 2 to parse results from a webpage into a listview.
i was wondering though can i have it click the 'search button automatically instead of having to click it manually each time when the form2 loads?

 

Load a form -
I made 2 forms, the first calls the second through a button click. This is the code I wrote. Dim frm2 As New Form frm2.Show() frm2.Dispose() but no form opens. Why


click command button on frm2 -
what is the best way to do this i have form1 which has a button to open form 2 to parse results from a webpage into a listview. i was wondering though can i have it click the 'search button automatically instead of having to click it manually each time when the form2 loads?


Keeping 1Form on top of another- while still being able to access controls on both -
Hi, I have two Forms, Frm1 and Frm2 I am trying to keep Frm2 on top of Frm1 at all times. As I said I want Frm2 to be on top at all time but I want to be able to access Frm1 at the same time without Frm2 dissappering off the screen! I have searched thru this Forum and thi


frm navigation help -
Hi all , I have three forms ie.. frm1, frm2 and frm3. where frm1 is the main window and on a click of a button it takes you to frm2 there is a process in frm 2 where you enter the information in the textbox's and after click of a button it takes it to frm3 where the user has


Gaining Acces to another dynamically loaded form *resolved* -
say i had 3 forms... frm1, frm2, frm3... and inside frm1 i load another form.... frm2 using: frm2 frm = new frm2; frm.show(); now, how can i find frm2... from frm3 and change properties on frm2 from frm3? each form has its name as it's tag i hope i made sense


update a control on parent form -
I'm working on vb.net using VS 2003. I have a form frm1. Frm1 has a label lbl1. This label lbl1 is data bound. The value of this label comes from a table field. A button on this menu launches another form , frm2 (note that frm1 is still open).There are bunch of fields on this frm


[2005] Need help working with multiple forms :s -
Hi, can someone help me please.. I have a textbox on frm2 which has a default text value of 5. Now from frmMain I can do frm2.Show() and then change the value to 10 in the textbox. In the frm2_closing event I have Me.Hide() and e.Cancel = True so that frm2 is only hidden and not close


loading 2 forms -
Hi I want to load 2 forms at the same time(frm1 and frm2),frm1 should be maximized and frm2 should be a small form at the center of the screen.I want to set the focus on frm2 and when the user clicks OK (on the form frm2),I want to hide frm2 and set the focus on text1.text on frm1 th


Closing a Form Help Please -
Not sure how to do this... I have an MDI form. From the Mdi form Menu, I open an instance of the 'child' form1. On form1, if i click a button, an instance of 'child' form2 should open 'within' form1. I then need to click the button 2 on form1 - this time it should close the fo


Loading a form (HELP! ITS URGENT) -
Hi This might be too basic i have two mdi childs: frm1 and frm2. both get their data from the same table in ms sql. i first load frm1 and then frm2. when frm2 unloads i want the changes made in it to be shown in frm1. load frm1 in the unload event of frm2 gives error. i have n


[02/03] Simple combobox question -
Hi people, I was hoping someone could help me out please, the question is really simple. I have 2 forms, on form 1 I have 2 buttons which both open up form 2. What I want is when button 1 opens up form2, I want to display text 1,3 and 4. And when button 2 opens up form 2 I wa


Showing and Closing Forms -
Hello, this will probably sound extremely stupid to most of you, but I am having the worst time with closing and opening forms in vb .net. I just got hired to do a job for my college, and I am forced to use vb .net to do it. This is the first time I have ever opened it and I cant see


[03] arrange child forms in Tab & open file from TreeView -
Hi I am using VB.NET 2003. I have created a treeview named frmExplorerLike. It shows the directories of the computer and it also has a listview that shows the icons of each folder & files. Then i created an MDI (named frmMDI) that calls out the frmExplorerLike. Now, i nee


Command button click -
this is my last question, of the day. How would i click or start a Command button from another location. i want to process the Command1 button coding without actually clicking the button something like If Online = True Then ** Click Command Button ** End If


Unable to "click" on commnd button -
Hi all, I have an MSHFlexgrid. When I click/mouse down on a particular cell, an invisible text box (in pink) and a command button are made visible. I first give the textbox.zorder and then the command button.zorder. As you can see, the command button appears in front. However, when I


Using a command button to click other command buttons please help -
Hi I am creating a program and I want to make it so if I click one command button VB automatically click other command buttons i.e. Clicking command 4 runs command 1 command 2 command 3 in that order Please help Thanks


do stuff even when the command button is disabled -
hi, if i have a command button and it is disabled, can i still use it to get mouse commands, like up, down, move etc. i use a really command button, and i have no more room on the form, i want the user to ue this button like this: the button starts disabled, when the user right cl


Okay, How'bout this.... -
Say I have 2 diff't forms. On frm1, There are 3 txt boxes (txt1,txt2,txt3) 1 cmd button (cmd1) -the purpose of this form is to add txt1 + txt2, to get the result in txt3 On frm2 there is one txt box (txtA) and one cmd button (cmdA) The purpose of all this is for a


Lostfocus event after Click event -
If you use the accelerator for triggering a command button click while focus is on textbox, the command button click goes through first before the text box lostfocus. However if you actually click on the Command button the text box lost focus happens before the command button click w


Open external exe within MDI application VB.Net VS 2003 -
Hey Folks - I've successfully figured out the MDI app concept, and have figured how to open up individual forms (from within the same project), but I need to open up external applications within the parent form. How can I do that? This is what I do to open up the other forms within


modal form properties -
Say I have 3 forms; Frm1, Frm2 and Frm3 - Frm1 being my 'main' form. Frm1 has the ability to show the other two forms, and Frm2 can show Frm3. Frm2 and Frm3 both need to be both shown as modal forms, but if Frm2 is shown as modal, then Frm3 can't be called by Frm2. How is it possib


not able to get value of form1 to form2 -
Form 1 This form has one text box and a button Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click dim a as string Dim frm2 As New Form2 a=textbox1.text frm2.Show() Me.Hide()


Trouble accessing forms in VB.net -
Hi, I'm quite new to VB.net, since I've been using VB 5 for years now. What I'm trying to do is load a form on a button click event in my main form and then disable my main form while the new one is displayed. Then when a button is clicked on the new form, it will re-enable my main


How Do I Change the Form -
Basically i would like the user to click a command box and be taken to a new form. I knwo the coding is only the space of two lines and i was wondering if n e one could help me out. for ease of use we will use the names: cmd1-for the command box frm2-for the form i want the u


MDI behavior is strange. please help -
Is there away to prevent an MDI child form from being auto maximized? The problem I have is this. I have an mdi application that contains 2 mdi child forms. When I show the first form and maximize it so that it fills the mdi window I can't load the second form non maximized.


Restore values -
I have two web forms like frm1 and frm2. In frm1 I put some values in the text fields and in frm2 I show the values I entered in frm1 (through session variable). Now the problem is, if I want to make some change of the text field values of frm1 after seeing it in frm2 how I can do t


Option button issues -
Hello friends, I am not able to understand the behavior of some controls. In my project, a form has three radio buttons and a command button. After selecting the second radio button, I will click the command button. In that command button’s click event, I am trying to disable the se


Multiple instance of forms -
Hello, say I have 2 forums and a command button. When I click the command button the second form loads. But when I click it again nothing happens (because the second form is loaded). I want mutiple instances of the form to load when I click the command button! Right now I am usi


frm1 to frm2 -
what is the statement to show form2 from form1 when click a cmd button in frm1?


A strange issue with spin button -
Hi, I'm facing an unusual issue with spin button. In my project i'm using Microsoft Forms 2.0 Object library. In one of the forms i have a couple of frames. A large Frame and within that another one. In the small frame which is within the large frame, i have a textbox and a spin


Performing 2 tasks at once with the webbrowser control -
Hi, I have a webbrowser control and i want to place a button on top of the control and allow the user to click a command button and a button on the webpage underneath at the same time. I've noticed if I disable the command button it lets the user click on whats underneath the button


Unloading forms from memory -
Hi, I have been having probs recently with releasing child forms from memory. I am releasing forms & midi forms o.k but how do you do this for child forms? My code is: Sub StopApplication() Dim frm As Form Dim frm2 As MDIForm ' Loop thru the forms collecti


New At Vb, Please Help -
Im New With Visual Basic And Need To Ask A Few Questions, Please Answer: How Do You Change Visual Basic FRMs into EXE files??? Can Someone Make Me A Code And Display Here, That Does This: A Game, You Click A Command Button And It Disappear Telling You On A Label: You Have Kill


restrain -
hello i've two normal forms let call them frmMain en frm2. the thing is what i want that frm2 can't go outside the formborders of frmMain how do i do that? thanks in advance greetz


execute other program from vb -
hi all, i want to do a vb program that will automatic execute other software exe file. for example in my vb i have 3 command button. when click command button 1 will execute microsoft word, click command 2 will execute notepad, click command button 3 will execute adobe reader. how t


Run Command Within Another Command -
Hey, Is this possible? I want to start up a command within another command. I tried enabled but that didnt' work. Basically I want to click one command button and when that button's done processing it ends in a timer that restarts that same button again. Thanks, John


Command Button problem !! -
I have problem in command button click event.If i user click the command button it will execute some commands. And my aim is that diable the click event of the command button as long as the commands for the first event and vice versa.How can I?


Click a command button to make images come up -
Hi. When it comes to VB i am not all that great. I have a code request (vb 6.0) I want to make it so that when you click a command button (price of the product), it allows you to click on another command button (product) and then the image of the product you clicked on loads. Th


Use Command button as on/off switch -
I want to be able to click on a command button and it stay pressed down until I click it again. I noticed there was a downpicture property which I wanted to use to show a different graphic when the button is on. this possible?


How to refresh data in listbox when command button is clicked again -
Hi there, I am creating a program that upon clicking on the command button, data from a textfile will be read into a listbox. I realised that if i click the same command button again, the data from the text file will be displayed into the listbox again and under the previous same da