Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-10-2005, 09:20 AM
craign craign is online now
Registered User
 
Join Date: 03-30-2005
Location: Canada
Posts: 1
Project VBScript Stopped working

I've been using Project script code that I'm pretty sure I sliced out of one of the examples, to search for the existence of a log file and delete it if it exists. Anyway it worked great and then stopped. I've had to comment it out and make sure that I physically delete it prior to the build.

' delete the file if it exists
'If vbld_FSO.FileExists(logFile) Then
'MsgBox "Deleting log file '" + logFile + "' from vbld_BuildStarting event (go to Script Editor, " + _
'"Project tab to view script code)."
' vbld_FSO.DeleteFile logFile, True
'End If


Any ideas?
-CN
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 12:38 AM.


Copyright © 1999-2023 Kinook Software, Inc.