Results 1 to 7 of 7

Thread: Collections... <RESOLVED>

Threaded View

  1. #1

    Thread Starter
    Fanatic Member Ruku's Avatar
    Join Date
    Jul 2002
    Location
    Canada
    Posts
    655

    Arrow Collections... <RESOLVED>

    Hiya doin vb ppl?

    Ok, got a lot of questions here... I just moved from vb6 to vb.net... and was wondering about a lot of stuff!!!

    K, first of all, in VB6 there were collections...

    for instance, you could have 60 textbox with the same name
    and do a quick call with formulas for the index... for example:

    VB Code:
    1. For tmpval = 1 To 20 Step 2
    2.         txtBox(tmpval).Text = "Number: " & Str(tmpval * 2)
    3. Next tmpval
    4. For tmpval = 1 To 20
    5.         If txtBox(tmpval).Text = "" Then txtBox(tmpval).Text = "Unknown number!"
    6. Next tmpval
    ... you get the idea... now the collection (index property) IS NO MORE!!!!!!! How can I manipulate my objects with formulas now... ???

    And if you have any tips on other problems I might encounter coz Im moving from vb6 to .net, please post em rigt away.... plus I noticed that vb.net had a lot of "friends" everywhere!!! like as friendly and stuff... uh, WHAT? lol, post me back ppl!

    Oh yeah, I was also wondering how you could notice if an object is loaded...?

    because my method, well, sucks:
    I try to load an object, if an error occurs, and the error corresponds with the object bering allready loaded, than it resumes and continue another proces... but this method causes the program to do an error and isn't effective to my opinion, is there any other logical way to do it??? (I did that in vb6, now im lost with the index/collection disapearing and stuff...!)
    Last edited by Ruku; Nov 10th, 2003 at 10:26 AM.

    Using VB.NET 2005/.NET 2.0, NetBeans IDE 5, Fujitsu Cobol85,
    Website: http://DreamForgery.com

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