VB.NET Tutorial For Beginners - Multiple Forms & Form Interaction (Visual Basic .NET)

  Рет қаралды 72,473

VB Toolbox

VB Toolbox

Күн бұрын

Пікірлер: 50
@CarlFritz24
@CarlFritz24 10 жыл бұрын
EXCELLENT ! Man... like I said... you were born to teach ! Perfect ! Thank you. I'll spread out your amazing and instructive videos ! I've seen lots of them (before I got you...) but none like yours !
@kevins1738
@kevins1738 7 жыл бұрын
Excellent! This is somewhat of a "basic" technique but SUPER USEFUL and well done :)
@RavenSaint1
@RavenSaint1 9 жыл бұрын
This helped me get past the error and Alerts of bad coding between forms. I hope I can modify this to send text for a writeline to a listbox/*.txt on form1 from a textbox on form2.
@sultanalharby5562
@sultanalharby5562 4 жыл бұрын
Thank you very much! it helped me much!
@louiswilkinson4258
@louiswilkinson4258 7 жыл бұрын
Your video is very informative - Thank you !!
@Jon27111807
@Jon27111807 9 жыл бұрын
I just skimmed through this video and was wondering would this work for a login system where when a user logs in their name will be displayed on the other forms but add that code to a panel or some tool?
@Jon27111807
@Jon27111807 9 жыл бұрын
The way you mirrored the text
@VBToolbox
@VBToolbox 9 жыл бұрын
+Jonathan Taylor I would just create a Public Shared Class or store the session info as Global variables. Once populated they could be easily called from any form. :-)
@Jon27111807
@Jon27111807 9 жыл бұрын
VB Toolbox okay cheers I'll research how to do that :)
@devindwight4564
@devindwight4564 10 жыл бұрын
Multi-forms are the bomb-diggity!
@VBToolbox
@VBToolbox 10 жыл бұрын
Check out the extension methods! Now, there's some awesomesauce. :-D
@colinlamont246
@colinlamont246 4 жыл бұрын
I use continuous form view in my Access projects, what would be the vb.net equivalent to this type of view?
@muhammadkholis4829
@muhammadkholis4829 3 жыл бұрын
Makasih banyak
@durrhurr55
@durrhurr55 6 жыл бұрын
Lol switching from procedural html/js to vb made me have a giant mental breakdown for about a month
@sandrolanzon
@sandrolanzon 8 жыл бұрын
thanks for the tutorioal it was very helpful, I need to run a sub in form1 whenever I close form2, how can I achieve that?
@VBToolbox
@VBToolbox 4 жыл бұрын
Just make sure the Sub in form1 is Public and you should be able to call Form1.YourSubName in the Form2_Close or Closing events. Edit: Oh geez.. just noticed this was 4 years old... ☺ Well... Maybe someone else needs to hear it.
@michaelgoedeker9697
@michaelgoedeker9697 9 жыл бұрын
Thank You very Much! This helped me a ton!
@johnisawsomeme
@johnisawsomeme 8 жыл бұрын
+VB Toolbox is there a way where i can change the form display without having multiple forms? i want to make a jeopardy game, so whenever i click an answer button, and instead of opening a different form, it just changes its display?
@dans3593
@dans3593 7 жыл бұрын
You can change the visibility of a button or other element to false like this: Button1.Visibility = False Label1.Visibility = True Then you can put the element that you want to show up directly behind the button. Hope this is what you needed, even though you probably moved on from this question or figured it out by now!
@profility
@profility 4 жыл бұрын
Use a panel, it’s more simple than making each control visible.
@pconstantinos57
@pconstantinos57 8 жыл бұрын
In VB6 there is an option for the show property called vbModel. vbModal dosen't work in VB2010. Is there a version for .net?
@VBToolbox
@VBToolbox 8 жыл бұрын
Hello, Pete. Sorry for the long delay. I'm trying to get caught up. I believe that you will want to use YourForm.ShowDialog() instead of YourForm.Show(). I hope that's right. I'm extremely rusty on VB6.
@sushilkhatri
@sushilkhatri 9 жыл бұрын
HI there, is it possible to have wire-framing intersection on form, for example when i click on a button on form 1 then it goes to form 2 without having two window open just like on phone device. Thanks for your help
@VBToolbox
@VBToolbox 9 жыл бұрын
+sushil khatri You can easily Hide the current form when you switch to the next by doing something like this: In Form1 [Button Click]: Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Form2.Show() Me.Hide() End Sub In Form2 [Button Click]: Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click Form1.Show() Me.Hide() End Sub
@UnknowGuy3mill
@UnknowGuy3mill 9 жыл бұрын
+VB Toolbox Is it another beside just hiding it?
@LightningStruckElf
@LightningStruckElf 10 жыл бұрын
Very helpful but I'd like to know how to use variables declared in one form, in another form. For example if I declared a variable in Form1 and want to use it in both Form1 and Form2.
@VBToolbox
@VBToolbox 10 жыл бұрын
Define the variable as Public in the form class (not in a sub). Example: Public MyVariable As Integer = 12 You should be able to find the variable in the other form: Form1.MyVariable
@LightningStruckElf
@LightningStruckElf 10 жыл бұрын
Thanks.
@techondemand_
@techondemand_ 2 жыл бұрын
kzbin.info/www/bejne/r6DPp3lmfrSonZI
@sajusathish
@sajusathish 8 жыл бұрын
is it possible to create form inside form i don't want a pop up form like a web page in an application
@VBToolbox
@VBToolbox 8 жыл бұрын
Greetings, s saju. :-) What you need is MDI forms. I have a tutorial for this: kzbin.info/www/bejne/j6jbaHqYr5aglc0
@GLocarso
@GLocarso 5 жыл бұрын
Thanks Mate!
@YellowGamePlay
@YellowGamePlay 8 жыл бұрын
hi, i made a form1, but then i decided i wanted a ''menu screen" so i made form2. but how do i make form2 to be the 'main' form. so it launches first
@VBToolbox
@VBToolbox 8 жыл бұрын
+YellowGamePlay If you right click on your Project in the Solution Explorer and select Properties, in the Application tab you can set your Startup Form.
@YellowGamePlay
@YellowGamePlay 8 жыл бұрын
VB Toolbox Thanks alot!
@christine023
@christine023 10 жыл бұрын
Can i add another visual basic project i have made to my current project?
@VBToolbox
@VBToolbox 10 жыл бұрын
You sure can. Just go to File --> Add --> Existing (Or New) Project. This will put both projects in the same solution.
@christine023
@christine023 10 жыл бұрын
Thank you! :)
@VBToolbox
@VBToolbox 10 жыл бұрын
You're very welcome, Christine. Glad I could help. :-)
@PapaYosif
@PapaYosif 8 жыл бұрын
is there a way to make a label with the name of the guy who runs it his pc? like idk MLG-PC
@VBToolbox
@VBToolbox 8 жыл бұрын
You can get the current user and the computer name like this: ' get username Label1.Text = Environment.UserName ' get hostname Label2.Text = System.Net.Dns.GetHostName
@PapaYosif
@PapaYosif 8 жыл бұрын
VB Toolbox thx bruu
@profility
@profility 4 жыл бұрын
label1.Text = Environment.UserName
@alpha3twin
@alpha3twin 10 жыл бұрын
If only Goku knew about this method of changing forms :P
@lancetv4826
@lancetv4826 4 жыл бұрын
Thanks, but Me doesn't work anymore. Instead, i use this.
@alexmartin5002
@alexmartin5002 6 жыл бұрын
Спасибо!!
@eliguerrero9875
@eliguerrero9875 6 жыл бұрын
great video, could you help me with MDI parent form??
@eltigrepalomino2176
@eltigrepalomino2176 9 жыл бұрын
me gusto el vídeo , pero me gusto mas este por que te explica paso a paso les dejo las direcciones : Inicio de programa: kzbin.info/www/bejne/Z4TVfn6fpdmJfbM Login con efectos: kzbin.info/www/bejne/iGSTqJ6wrph8iM0 formulario con iconos con efectos de movimientos en V.B: kzbin.info/www/bejne/a2Swi4iGgLl8ntE
@grazianofalcone3093
@grazianofalcone3093 2 жыл бұрын
Useless " Public myform(10) as new FORM, myform(1).show
Mia Boyka х Карен Акопян | ЧТО БЫЛО ДАЛЬШЕ?
1:21:14
Что было дальше?
Рет қаралды 12 МЛН
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 22 МЛН
Which team will win? Team Joy or Team Gumball?! 🤔
00:29
BigSchool
Рет қаралды 15 МЛН
How to use a Listbox in VB.NET | Visual Basic .NET Tutorial
13:31
Automate with Rakesh
Рет қаралды 413
Multiple forms in one panel
13:35
Jorge Resurreccion
Рет қаралды 14 М.
VB.NET Tutorial For Beginners - Using Arrays (Visual Basic .NET)
39:32