|
-
Oct 8th, 2009, 08:14 PM
#1
Thread Starter
Junior Member
Creating automatic log file folder
Hi all,
Currently i developing a system which require me to create a log file.
My code is working but I need to enhance it make the log file folder create automatically bcoz right now i have to create the folder manually in the debug folder.
Here is my code:
FileOpen(1, (Application.StartupPath & "\Log\" & lotno & ".txt"), OpenMode.Append)
PrintLine(1, "Start Time : ", Now())
PrintLine(1, "Lot Number : ", lotno)
PrintLine(1, "Test Software : ", title)
PrintLine(1, "Staff ID : ", operID)
PrintLine(1,
PrintLine(1, "")
FileClose(1)
Hope someone can help me
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
|