1.1.1.Compile Visual Basic source code in command line
vbc /r:System.DLL /r:System.Windows.Forms.DLL /r:System.Drawing.DLL WinEvents.vb
1.1.2.How to compile and run the code in this tutorial
Go to: Start->Programs->Visual Studio.NET->Visual Studio.NET Tools-> Visual Studio.NET Command Prompt, and type:
c:\examples>vbc example1.vb.
1.1.3.Simple Visual Basic program.Module Tester |
1.1.4.Writing line of text with multiple statements.
Module Tester
Sub Main()
Console.Write("Welcome to ")
Console.WriteLine("Visual Basic!")
End Sub ' Main
End Module
No comments:
Post a Comment