I Just upgraded my project from vb6 to vb7 and of course it has Upgrade Errors, anyone want to show me how to fix them over like aim or something? I'll send you project
Printable View
I Just upgraded my project from vb6 to vb7 and of course it has Upgrade Errors, anyone want to show me how to fix them over like aim or something? I'll send you project
No.
Just like most of tell everyone, dont EVER use the upgrade wizard. Either leave it as a VB6 project, or re-write it. Upgrade wizard is pointless junk.
ah ok then
Can you tell me somethings that changed between the versions?
VB .NET isn't really Visual Basic anymore. It is C# with a Visual Basic-like interface. I'd have to agree with Cander on the not updating a VB 6 project. In order to really take advantage of the .NET framework, i think the program would really be written alot different, so what you end up with is alot of work to get a program updated for no real results.
K well.. i decided to play around with stuff so i was going to see if Arrays are any different, so i tried:
VB Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Split() As String Split = Split(txtSentence.Text, " ", 3) 'THIS LINE HAS A BLUE LINE UNDER IT Me.txtWord1.Text = Split(1) Me.txtWord2.Text = Split(2) Me.txtWord3.Text = Split(3) End Sub
Number of Indinces exceeds the number of dimensions in indexed array
i tried Split(3) as string
split(txtsentence.text, " ")
all sorts of tihngs.. still same error
Why?
For one thing, you're using the keyword Split as a variable name.
yeah.. but i don't think that's the problem lol
Yeah ok nm it was the problem
Ok i am going to make a Project
What's a good Beginner project for Visual Basic .Net
The gap between the boarder and my controld is larger at the bottom than at the top, and i can't seem to fix it!
nm... snap to grid