Ok, how do i make so if ihave a form on and press a button and a new form opens on the right side of the first form and follows when i move the first form and also i cant move the second form from the side of the first one
I developed a User Control Like as combo Box. But i Can't Show its list in Out side of the Form Boundary..how can make the user control out side of the FORM Boundary like as ComboBox, Date Control etc.... Pls Code in VB6
I am making a video game in visual studio 2010 and want to know how to make side-scrolling. I have my background image on the form and since you can't see through a picture box, I can't do it that way. Is there a detailed way to doing this?
i m using vb.net 2005 i create a window form separated by two side. One side i have a list box and other side i have a webbrwser.in listbox some id is present. if i click a button then first pick the 1st id and it is append with a url and the respective page will display. in that page an add button is present.whenever i click that then the second id from list box will be encountered.
im trying to make the form Dockable in the desktop on the righ side. I mean i can do this i can stick the form on the side but all other application are not seen in the full window coz my appz is still on the top and others appz under it.Size of the form is 200x1024, it is like administration stripe.So i would like to make other Winows in the system ended on the edge of my application. Is it even possible in VB?There is other way i guess to use some of the scroll(collapsible,expader) windows to the side of the desktop would do it as well but i dont know how to ?
i need something like TabControl, example: if i have navigation menu on the left side of form and if i click on the menu's button then i want to change right side of form, like in skype's option or in outlook
I've got an app that I want to have an MDI with. It functions fine, but there needs to be a control panel off to the side of it to drive the child documents' creation. I have two problems with this.
First, if I add the control panel to the side of the form, it just overlays the MDI portion of the form and the children will spawn behind it. I can more or less manage the positions of these children, but the problem comes when I want to minimize the children, they minimize behind the control panel and I don't know how to move them. So I need to shrink the area they can move around in. I've read in places that you can use the splitter object, but that never seems to cooperate with me and only wants to move to the extreme left or right of the parent form. How can I reduce the area the children get to interact with? I've tried creating a MDI Panel, but VS has a fit with that.
Second, I've got a datagridview holding the data that will spawn the child forms. This is working well, but even though I've set the rows to be not resizeable, I can still make them grow or shrink during run-time (not programmatically). How do I stop this?
On each of my form I have put an 'Exit' button. When user clicks it, another form is displayed (I don't want to use 'MessageBox') asking user whether he really wants to quit. If user clicks yes the form closes. If user clicks no, form is redisplayed.
However, out of 4 forms only one form refuses to redisplay. The code is exactly same on all forms. I have included 2 Express 2008 projects showing one form each in the zip file apps-ssk.zip
I'm upgrading a project from VB6 to VB2008.I have a routine that clears a combo box, named 'cmbDataTable' which could be on any form. I pass the form and the combo box is cleared.
[code]...
I assumed it would be the same in VB2008 but I get the error.'cmbDataTable' is not a menber of 'System.Windows.Forms.Form'I am working my way through the project, first updating the global procedures - this is one - I haven't written the calls so cmbDataTable doesn't yet exist.
In VB 2008, I have a Parent form with a combo box on it. There is a child form also with a combo box on it. I want to be able to change the values on the child form based on what the user selected from the main form. The user launches the child form from a toolbar on the Parent form. The following code is run:
[Code]...
What I want to do is if the Parent's combo box has "Red", "Blue", "Green" values and the user selects "Green", the child form's combo box(With the same values) will also change to "Green". (I do not need to change the Parent form if the child form changes.) I've tried changing the Child's combobox from the combobox's change event on the Parent form, and the code runs, but nothing changes on the child form.
I am using vb.net 2008 i have been using a mdi form which is the startup form for my prog. and i have a main menu on that form. now i would like to shift to tree view as my client has asked for it. whenever a node is selected i can select the form corresponding for that particular code. everything is fine till here. but when the form is loaded the tree view is coming on top of the form the tree view is docked in a pannel. now i have tried everything treemenu.sendtoback and the say the form to b called is taxtypemaster then taxtypemaster.bringtofront but still the tree view is coming over the form
I have tried the following :
Dim mMenuSelected As String = e.Node.Name Select Case e.Node.Name
[CODE]...
Even the visible doesnt work as it seems after the .show it makes the tree view visible again. how do i hide the treeview pls. someone guide me at the earliest. i feel it is not the prob. of treeview but something to do with the mdi form am i right ?
I need to know the proper way, or maybe I should say, the different ways to call another form from a parent or preceding form. I am currently using ex: formname.showdialog() to call my next form, but I am uncertain if I should be using that in every situation. [code] Whats the difference between these different methods? (ex: .showdialog() , .show() )I tried both of these to open a temporary form to retrieve a persons name from a database, so as the users progresses through my training program they can keep track of their scores.But, I also call other forms as I branch through my program, from the main page, to a secondary page, to a testing page, to a results page and then back to the secondary page
i am having an issue populating two combo boxes on form load. The program will connect to an access database and pull data as instructed. Then as it pulls each record it puts it into the combo box.
This was working.. atleast i think it was. i dont recall it ever not working, however i wasn't looking for it.
My problem is that if when i load the MDI parent form and have it skip the selection form and the login form and load the next form in the sequence, it loads everything perfectly. However if the select form is loaded first, then the login form and then the form i need loaded, it will not populate. The only difference between the two different loads is that the login form calls a function that loads the form as a new project.form
I did this so that I can have multiple forms open at a time. I am assuming my problem is that I need to get the child forms handle then populating controls using that handle? but i think if I had to do that then I would beable to populate the comboboxes on the first form load using the login method of opening the form.
Here's my code.
vb.net Private Sub frmLine1t5_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.Text = "Line " & LineNumber & " Test Form"
How would I change it so that it only closes the current form while opening a new one? EDIT: I put [Not Resolved] Because I accidently pressed the resolved thing
I have a MDI form containing 2 other forms that I first created via GUI and than manually added to the MDI form.Form1 = MDI formForm2 = Form containing a WMP and buttonForm3 = Form containing a butoon. This form's opacity is set to 50%, to make it semi invisible.My MDI Form looks like this
Public Class Form1 Dim f As New Form2 Dim g As New Form3
I have one form, which the user enters upto 5 websites then clicks go - I have on the second form, the one with the webbrowser. timer which checks if the web browser is busy then either a green light or black image will be shown along side the assocaited input box on the first form. I am finding it impossible to feed variables into the clock through ByVal, like I would a subroutine or function.
i have the following code sliding from the bottom of the main form position to the middle of the main form.
main form Dim Viewform2 As New Form2
[Code]...
no code, just a form thats width 292 and height 266 This code works but its very choppy when the slider form slides up. Also, i am unable to get the opacity correct as well where it fades in and then out when it leaves.
I have a form in visual basic 2008 in design view. how do i use a button to save the form i am working on, and then open a new form, I think the code is something like this!
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
[CODE]...
But how do i open form2 and close form1 Using the same button. the code Below does not work (Why?)
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e
I want my login screen to open over my editor! Example MS word how they have the tips screen over top and you press the close button if you don't want it there.
I have 2 forms. When a user clicks something on form1, form2 pops up. After user is done with form2 and closes it (where the dataset is updated), I want form1 to "reload" the dataset to reflect changes made in form2.
I'm trying to make a simple game, but i have a question.i have a minimum damage and maximum damage lbl boxes on 1 form and i have a button if clicked it opens a 2nd form with buttons that deal "damage" when clicked
1. Attack (a regular attack that would deal the damage from form 1)
2. another attack ( this deals damage from form1 + 8)
3. another attack ( deals 30% damage for 4 attacks [so 4 attacks that deals 30% damage each])
4. another attack ( this one is great. it deals damage of 2 times of minimum damage to maximum damage and a third label box lblAP (attack power) which each 2 points of attack power you have it adds 1 more damage.)
i can do that math i just have no clue how to bring the info from form 1 to form 2.
I am calling a login form from the base form. From the base form I disable it after i show the login form. Then from the login form I want to re-enable the base form that is disabled... I have set it to be enabled at the closing of the login form... doesn't work.. i have set it to be enabled through a collection and calling that base forms handle... doesn't work.. Anything that i might be overlooking?These forms are inside an MDI form..
I have a dual monitor setup on my computer. My program has multiple forms. I've designed the program to check which monitor the main form is currently on and to open the secondary forms on the current monitor. When the main form is on the primary monitor the secondary forms open as FormWindowState.Normal which is the design-time setting for the secondary forms. If the main form is on the secondary monitor and I click to open a secondary form then the secondary form is to be displayed as FormWindowState.Maximised.
[Code]...
So I moved the Form.Show line to after the Form.WindowState line. This works fine when the Form.Show process is very quick. The problem is that one of the secondary forms downloads some information from the internet so it takes about a second to finish the Form_Load process. When I had Form.Show first the form would not appear on screen until the Form_Load process is complete, so the delay was in the form appearing at all which is how I prefer it. With Form.Show last the form appears on screen immediately but appears mostly blank and unresponsive until the Form_Load process completes.
I would prefer that the form not appear at all until the Form_Load process is complete but I would like it to appear in an already Maximised state. Is this achieveable? It doesn't seem that complicated but I just can't figure it out.
1) I m very new to VB.NEt 2008. I have placed a MDI Form in my project and a Form too. I want to make the form to a Child Form of MDI. is there any property or how can it possible.
2) I want to set the lable back color to Transparent but found no property.