use Win32::OLE::Variant;
$oParameterField->AddCurrentValue(Variant(VT_DATE, "01/31/03"));
Please read the docs for Win32::OLE::Variant
Jenda
Always code as if the guy who ends up maintaining your code
will be a violent psychopath who knows where you live.
-- Rick Osborne
Edit by castaway: Closed small tag in signature | [reply] [Watch: Dir/Any] [d/l] |
For people to be able to help, you're going to have to give more context. How to ask questions the smart way. Give some details. Error messages? More than one line of code? What did you expect would happen? What have you tried? Where have you looked for answers?
-- [ e d @ h a l l e y . c c ] | [reply] [Watch: Dir/Any] |
/me puts in the perl/Perl/PERL plug: It is not called PERL. It is either perl or Perl, depending on whether you are talking about the interpreter or the language, respectively. Just one of those 'ick' subjects. Just as you wouldn't say "I am doing a ViSUaL BaSIc program". It is Visual Basic, not ViSUaL BaSIc. There. :D
If the above content is missing any vital points or you feel that any of the information is misleading, incorrect or irrelevant, please feel free to downvote the post. At the same time, please reply to this node or /msg me to inform me as to what is wrong with the post, so that I may update the node to the best of my ability.
| [reply] [Watch: Dir/Any] |
My first thought was that this was kind of a trivial thing to point out--particularly given the way people tend to communicate on the Internet, with grammer and spelling given little attention. Perl, perl, PERL. It's not a detail that I tend to keep track of.But, then, a second thought arose that it is, after all, programming we're talking about and things like capital letters do matter. (Thank goodness for 'use strict' as it catches me out on all those little details like $object isn't $OBject.) I'm learning to appreciate detail, so I guess I can pay attention to the difference between Perl and perl. It is/was an acronym, so I would have thought that PERL would be acceptable--but if it's perl or Perl, then so be it.
| [reply] [Watch: Dir/Any] |
You bet there is a difference. And i invite everyone to
point it out whenever someone posts a question that calls
Perl PERL. It may be trivial, but it keeps the
misinformation down. I can't find the link, but there is
a site 'out there' that compares X to PERL ... unknowning
people will think that Perl is horrible when they come
away from that read.
What is PERL? From the Inline::PERL documentation:
PERL is a programming language for writing CGI applications. It's main strength is that it doesn't have any unnecessary warnings or strictures. It is a direct descendent of Perl, a programming language which was used mainly by programmers. However, the original language required too much reading and thinking and so PERL was developed as a language which was more in tune with the requirements of the Internet age.
Hah! ;)
jeffa
L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
| [reply] [Watch: Dir/Any] |