Results 1 to 6 of 6

Thread: Blank Character HELP! URGENT!

  1. #1

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    39

    Exclamation Blank Character HELP! URGENT!

    I am sending information back and forth to a text document and i want to know how you could delete a whole line of code and have nothing left not even a space character! I tried chr(127) and chr(0) those didnt work they just added some weird symbols. If you dont believe me even try! Please Help me with this ASAP!

  2. #2
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Blank Character HELP! URGENT!

    Quote Originally Posted by littleman001
    I am sending information back and forth to a text document
    What type of text document? Do you mean a text file or what?
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

  3. #3
    Hyperactive Member
    Join Date
    Feb 2005
    Location
    Wollongong. NSW. Australia
    Posts
    470

    Re: Blank Character HELP! URGENT!

    G'day,

    Quote Originally Posted by littleman001
    I am sending information back and forth to a text document and i want to know how you could delete a whole line of code and have nothing left not even a space character! I tried chr(127) and chr(0) those didnt work they just added some weird symbols. If you dont believe me even try! Please Help me with this ASAP!
    Create another file and copy from one to the other, record by record but missing out the ones you don't want.

    Peter

  4. #4
    Frenzied Member moinkhan's Avatar
    Join Date
    Jun 2000
    Location
    Karachi, Pakistan
    Posts
    2,011

    Re: Blank Character HELP! URGENT!

    Quote Originally Posted by littleman001
    I am sending information back and forth to a text document and i want to know how you could delete a whole line of code and have nothing left not even a space character! I tried chr(127) and chr(0) those didnt work they just added some weird symbols. If you dont believe me even try! Please Help me with this ASAP!

    in whatever way you are determining a line (most probably you detect CR and LF), you go 1 character behind (so the vbcrlf is included) and then replace the string with "" ,.... that would probably do it....

    or you may post your code here..

  5. #5

    Thread Starter
    Member
    Join Date
    Apr 2005
    Posts
    39

    Re: Blank Character HELP! URGENT!

    No you guys really didnt help at all but thanks! I have figured it out myself by taking the LOF of the document and splitting up the lines and spank it out! WOOO! SPANK! You guys are clueless of what the heck I was talking about lol.

  6. #6
    vbuggy krtxmrtz's Avatar
    Join Date
    May 2002
    Location
    In a probability cloud
    Posts
    5,573

    Re: Blank Character HELP! URGENT!

    Quote Originally Posted by littleman001
    You guys are clueless of what the heck I was talking about lol.
    Well, next time give us a clue...
    Lottery is a tax on people who are bad at maths
    If only mosquitoes sucked fat instead of blood...
    To do is to be (Descartes). To be is to do (Sartre). To be do be do (Sinatra)

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