|
-
Dec 1st, 1999, 11:36 PM
#1
Thread Starter
Member
I am trying to create an object ONCE to write a logfile and want various Functions to be able to use the same object, How can I do this?
Right now I am using the following within an click event and it works fine, but I want to be able to just use my Logfile.Writeline command within any function to append to the same file...
Set Logfile = fso.CreateTextFile("c:\installlog.txt", True)
Logfile.WriteLine " Install Log Created" & " " & (Now)
Thanks.
-
Dec 2nd, 1999, 03:28 AM
#2
Thread Starter
Member
-
Dec 2nd, 1999, 12:18 PM
#3
Place the following in the Declarations section of a module
Public Logfile as Object
------------------
Marty
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|