Click here to Skip to main content
16,005,389 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionshape drawing and coordinations Pin
tuolesi15-May-10 5:12
tuolesi15-May-10 5:12 
AnswerRe: shape drawing and coordinations Pin
DaveAuld15-May-10 5:31
professionalDaveAuld15-May-10 5:31 
GeneralRe: shape drawing and coordinations Pin
tuolesi15-May-10 6:37
tuolesi15-May-10 6:37 
GeneralRe: shape drawing and coordinations Pin
DaveAuld15-May-10 6:42
professionalDaveAuld15-May-10 6:42 
GeneralRe: shape drawing and coordinations Pin
tuolesi15-May-10 7:03
tuolesi15-May-10 7:03 
GeneralRe: shape drawing and coordinations Pin
tuolesi17-May-10 5:25
tuolesi17-May-10 5:25 
AnswerRe: shape drawing and coordinations Pin
Luc Pattyn15-May-10 6:39
sitebuilderLuc Pattyn15-May-10 6:39 
QuestionAxDtPicker problems oleDate is invalid [modified] Pin
QuickBooksDev15-May-10 4:20
QuickBooksDev15-May-10 4:20 
Hi,

I have a program converted to VB.NET 2005 from VB6.

I uses control arrays extensively.

I am having a problem the the dtpicker control (AxMSComCtl2.AxPickter)

I frequently get 'not legal oledate' and other errors when accessing the control (reading or writing). We have controls just for short date and time i.e.
dtpFromLast and dtpFromLastTime
using
s = cstr(frm.dtpFromLast).value
or _value

or
frm.dtpFromLast.value = today

or

frm.dtpFromLast.time = now

Sometimes it works sometimes not.

The form in question is not always in focus and may not be visible (sometimes fails even when visible). It is a settings screen and not the screen where the work is being done.


Please just do not tell me to use another control as the windows date time control without some background explanation.

Thanks

modified on Monday, May 17, 2010 3:32 PM

AnswerRe: AxDtPickter problems oleDate is invalid Pin
Johan Hakkesteegt17-May-10 2:36
Johan Hakkesteegt17-May-10 2:36 
GeneralRe: AxDtPickter problems oleDate is invalid Pin
QuickBooksDev17-May-10 8:35
QuickBooksDev17-May-10 8:35 
GeneralRe: AxDtPickter problems oleDate is invalid Pin
Johan Hakkesteegt17-May-10 22:07
Johan Hakkesteegt17-May-10 22:07 
GeneralRe: AxDtPickter problems oleDate is invalid Pin
QuickBooksDev19-May-10 7:11
QuickBooksDev19-May-10 7:11 
GeneralRe: AxDtPickter problems oleDate is invalid Pin
Johan Hakkesteegt19-May-10 22:47
Johan Hakkesteegt19-May-10 22:47 
GeneralRe: AxDtPickter problems oleDate is invalid Pin
QuickBooksDev20-May-10 0:56
QuickBooksDev20-May-10 0:56 
GeneralRe: AxDtPickter problems oleDate is invalid Pin
Johan Hakkesteegt20-May-10 1:07
Johan Hakkesteegt20-May-10 1:07 
GeneralRe: AxDtPickter problems oleDate is invalid Pin
QuickBooksDev20-May-10 3:33
QuickBooksDev20-May-10 3:33 
AnswerRe: AxDtPicker problems oleDate is invalid Pin
QuickBooksDev17-May-10 9:45
QuickBooksDev17-May-10 9:45 
GeneralRe: AxDtPicker problems oleDate is invalid [modified] Pin
QuickBooksDev19-May-10 10:51
QuickBooksDev19-May-10 10:51 
GeneralRe: AxDtPicker problems oleDate is invalid Pin
QuickBooksDev20-May-10 1:57
QuickBooksDev20-May-10 1:57 
GeneralRe: AxDtPicker problems oleDate is invalid Pin
QuickBooksDev20-May-10 3:51
QuickBooksDev20-May-10 3:51 
GeneralRe: AxDtPicker problems oleDate is invalid Pin
QuickBooksDev21-May-10 0:48
QuickBooksDev21-May-10 0:48 
Questionquery .db databases Pin
Jack_1815-May-10 2:01
Jack_1815-May-10 2:01 
AnswerRe: query .db databases Pin
DaveAuld15-May-10 3:13
professionalDaveAuld15-May-10 3:13 
AnswerRe: query .db databases Pin
DaveAuld15-May-10 3:17
professionalDaveAuld15-May-10 3:17 
GeneralRe: query .db databases Pin
Jack_1815-May-10 8:20
Jack_1815-May-10 8:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.