Results 1 to 4 of 4

Thread: I need to Save!!!

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    Midlands
    Posts
    13

    Exclamation I need to Save!!!

    Hello,

    At the moment I am busy trying to create a form in Microsoft Outlook that will be used as an error log at work. Basically I have got three fields so far. (Name, Urgency & Description). I have been able to send the data to myself via e-mail. However I now want to save to entered data into a log file rather that have all errors sent to myself via e-mail.

    I would appreciate it if somebody could help me out by giving me the VB Script that I need to be able to save the data that I have collected, to a file.....rather than an e-mail

    Thanks,
    Darren

  2. #2
    trophyfish
    Guest
    this will write any variables into a sequential text file, just plug in as many of your variables you need

    Open App.Path & "\export.txt" For Output As #20
    Print #20, your_variable1
    Print #20, your_variable2
    Close #20

  3. #3
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    I need a woman!

    Dont think that works trophyfish. He needs to do it in Vb script and as far as I know, you cant use open. I think the only option is to use the File Scripting object. I have never used it so I cant give you any detailed info, but ask in the ASP/VBScript forum if you dont get a better answer here.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  4. #4

    Thread Starter
    New Member
    Join Date
    Aug 2001
    Location
    Midlands
    Posts
    13
    I will try there
    Cheers!!!

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