Forms :: How To Move Between Forms
May 13, 2009
I've created a login form that allows users to type in their ORACLE database password. once authenticated, the form loads up the main application. my question is hopefully simple. How do i "properly" load the main app form? also, when they close the main app form, how do i shut down the application cleanly? Right now, the login form is always present, and until i close it, the app doesn't shut down. the way i'm loading the main form is as follows:
[Code]...
View 2 Replies
ADVERTISEMENT
Apr 8, 2011
Im working on my project. and i just asking if i can used this Property in vb. NET [URL] when i install adobe photoshop .. i see on the leff installer...something like a menu and the menu move step by step when the user move between Forms
Welcome
Serial Number
Adobe ID
Install
Finish
How i can create like this in VB .NET
View 1 Replies
Mar 22, 2011
How can i run form2 in form1(i mean under one process) and when i move form 1 form 2 also should move.
View 4 Replies
Jun 23, 2009
I have made a from with a panel docking inside. And a second form with properties set to form_load:
Me.TopLevel = False
Me.Parent = Form1.Panel1
Now it loads nicley inside the panel of the first from.... However, I can move the second form outside the maximum size of the panel inside form1. Is there a way stopping this? Here's an image of it: So I don't want the second form to go out of the inner panel of form1. But I can move around in the area visible!
View 2 Replies
Feb 5, 2009
i have vb.net form contains one datagridview with data from database
my datagridview load data at the time of load event of form
i have one textbox1 in my form
my focus is in textbox1 t the time of load form
i need to move up and down through my grid when i press up or down arrow accordingly
currently i should click in any row then only i can move
how i can move between rows using up and down arrow by keeping my focus in textbox1
what i need to write in keydown or keypress ??
i need always focus in textbox, moving through grid up and down using arrow key regards
View 1 Replies
Jun 11, 2011
I'm using KeyDown to get the picturebox to move around, but I don't know how to keep the boat within the boundaries of the form. So if it hits the side of the form, I want it to just stop.
What control/procedure should I use to do this?
View 14 Replies
Nov 11, 2009
Im trying to make a radiobutton move diagonaly, (Dont ask why a radiobutton, i did it in college last week) For some strange reason though I need another radiobutton just going across the screen in order for my diagonal radiobutton to move.I would like to develop this into a game like pong, when I have gone further into VB.
View 3 Replies
May 20, 2011
im having trouble with moving listbox items between several listboxes with the click of a button?
View 3 Replies
Oct 28, 2011
Ive made a calculator that estimates how high a model rocket will go. I was intending on making a simulation that will show you visually how high it will go. (Little rocket image goes up and stops at estimated hight) I know how to make a picture box move and everything, but i can only make it move to a set distance.
View 3 Replies
Sep 24, 2011
I would like to know if and how I can move a selected item in one listbox and the second listbox moves the same item aswell (so they move in sync).I can move the items in one listbox with the following
Private Sub UpButton_Click(sender As System.Object, e As System.EventArgs) Handles UpButton.Click
Dim index As Integer = ListBox1.SelectedIndex
[code].....
View 1 Replies
Feb 17, 2009
I have a problem :
In VB.NET.
Window Application :
I have a form..in that form..there are four buttons and an image (using picBox). That buttons named as "Up", "Down", "Left", "Right".How to move the image by using the button. For example : If I click "Up" button, the image will move upward and so on..
View 15 Replies
Jul 18, 2010
I've created a private sub which enables me to move to the next object when I press enter in the textbox or any input controls... What I want to do is to create a universal sub procedure for moving to next object. this is my code
[Code]...
View 1 Replies
Sep 16, 2006
When we left click a grid cell, or list item, it highlights. Left click outside it and the selection jumps to the new place.
I can RIGHT click anywhere in the grid without disturbing an existing highlight, but I want it to work more like windows explorer would in terms of file selection..
i.e. if I right click inside the range, the range stays, if I right click outside the range, the range moves to a new single cell that I just right flicked.
Try it now on this page. Select some text, right click on the selection and it stays. Right click outside the selection and it goes. In datagrid (for example), the selection can only be modified with a left click.
How can we change this so the selection behaviour of a datagrid/list is more like this text pane?
On a related note. If I left click in a textbox I can drag a selection out. If i wanted to right click and drag the selection out, would it be the same process? (It's for a custom string manipulation picker control..)
View 3 Replies
Oct 17, 2009
When it comes to threading. I've managed to adapt one of JMcIllhinney's backgroundworker codebank examples to somewhat suit my needs, but not completely. I have a main form, and a second form that appears while I'm running through a for loop. It informs the user what is currently happening. I set up a backgroundworker that allowed me to continue to use the main form during the for loop, but the other "status" form was completely frozen, and any labels or graphics were shown as white boxes. I am struggling to figure out how to be able to move/interact with both forms while the loop is running.
View 4 Replies
Mar 30, 2011
I currently have a working program that creates one colored pixel in a Bitmap, displays the bitmap in a pictureBox, and "jiggles" the pixel by making it move in a random direction by 1 pixel every time a button is clicked. I want to make the pixel move automatically until a Stop button is pressed.
[Code]...
View 2 Replies
Oct 27, 2009
In my window application, Form1 variable eg. Public str as string. value blank/null when move to Form2 and Back to Form1. How to maintain Form1 varable's value when back to Form1 In vb.net if any one know, reply me soon
View 2 Replies
Jul 9, 2010
I have a basic three form application. It doesn't seem to close after navigating through forms. If I were to open the application, and the main form is displayed. If I press the X button, the application closes fine(Goes from processes) If I were to open the application, and then navigate from the main form to another form using me.hide & form1.show, and press the red X on Form1, the application again, closes fine.
[Code]...
View 6 Replies
Jun 4, 2011
.NET developing and have a simple question, i've been stuck on this for a while and searched many forums first with no solution so i'm posting myself. In VB for excel i've used Screenupdating=false to disable the screen updating however now i'm creating a visual studio 2010 windows forms application and its not showing up as a property. Here's the code i've tried.
[Code]...
View 4 Replies
Jul 28, 2009
just wondering if it is possible to add a method to all forms in my project without having to do it on one form and Inherit all my other forms from that one
View 3 Replies
Jun 22, 2011
I'm using VB 2010 and need to multiply 2 user input numbers in forms, so basically: TextBox5 = TextBox2 * TextBox3 That obviously didn't work but it shows what I want it to do.
View 3 Replies
Sep 21, 2010
I'm working on a website where we'll be getting a lot of videos to be uploaded. To keep things simple and secure, I'm just writing VB.net windows app to suck all the files in a directory in, allow you to set some options, and start the encode by spawning a new FFMpeg process.
[Code]...
View 5 Replies
Apr 9, 2010
I have the requirement to create an application that has multiple front ends developed using Windows Forms, WPF, ASP and Compact Framework Mobile Forms.I would like to be able to create a series of obejct representing the business logic and have this logic accessible from the various front ends available. My first thought was to use remoting as I'd like to be able to pass the business objects back and forth between client and server but the compact framework doesn't support remoting and also transferring a full framework business object to a compact framework business object doesn't seem possible.My next thought was to use web services but again the passing of business objects seems to be very hard to accomplish. Without doing this I would have to create individual web methods for each business operation.
Finally my next option is to use sockets and write the whole client/server logic within some classes and expose them to the UI/Business layer. My only problem with this is it is not scaleable should the number of clients increase dramatically whereas using remoting or web services I can host the solution via ASP.Net.Does anybody have an ideas on the best way forward for this or even have any input on how they would write an application that required a windows form, wpf, asp website and mobile device GUI all of which want to use the same business logic?
View 3 Replies
Nov 10, 2011
We have an application that has a main form with a map on it. Right now the paradigm is to have forms that are displayed using menu items to display information to the user. Most of these forms are modal forms, but a couple are non-modal forms that interact with the map. For some of the forms, it really would make for a better user experience if we could dock them in the main form of the app and allow the user to see both the form and the map. For instance. We could have a list of map features in a docked window, and select one of the items on the list and have the map zoom to that feature. Or do the reverse: let the users select a map item and have a docked window that shows details of the feature. Sounds great, but I wonder about what sort of gotchas we may encounter. In particular, what if we have two windows docked at the same time? Could we get tangled up in our event code?
View 2 Replies
Aug 26, 2010
I would like to know if its possible to start up a second windows forms inside the parent form. Ex: A button is pressed and a new form is showed. I would like to keep that new form inside the parent form, and have it not be able to go outside the parent form.
View 2 Replies
Mar 31, 2010
I am writing a program for my A-level coursework But for some reason I got this build error this has never occurred to me before, I have no idea why I can't use string for the name of my form.
View 8 Replies
Jan 9, 2012
a program and i need to have a button put a file into a folder, i know how the button works i already have it doing some other stuff. i just don't know the code to copy and past it to a folder.
View 1 Replies
Mar 5, 2012
When I add a new, empty form to my VB.NET VS9 project, the linenherits System.Windows.Forms.Formis missing.What am I doing wrong here?I thought it would be added automatically.I experienced that some thing get weird if this line is not there (Form_Load is not firing, I think).
View 3 Replies
Dec 28, 2009
Passing data between forms without any public methods or properties on the forms. everything but the "Controller" class, which I would like you furnish. I just changed the title from "Intermediate" to "Beginner" This solution is an example of the Observer Pattern. The "Controller" class is the "observed" class, which in this case means it publishes events.
' File Definitions.vb
Public Delegate Sub MessageDelegate(ByVal sender As Object, ByVal e As MessageEventArgs)
Public Class MessageEventArgs : Inherits EventArgs
Public Message As String
[CODE]...
The program should initially display Form1, and Form2. Clicking of the button on either form will modify the Title Text of both forms. I think that you will find the final end result to be pretty neat, as it works with any number of open forms not just two. I think asking for the Controller class is easier than asking for the code in the forms. My solution for Controller class has 7 lines of content, 9 lines if you include Class, EndClass. A minimal solution could achieved with only 4 lines of content, but it would a textbook example of bad programming.
View 12 Replies
Dec 25, 2011
I'm looking forward to reading and adding more to the community here. I've created a text based rpg. Next semester we are learning Visual Basic. I'm on winter break and I would like to get a head start on my learning. I've been working on creating some forms and message boxes. What is throwing me off, is that I have a good feel for doing coding so that I get functionality the will produce effects in a console. Coding the forms is a bit confusing for me. Is this something that others have run into? Is their some good primers for VB? I don't have my text books yet.
View 10 Replies
Dec 11, 2009
I build my first Project composed of several forms and it�s working just fine. Id like now to redesign the project as a MDI Application. Once created the parent form, I can create child forms but thats not what I need. What I would need is convert my already designed and working forms to MDI child forms. How can that be done?
View 1 Replies