Results 1 to 3 of 3

Thread: Some Help Please..

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2010
    Posts
    6

    Some Help Please..

    Hi.

    I'm trying to make something so it outputs the following :

    Code:
    (55, 0, 2, '', 0, '92.238.50.38', 1290532303, 'name', 'name', '$H$96/cIhol2oc0jOSKeio2.O9Moarxaq0', 1290532303, 0, '[email protected]', 273321771326, '', 0, 1290532303, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 'en', '0.00', 0, 'D M d, Y g:i a', 1, 0, '', 0, 0, 0, 0, -3, 0, 0, 't', 'd', 0, 't', 'a', 0, 1, 0, 1, 1, 1, 1, 230271, '', 0, 0, 0, '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'f2e5c17bdf276feb', 1, 0, 0);
    I have three listboxes.

    ID
    Name
    Email

    i need it so it goes through the id & name & email list according. and stored into a text file


    How can i do this? Any help is seriously appreciated.

    Reason why i need to do this is i messed up my 40k user forum converting to a different forum platform without backing up >.< this is the only way i can get my site back up.

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Some Help Please..

    Welcome to the forums. Can you describe this better?

    1) You have a ton of info in your sample data. You have a way of printing that info out too?

    2) So your 3 listboxes... They have the same number of listitems in all 3? If so, use a simple loop, something like this:
    Code:
    Dim I As Integer
    ' open a file handle
    For I = 0 To ListID.ListCount - 1
        ' print out the other data before you get to ID
        Print #fileHandle, "'"; ListID.List(i); "', ";  ' the ID
        Print #fileHandle, "'"; ListName.List(i); "', ";  ' the name
        ' print out other data  between name & email
        Print #fileHandle, "'"; ListEmail.List(i); "', ";  ' the email address
        ' print out other data between email address & end of your data
    Next
    Close #fileHandle
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Some Help Please..

    Hi Rawwr... Welcome to the forums...

    I think you are recreating the member table of your forum database, by simply replacing the name, email and ID.
    That doesn't looks like a good approach.

    There has been other datas like, the IP from which the user had registered (6th column), date of join (7th column, I think), hash value of password (8th column), etc...

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

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