Kinook Software Forum

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

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 03-23-2004, 11:16 AM
dsmith dsmith is online now
Registered User
 
Join Date: 06-05-2003
Posts: 5
Date-specific logfile

How can I get a datetime-specific logile something like:

log04012004-0402.log

Under project properties I tried:

%PROJDIR%\%PROJROOT%%[vbld_FormatDate()]%.log

but the VBScript did not resolve. Any ideas?

Doug
Reply With Quote
  #2  
Old 03-23-2004, 12:33 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,015
That works here. Hold down Shift when mousing over the field to cause the script to be evaluated for the tooltip.
Reply With Quote
  #3  
Old 03-23-2004, 12:39 PM
dsmith dsmith is online now
Registered User
 
Join Date: 06-05-2003
Posts: 5
It works

I tried:

%PROJDIR%\%PROJROOT%%[vbld_FormatDate]%-%[vbld_FormatTime]%.log

and held down SHIFT key and it worked. thanks.
Reply With Quote
  #4  
Old 03-23-2004, 12:43 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,015
I didn't notice the extra percent signs you had. Those should be removed:

%PROJDIR%\%PROJROOT%[vbld_FormatDate()].log

%PROJDIR%\%PROJROOT%[vbld_FormatDate]-[vbld_FormatTime].log
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 07:28 AM.


Copyright © 1999-2023 Kinook Software, Inc.