Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Build script lock up (https://www.kinook.com/Forum/showthread.php?t=5145)

MikeD 03-25-2013 08:29 AM

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.

kinook 03-25-2013 09:27 AM

See if any of these help: http://www.kinook.com/Forum/showthread.php?t=3892


All times are GMT -5. The time now is 03:30 PM.


Copyright © 1999-2023 Kinook Software, Inc.