Free VB 2005 Express Edition Tutorials?

Firstly let me give a big "Wassup!" to all the VB programmers out there!

I have recently moved over from the Delphi platform to the VB platform and joined the ranks of a far better programming language... (Sorry to all those Delphi PPL)

I have taken the www.learnvisualstudio.net tutorials and found them to be very informative and extremely helpful but I was wondering if there isn't an online community of VB 2005 Express developers where I can find further information

If anyone knows of a great source of tutorials, examples, etc. please let me know




Answer this question

Free VB 2005 Express Edition Tutorials?

  • TroyHorton

    Hi,

    Take a look at http://lab.msdn.microsoft.com/express/beginner/

    This link contains 16 video lessons each about 30 minutes on both C# and VB.NET express edition 2005 - This is yet another great work by Bob Tabor!  Enjoy!

    Cheers,

    Daniel

  • manas79

    Thanks for the help cablehead!

    I'll give it a shot tomorrow and let you know how things go... :-)

  • john hyde jr

    Hi Steve & Kayron,< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

     

    I haven't managed to get my SplashScreen to display for longer than a split-second yet, dispite the helpful suggestions made by the two of you... :-)

     

    I have tried to implement the following code in the Application Events without success:

     

    Protected Overrides Function OnInitialize( _
    ByVal commandLineArgs As _
    System.Collections.ObjectModel.ReadOnlyCollection(Of String) _
    ) As Boolean
    ' Set the display time to 5000 milliseconds (5 seconds).
    Me.MinimumSplashScreenDisplayTime = 5000
    Return MyBase.OnInitialize(commandLineArgs)
    End Function


    Visual Basic 2005 Express Edition does not recognise the "MinimumSplashScreenDisplayTime" component, giving the following error:

    'MinimumSplashScreenDisplayTime' is not a member of 'WindowsApplication1.My.MyApplication'

     

    I have also tried to place a Timer on the SplashScreen to delay the time in which it displays, but have also not succeeded with this method.

     

    Perhaps my knowledge is too limited to understand fully the implementation of both suggestions however, I cannot even search my local help because many of the topics rely on internet access to download the content. Seeing as I only have internet access at work, this makes it extremely difficuly to find assistance with what I am looking for.

     

    Before anyone asks, yes, I have installed the help libraries as part of Visual Basic 2005 Express Edition however, there are many topics missing which require internet access to download. Is there anywhere that I can download and install the complete library

     

    Also, can anyone give me a really simple, step-by-step guide to changing the display time on my SplashScreen to 2 or 3 seconds

     

    Thanks once again to all those out there offering their time and assistance to us noobs so that we can understan and make use of one of the best programming languages out there!

     

    Regards,

    Splinta



  • Dracnar

    Thanks, but I have the LearnVisualStudio.net tutorials and the link you directed me to is included in the helpfiles with VB 2005 Express Edition Beta 2 which I downloaded.

    I found these files extremely helpful, but  can find nothing to help me with one problem I am experiencing.

    Perhaps you can help

    I've designed a splash screen which displays when my application launches, the problem is that it only displays for a split-second before launchin into my main form.

    How can I delay the splash screen to display for say 1 second before launching into the actual main form (With Delphi I used the "Delay (1000)" Command)

  • Todd King - MSFT

    If you have chosen a SplashScreen Form in the project properties window then this is even easier....

    Imports System.Threading

    Public Class SplashScreen1

    Private Sub SplashScreen1_Activated(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Activated

    Application.DoEvents()

    Thread.Sleep(3000)

    End Sub



  • compaks

    The one drawback of using Sleep is, well....your app is asleep.
    Below is another way to show the splashscreen until your program completes some work in the backround on your main\firstloaded form, unloads the splashscreeen...and then shows the form.

    I'll add 50000 items to a listbox while the SplashScreen waits.
    Uses no timers or sleep methods.

    1 Start a new project

    2 Add New Item...add a SplashScreen1

    3 Do not use the project properties to define a splashscreen. We will create an instance in Form1_Load event.

    4 Add a Listbox to Form1

    CODE FORM1

    Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    Dim sScreen As New SplashScreen1

    sScreen.Show()

    Application.DoEvents()

    'lengthy code(adding items to Form1's Listbox) is being executed here using the 'splashscreens Shown event

    sScreen.Close()

    End Sub

    CODE SPLASHSCREEN1
    We will be using the SplashScreen1_Shown event

    Private Sub SplashScreen1_Shown(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Shown

    Me.Update()

    Dim i As Integer

    For i = 1 To 50000

    Form1.ListBox1.Items.Add(i.ToString)

    Next

    End Sub

    Can't find any info on MiMinimumSplashScreenDisplayTime property...would come in handy tho.

     



  • jkh1978

    You can also add a timer control to your splash screen that is enabled by default or is enabled at the form's startup event. Add an appropriate interval for the timer and just add the code on the timer's tick event for it to start the main form of the program.

    As soon as a timer is enabled, it will tick for the first time after the interval has passed so if you suddenly enable a timer with an interval of 3000ms, any code you put into its tick event will be executed for the first time 3 seconds after it was enabled. Knowing this, I'm sure you know the implications of what you can do about your splash screen.



  • YossiEven

    Hi Splinta,

    Glad to hear you've made the move to VB. Have you checked out the Visual Basic Guided Tour http://msdn2.microsoft.com/library/90h82b3x(en-us,vs.80).aspx in the docs It's designed for absolute beginners, but it also provides a good introduction for programmers new to VB 2005.

    And as for an online community, you've already found it Smile

    - Steve Hoag

  • JustinW

    Hi Splinta,

    The MinimumSplashScreenDisplayTime property can be used to specify the display time in milliseconds. By default this property is set to 2000 (2 seconds) when you add a Splash Screen in the designer.

    To change this value, you need to override the OnInitialize method for your application.


    Protected Overrides Function OnInitialize( _
        ByVal commandLineArgs As _
        System.Collections.ObjectModel.ReadOnlyCollection(Of String) _
    ) As Boolean
        ' Set the display time to 5000 milliseconds (5 seconds).
        Me.MinimumSplashScreenDisplayTime = 5000
        Return MyBase.OnInitialize(commandLineArgs)
    End Function

     


    Note that this code must be entered in the Code Editor window for application events. See the topic "How to: Handle Application Events (Visual Basic)"

    http://msdn2.microsoft.com/library/f2bys999(en-us,vs.80).aspx

    Hope this helps,

    Steve Hoag


  • LeandroT

    Imports System.Threading

    Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    Dim sScreen As New SplashScreen1

    sScreen.Show()

    Application.DoEvents()

    Thread.Sleep(3000)

    sScreen.Close()

    End Sub

    End Class



  • Free VB 2005 Express Edition Tutorials?