> I've definetly narrowed it down to some sort of type mismatch within the 
> vbscript engine. When i break the VBscript debugger, i cannot evaluate simple 
> vbscript dim variables, because i get type-mismatch. MAybe the fact that they 
> have no type has something to do with this? i.e.:
>
>         Dim strInitialDate
>         Dim strFinalDate
>
>         strInitialDate = document.all("txtInitialDate").value
>         strFinalDate = document.all("txtFinalDate").value

So MS is notorious for having idiosyncratic ideas about what dates
should be.  SOAP out of the box is broken in C# for the same reasons.

I re-read the earlier posts and you're doing
mainFrame.text_field(:name,"txtInitialDate").set("2/10/2006").

I'll make two suggestions:  one is that you need a different format
for the string, like maybe "02/10/2006" or maybe "2-10-2006".  The
other is that you need to pass it some kind of date object.   You seem
to have the ear of your developers, they might have a suggestion.  Or
else get back in the debugger and look specifically at the formats
expected for dates.

Hope that gets you a little further along...
-Chris
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to