Results 1 to 10 of 10

Thread: Anyone have time on there hands? - updated

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2003
    Location
    Eden Prairie Minnesota
    Posts
    301

    Anyone have time on there hands? - updated

    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
    Last edited by BaDDBLooD; Jun 17th, 2004 at 03:54 PM.

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    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.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2003
    Location
    Eden Prairie Minnesota
    Posts
    301
    ah ok then

    Can you tell me somethings that changed between the versions?

  4. #4
    Frenzied Member
    Join Date
    Mar 2004
    Location
    Orlando, FL
    Posts
    1,618
    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.
    Sean

    Some days when I think about the next 30 years or so of my life I am going to spend writing code, I happily contemplate stepping off a curb in front of a fast moving bus.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2003
    Location
    Eden Prairie Minnesota
    Posts
    301
    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:
    1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    2.  
    3.         Dim Split() As String
    4.  
    5.         Split = Split(txtSentence.Text, " ", 3) 'THIS LINE HAS A BLUE LINE UNDER IT
    6.  
    7.         Me.txtWord1.Text = Split(1)
    8.         Me.txtWord2.Text = Split(2)
    9.         Me.txtWord3.Text = Split(3)
    10.  
    11.     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?

  6. #6
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950
    For one thing, you're using the keyword Split as a variable name.

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2003
    Location
    Eden Prairie Minnesota
    Posts
    301
    yeah.. but i don't think that's the problem lol

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2003
    Location
    Eden Prairie Minnesota
    Posts
    301
    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
    Last edited by BaDDBLooD; Jun 17th, 2004 at 03:54 PM.

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2003
    Location
    Eden Prairie Minnesota
    Posts
    301
    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!

  10. #10

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2003
    Location
    Eden Prairie Minnesota
    Posts
    301
    nm... snap to grid

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width