r/visualbasic • • Apr 25 '21

Tips & Tricks Visual Studio - Windows Forms Hello World - First of many helpful videos for new developers

https://www.youtube.com/watch?v=7XFGyx_KTA4
9 Upvotes

8 comments sorted by

4

u/darkspy13 Apr 25 '21

Hey everyone!

This is the first video in a series teaching VB.Net. I have personally been using VB.Net in a professional environment for 10+ years and wanted to do a series on VB.Net. I recently created a series on the channel for C# (which is more popular) but I couldn't resist creating a series for VB.Net since it is so close to my heart.

Anyways, thanks for checking it out, I hope it helps and if you have any suggestions or videos you would like to see, please let me know!

I am also willing to answer any programming questions you might have, I've answered quite a few in this sub over the years!

3

u/RJPisscat Apr 25 '21

When you enumerate a list - such as saying "maximized, miinimized, use labels" watch for drawing out and trailing off the end of each item.

This is excellent. No fluff. Well paced. Excellent oral performance (in spite of first comment). No unnecessary movement of the mouse.

3

u/darkspy13 Apr 25 '21

Thank you! I did a C# hello world previously and I felt that it was a little too fast-paced, so I slowed down a bit in this one and feel this is much better pacing. I'm trying to make what I would have wanted to see when I first started basically.

I'll try and work on the listing thing, I get so caught up in thinking about what to say, I forget about saying them correctly. Good point there.

I appreciate the thoughtful reply!

2

u/RJPisscat Apr 25 '21

4&#$0 years ago when I was in debate/public speaking class my instructor had good advice that I'll remake here.

Imagine you are explaining how to write an application that will cure all the world's problems. For an example you name some of those things: "Cure cancer! Feed the world! End all wars!" You'd be enthusiastic about each one. Use that same enthusiasm when enumerating what you'll be teaching.

You're excellent, you're a natural.

2

u/RJPisscat Apr 25 '21

Suggestion for a video topic: How to ask questions in forums, specifically, how to post code:

' How to post a code block, like this.
  • Name your controls so the reader knows which Button corresponds to what.

  • Add comments about what you are doing - or trying to do - or don't know how to solve.

One of the qualities of an excellent programmer is knowing when, where, and how to ask for help, If you make that video or have already made it, please post a link so I can copy it into any reply to someone who needs it.

3

u/darkspy13 Apr 25 '21

Interesting, so a "good programming practices" type video.

That sounds like a good idea, especially focusing on simple useful points like you mentioned instead of the higher-level details.

1

u/RJPisscat Apr 25 '21

Right, a beginner's guide. When posting code in r/visualbasic, do NOT post this:

Public MyVar as Boolean

Private Sub Button1_Click(sender As Object,e As EventArgs) Handles Button1.Click

If Function1() Then

Sub1()

MyVar = False

Else

Sub2()

MyVar = True

End If

End Sub

Post this instead:

Public Walking as Boolean
Private Sub ButtonLeaveNow_Click(sender As Object,e As EventArgs) Handles ButtonLeaveNow.Click
    If MyAreaHasUber() Then
        CallForUber()
        Walking = False
    Else
        StartWalking()
        Walking = True
    End If
End Sub

1

u/chacham2 Apr 26 '21

Nice simple lesson.

Some critiques:

  1. Use Core, not framework. Framework is supported, but not being developed further. Core 5 is out and works very well. Core 6 is coming later this year.

  2. You say "um" much too often. If you really want to do this nicely, create a script.

  3. Use drawn arrows to point to what you are doing, or zoom in, or use mousetrails.