Closed Thread
Results 1 to 8 of 8

Thread: Need Visual Basic Help

  1. #1
    chaganlal1's Avatar
    chaganlal1 is offline x10 Elder chaganlal1 is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    SC
    Posts
    1,007

    Need Visual Basic Help

    Hey I am trying to make a text file (.txt) be split into parts of a certain size and be saved. I need some help with the coding. Is there anyone that can help me?

  2. #2
    Colin's Avatar
    Colin is offline x10 Elder Colin is an unknown quantity at this point
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    992

    Re: Need Visual Basic Help

    Can you explain a little more what you are trying to do? I'm not quite sure what you mean. Do you want just the text in the files to be saved as different sizes and parts?
    Xbox Live Gamertag: hyperphoenix89
    --- + Current + ---

    --- + Current #2 + ---

  3. #3
    chaganlal1's Avatar
    chaganlal1 is offline x10 Elder chaganlal1 is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    SC
    Posts
    1,007

    Re: Need Visual Basic Help

    Ok like i want to open a Text file (.txt) into a TextBox in visual basic...then i want another textbox where you put in size of the gonna-be splitted text and then a command button to save the splitted files. I know that sounds confusing so here it is...

    If I have saved a text file in notepad..with the following text..

    chaganlal1chaganlal1chaganlal1chaganlal1
    chaganlal1chaganlal1chaganlal1chaganlal1
    chaganlal1chaganlal1chaganlal1chaganlal1
    chaganlal1chaganlal1chaganlal1chaganlal1
    chaganlal1chaganlal1chaganlal1chaganlal1


    .lets call it Chaganlal1.txt
    lets say thats 6 kilobytes... I want to split it into the size i choose...so after that I would have Chaganlal1(part1).txt Chaganlal1(part2).txt Chaganlal3(part3).txt... and so on
    Hope this made it more clear - thanks, chag

  4. #4
    Chris Z's Avatar
    Chris Z is offline x10 Spammer Chris Z is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Alabama, USA
    Posts
    2,802

    Re: Need Visual Basic Help

    what is the point of this? are you just trying some training or whatever?

  5. #5
    chaganlal1's Avatar
    chaganlal1 is offline x10 Elder chaganlal1 is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    SC
    Posts
    1,007

    Re: Need Visual Basic Help

    Well I am trying to get the code/help on how to code. If you would mind your business and not POST useless information on the subject in my thread ill appreciate it. THANK YOU

  6. #6
    Jordan K is offline [B]tags dont work:([/B] Jordan K is an unknown quantity at this point
    Join Date
    May 2005
    Location
    Hamilton, Ontario, Canada
    Posts
    764

    Re: Need Visual Basic Help

    If you're just starting out in VB this is something you would want to try & stay away from. Lol, this is not beginners' stuff. Telling a program how to read the algorithms of a text document & split it properly into separate files is something that can be a little confusing if you don't know any VB before-hand.

    It's like going to the store to buy a chocolate bar. Except you skipped the part where you went to work for the money. Going to be a little tough to get that chocolate bar. You see what I am saying?
    adcode // ToS // x10Free | x10Paid Hosting
    ------------------------------------------

  7. #7
    chaganlal1's Avatar
    chaganlal1 is offline x10 Elder chaganlal1 is an unknown quantity at this point
    Join Date
    Feb 2005
    Location
    SC
    Posts
    1,007

    Re: Need Visual Basic Help

    Well I figured that out when i got it...Thanks for reminding me that it was hard...ha... [still looking for HELP] and not comments. thanks - chag

  8. #8
    Colin's Avatar
    Colin is offline x10 Elder Colin is an unknown quantity at this point
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    992

    Re: Need Visual Basic Help

    You could just do a search and store text function. Where you call the file, then search it for specific text and then store it. I can't remember the exact code for it, but if thats what you want I can find it.
    Xbox Live Gamertag: hyperphoenix89
    --- + Current + ---

    --- + Current #2 + ---

Closed Thread

Similar Threads

  1. [OFF] Will Code Programs using visual basic
    By chaganlal1 in forum The Marketplace
    Replies: 1
    Last Post: 10-07-2006, 10:59 PM
  2. Using Visual Basic 2005
    By TheJeffsta in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 08-05-2006, 02:18 PM
  3. Visual Basic checkbox help
    By nightscream in forum Scripts & 3rd Party Apps
    Replies: 6
    Last Post: 03-30-2006, 08:34 AM
  4. Visual Basic for Free?
    By AsPeRiTy in forum Scripts & 3rd Party Apps
    Replies: 9
    Last Post: 08-15-2005, 08:24 PM
  5. Visual Basic: An introduction Part 1
    By thegoodlist in forum Tutorials
    Replies: 0
    Last Post: 06-08-2005, 11:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers