-
I just finished installing the Beta 1 version of Visual Studio.net
It's very cool and has new controls such as LinkLabel, Splitter, Tooltip, just to name a few. It takes about 1.3 GB to 1.6 GB of space to install. It's slow but that could just be my computer.
Here is some sample code:
Code:
Imports System.ComponentModel
Imports System.Drawing
Imports System.WinForms
Public Class Form1
Inherits System.WinForms.Form
Public Sub New()
MyBase.New
Form1 = Me
'This call is required by the Win Form Designer.
InitializeComponent
'TODO: Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Overrides Public Sub Dispose()
MyBase.Dispose
components.Dispose
End Sub
#Region " Windows Form Designer generated code "
'Required by the Windows Form Designer
Private components As System.ComponentModel.Container
Private WithEvents MenuItem3 As System.WinForms.MenuItem
Private WithEvents MenuItem2 As System.WinForms.MenuItem
Private WithEvents MenuItem1 As System.WinForms.MenuItem
Private MainMenu1 As System.WinForms.MainMenu
Dim WithEvents Form1 As System.WinForms.Form
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container()
Me.MenuItem2 = New System.WinForms.MenuItem()
Me.MainMenu1 = New System.WinForms.MainMenu()
Me.MenuItem1 = New System.WinForms.MenuItem()
Me.MenuItem3 = New System.WinForms.MenuItem()
'@design Me.TrayHeight = 90
'@design Me.TrayLargeIcon = False
'@design Me.TrayAutoArrange = True
MenuItem2.Text = "Hi"
MenuItem2.Index = 0
'@design MainMenu1.SetLocation(New System.Drawing.Point(7, 7))
Dim a__1(1) As System.WinForms.MenuItem
a__1(0) = MenuItem1
MainMenu1.MenuItems.All = a__1
MenuItem1.Text = "Hello"
MenuItem1.Index = 0
Dim a__2(2) As System.WinForms.MenuItem
a__2(0) = MenuItem2
a__2(1) = MenuItem3
MenuItem1.MenuItems.All = a__2
MenuItem3.Text = "Exit"
MenuItem3.Index = 1
Me.Text = "Form1"
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.Menu = MainMenu1
Me.ClientSize = New System.Drawing.Size(488, 365)
End Sub
#End Region
Protected Sub MenuItem3_Click(ByVal sender As Object, ByVal e As System.EventArgs)
End
End Sub
Protected Sub MenuItem2_Click(ByVal sender As Object, ByVal e As System.EventArgs)
MsgBox("Hi")
End Sub
End Class
I realize there are some weird things in the code (copy, and pasted from dev. window) but it automatically does that so you can paste it in your window and have it automatically draw the objects (I think).
Tell me what you think of Visual Studio.net!
-
-
I like it - but it will take some getting use to & I prefer the vb6 help file.
You get it from Microsoft's web site : http://msdn.microsoft.com/net/
-
Thanks mate downloaded it today, can i run it along side vb6?
-
Can do !
I'm currently running vb5, vb6 & Sp4, vs.net together!