Results 1 to 2 of 2

Thread: Text file genetaror Question

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    usa
    Posts
    10

    Question

    Im tryin to generate a text file object from an Emailer form in pipeline. What i need is to take the transation Email information and generate a continuous text file that is appended with the email form info. does that make any since? if u have any suggestions please let me know. im stumped.
    Thanks

  2. #2
    Fanatic Member Dim's Avatar
    Join Date
    Jul 2000
    Posts
    620
    Umm i don't quite understand what is it that you want...but i think you want to get text from an e-mail client and save it to a text file. If so then there are two ways...if the e-mail client is made by you and it on yout form then simply open a text for append and write the text1.text to it.
    Code:
    Open "C:\email.txt" For Append As #1
       Print #1, Text1.Text
    Close #1
    But if the e-mail client is like OE (outlook express) then you would have to sendkeys which will copy and the text from the boc in the client and paste in into textbox on the form or store the copied text as a string and write the string contents to the file.
    Code:
    Dim string As String
    string = Text1.Text
    Open "C:\email.txt" For Append As #1
       Print #1, string
    Close #1

    Hope that helps,
    D!m

    Dim

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