FUJE
02-14-2006, 10:40 AM
hi
i have a problem with a visual script integration.
generally i have to know what datatype with the expression vbld_AllMacros.Item("MyMacro").Value is returned back.
my code:
Dim RelDate
RelDate = vbld_AllMacros.Item("MyMacro").Value
dYear = Year(actDate)
my error:
Error at Line 75, Column 2 (Type mismatch: '[string: "01.12.2005"]')
if i call a external script file and get the variable RelDate via
RelDate = WScript.Arguments(2) there occurs no error.
--> so what kind of datatype is returned by the vbld_AllMacros.Item("MY_Macro").Value, or how can i convert it?
i have a problem with a visual script integration.
generally i have to know what datatype with the expression vbld_AllMacros.Item("MyMacro").Value is returned back.
my code:
Dim RelDate
RelDate = vbld_AllMacros.Item("MyMacro").Value
dYear = Year(actDate)
my error:
Error at Line 75, Column 2 (Type mismatch: '[string: "01.12.2005"]')
if i call a external script file and get the variable RelDate via
RelDate = WScript.Arguments(2) there occurs no error.
--> so what kind of datatype is returned by the vbld_AllMacros.Item("MY_Macro").Value, or how can i convert it?