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

Visual Basic

 
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 
Here is module1.

Option Strict Off
Option Explicit On
Module Module1
Public NIL As String = vbNullString
Public L As Integer
Public S4Junk, S2Junk, SssJunk, sJunk, SsJunk, S1Junk, S3Junk, S5Junk As String
Public gForm1 As Form1 = Form1
Public gForm2 As Form2 = Form2
Public Ern As Integer, Erd As String = NIL, Msg As String
Public Function Test() As Boolean
Dim i As Short
Dim s As String = NIL, Ss As String = NIL, Sss As String = NIL, S1 As String = NIL, S2 As String = NIL
On Error GoTo ErrX

s = gForm2.TextBox1.Text
Ss = gForm2.txtFromOrder(0).Text
Sss = gForm2.txtFromOrder(1).Text

S1 = gForm2.DateTimePicker1.Value

s = Form1.dtpFrom(i).Value
Ss = Form1.dtpFromTime(i).Value

'S1 = Form2.dtpFrom(i).Value
'Form2.Visible = True
If Not Form2.Logical_Form_Load Then ' 35788 if not visible
i = i
End If
s = gForm2.dtpFromTime(i)._Value ' OleAut not a legal date if ShowDialog
s = gForm2.dtpFromTime(i).Value
s = gForm2.dtpFrom(i)._Value
s = gForm2.dtpFrom(i).Value

S1 = Form2.dtpFromTime(i).Value
S2 = Form2.dtpFromTime(i)._Value
Return True

ErrX:
' With Logical 35788 An error occurred in a call to the Windows Date and Time Picker control
Ern = Err.Number : Erd = Err.Description
Stop
'Resume Next
Resume
Return False
End Function
End Module
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 
GeneralRe: query .db databases Pin
DaveAuld15-May-10 8:22
professionalDaveAuld15-May-10 8:22 
GeneralRe: query .db databases Pin
Jack_1815-May-10 8:29
Jack_1815-May-10 8:29 
AnswerRe: query .db databases Pin
loyal ginger15-May-10 11:04
loyal ginger15-May-10 11:04 
GeneralRe: query .db databases Pin
Jack_1815-May-10 15:13
Jack_1815-May-10 15:13 
GeneralRe: query .db databases Pin
Jack_1815-May-10 15:21
Jack_1815-May-10 15:21 
GeneralRe: query .db databases Pin
Dave Kreskowiak15-May-10 16:45
mveDave Kreskowiak15-May-10 16:45 
Questioncheck Date Range Pin
shaina223115-May-10 0:26
shaina223115-May-10 0:26 
AnswerRe: check Date Range Pin
Henry Minute15-May-10 3:29
Henry Minute15-May-10 3:29 
GeneralRe: check Date Range Pin
Luc Pattyn15-May-10 4:24
sitebuilderLuc Pattyn15-May-10 4:24 
QuestionFile Sharing in Vb.net Pin
mehrnoosh14-May-10 22:19
mehrnoosh14-May-10 22:19 
AnswerRe: File Sharing in Vb.net Pin
DaveAuld14-May-10 23:15
professionalDaveAuld14-May-10 23:15 
AnswerMessage Closed Pin
15-May-10 18:00
Member 445020215-May-10 18:00 

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.