I.T. Discussion Community!
-Collapse +Expand
VB.Net
Search VB.Net Group:

Advanced
-Collapse +Expand VB.Net Group Home

WEEKLYLESSON
Week 33 Lesson◄╣

MY
GROUPSETTINGS
-Collapse +Expand VB.Net To/From
To/FromCODEGuides
-Collapse +Expand VB.Net Store
PRESTWOODSTORE
   ► All GroupsVB.Net Group   Print This    All Groups  

Weekly VB.Net Lesson

Week 33, Posted Monday 8/19/2019

Content changes every Monday @ 1AM!! Check back once per week. Learn! Review! Test Yourself!

Weekly VB.Net Lesson

[Print Lesson]

Week 33, Posted Monday 8/19/2019

Content changes every Monday @ 1AM!! Check back once per week. Learn! Review! Test Yourself!

FAQ of the Week
Question:

How do you launch a Windows application in VB.Net? How do I open the default browser to a specific URL?



Answer:
'Launch a Windows application.
System.Diagnostics.Process.Start("notepad.exe")
 
'Or just...
Process.Start("calc.exe")
 
'Open a website with the default browser.
System.Diagnostics.Process.Start("http://www.prestwood.com")
Tip of the Week

None This Week
Code Snippet of the Week
Associative Arrays in Visual Basic (a Dictionary)

An associative array links a set of keys to a set of values. In Visual Basic, associative arrays are implemented as Dictionaries.

This code produces a message box saying "Nevada."

Imports System.Collections.Generic


Protected Sub Button1_Click(ByVal sender As Object,
ByVal e As System.EventArgs) Handles Button1.Click
        Dim States As New Dictionary(Of String, String)

        States.Add("CA", "California")
        States.Add("NV", "Nevada")
        States.Add("OR", "Oregon")
        MsgBox(States("NV"))
End Sub
Definition of the Week

None This Week
Link of the Week
Telerik Extensions for ASP.NET MVC - Free

Telerik is one of the leading makers of components for .NET programmers, so it's a pleasant surprise to see them offering a set of extensions for Microsoft's ASP.NET Model/View/Controller (MVC) framework.

This set of extensions includes a Grid, PanelBar, TabStrip and Menu.

These extensions are offered under GPLv2.

File of the Week

None This Week

Lastest VB.Net Flashcard

Our flashcards are part of our library of tidbits.

Tidbits are FAQs, Definitions, Tips, and Code Snippets from our knowledge base.

VB.Net Empty String Check (String.IsNullOrEmpty)

The .Net framework offers a static method in the string class: String.IsNullOrEmpty.

Dim s As String 
  
's = "" 'Uncomment to test 2nd case.
  
If String.IsNullOrEmpty(s) Then
  MessageBox.Show("hello")
End If
Posted By Mike Prestwood, Post #102045, KB Topic: VB.Net
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech