PDA

Click to See Complete Forum and Search --> : Visual Studio.net


conquerdude
Feb 26th, 2001, 08:44 PM
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:

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!

Feb 28th, 2001, 08:31 AM
Where did you get it?

alex_read
Mar 1st, 2001, 05:10 AM
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/

Mar 1st, 2001, 11:35 AM
Thanks mate downloaded it today, can i run it along side vb6?

alex_read
Mar 2nd, 2001, 03:07 AM
Can do !

I'm currently running vb5, vb6 & Sp4, vs.net together!