Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-25-2013, 08:29 AM
MikeD MikeD is online now
Registered User
 
Join Date: 03-13-2005
Location: Brockville, ontario
Posts: 6
Build script lock up

Been using VB for a number of years now, great product, we love it. I've taken it a step further and have been using it to automate our company backups...

I have one script, that locks up completely (I often have to kill the process). On the rare occasion, I can see the script window and see that its 'building' this step..

The Step Properties is a VBScript type. Its 3 lines of code to get a 'file friendly date MM-DD-YY' so I can rename the .log file.

Nothing special on General/More tabs..

Code:
Dim TodaysDate

TodaysDate = Year(Now) & "-" & Month(Now) & "-" & Day(Now)

' set our date in a file friendly name
Application.Macros(vbldMacroTemporary).Add "FRIENDLY_DATE", TodaysDate
When I run this using "Test" - all is OK.

Any suggestions? Perhaps even a work around for what I'm trying to do?

THx.
m.
Reply With Quote
  #2  
Old 03-25-2013, 09:27 AM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
See if any of these help: http://www.kinook.com/Forum/showthread.php?t=3892
Reply With Quote
Reply


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 05:06 AM.


Copyright © 1999-2023 Kinook Software, Inc.