View Single Post
  #11  
Old 10-04-2005, 11:20 AM
jjaymcdaniel jjaymcdaniel is online now
Registered User
 
Join Date: 10-03-2005
Location: Fredericksburg, VA
Posts: 8
The problem that I have had there is that I am trying to copy the log file which means that I have to stop writing to it. Once I stop writing to the log file I have to start using MsgBox. I have discovered that after 4 to 6 successive calls to MsgBox the code will stop executing and if several of the MsgBox calls are commented out then the code will sometimes run further. I also had been using the 'On Error Resume Next' so that if the file copy fails (which it does) the email will still send.

I have not used a failure step as I want to send the email with different messages depending on whether the build succeeded or failed.

Could the log file copy operation be failing because the file is still open from VBP? When does the log file get closed?

I just tried the project on the our build server here which is running Windows 2000 w/SP 4 and WSH 5.6. It does not work there either.
Reply With Quote