System Time to "Variant Time" - method in Active-X control expects Double...

  • Thread starter Thread starter Robin Tucker
  • Start date Start date
R

Robin Tucker

I have an active-X control (ATl/C++) that expects a date as Variant Time (a
double). How can I convert a date in VB.NET into such a double?

Any help would be much appreciated.

thanks.
 
Robin Tucker said:
I have an active-X control (ATl/C++) that expects a date as Variant
Time (a double). How can I convert a date in VB.NET into such a
double?

Call the date's ToOADate function returning the _O_le _A_utomation Date as a
double value.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top