Click here to Skip to main content
15,913,722 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: WebBrowser control Pin
Stephen Lintott26-Jan-09 1:24
Stephen Lintott26-Jan-09 1:24 
AnswerRe: WebBrowser control Pin
EliottA26-Jan-09 2:59
EliottA26-Jan-09 2:59 
Questionadd an ID from an from an combobox in buttun click event Pin
Qendro25-Jan-09 12:01
Qendro25-Jan-09 12:01 
AnswerRe: add an ID from an from an combobox in buttun click event Pin
Steven J Jowett25-Jan-09 23:16
Steven J Jowett25-Jan-09 23:16 
GeneralRe: add an ID from an from an combobox in buttun click event Pin
Qendro25-Jan-09 23:39
Qendro25-Jan-09 23:39 
GeneralRe: add an ID from an from an combobox in buttun click event Pin
Christian Graus26-Jan-09 0:23
protectorChristian Graus26-Jan-09 0:23 
Question[Message Deleted] Pin
IvanIT25-Jan-09 10:45
IvanIT25-Jan-09 10:45 
AnswerRe: Insert new Line in a Text File Pin
Wendelius25-Jan-09 10:59
mentorWendelius25-Jan-09 10:59 
GeneralRe: Insert new Line in a Text File Pin
IvanIT25-Jan-09 11:06
IvanIT25-Jan-09 11:06 
GeneralRe: Insert new Line in a Text File Pin
Wendelius25-Jan-09 11:20
mentorWendelius25-Jan-09 11:20 
GeneralRe: Insert new Line in a Text File Pin
Jon_Boy26-Jan-09 1:54
Jon_Boy26-Jan-09 1:54 
GeneralRe: Insert new Line in a Text File Pin
IvanIT26-Jan-09 7:40
IvanIT26-Jan-09 7:40 
GeneralRe: Insert new Line in a Text File Pin
Guffa26-Jan-09 10:52
Guffa26-Jan-09 10:52 
GeneralRe: Insert new Line in a Text File Pin
IvanIT26-Jan-09 11:37
IvanIT26-Jan-09 11:37 
GeneralRe: Insert new Line in a Text File Pin
Guffa26-Jan-09 13:38
Guffa26-Jan-09 13:38 
AnswerRe: Insert new Line in a Text File Pin
Guffa26-Jan-09 6:16
Guffa26-Jan-09 6:16 
QuestionHow to load & Unload form in vb.net ? Pin
zanzmera25-Jan-09 9:27
zanzmera25-Jan-09 9:27 
AnswerRe: How to load & Unload form in vb.net ? Pin
ivo7525-Jan-09 9:40
ivo7525-Jan-09 9:40 
AnswerRe: How to load & Unload form in vb.net ? Pin
Dave Kreskowiak25-Jan-09 10:07
mveDave Kreskowiak25-Jan-09 10:07 
AnswerRe: How to load & Unload form in vb.net ? Pin
Ashutosh Phoujdar26-Jan-09 19:15
Ashutosh Phoujdar26-Jan-09 19:15 
QuestionProblem to insert data from DateTimePicker to Access database Pin
ivo7525-Jan-09 8:42
ivo7525-Jan-09 8:42 
I want to insert data from DateTimePicker to Access database but have error "Data type mismatch in criteria expression"

this is the code

Dim aCon As OleDbConnection
Dim aCmd As OleDbCommand
Dim strCon As String

strAcessFilePath = System.Windows.Forms.Application.StartupPath &; "\rabotnici.mdb"
'create connection with mdb file
strCon = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & strAcessFilePath & ";User ID=Admin;Password="
aCon = New OleDbConnection(strCon)
aCon.Open()
strQuery = "insert into data_pr values(" + " '" + DateTimePicker1.Value + "'" + ")"

aCmd = New OleDbCommand(strQuery, aCon)
Dim da As New OleDbDataAdapter
da.SelectCommand = aCmd
aCmd.ExecuteNonQuery()

aCon.Close()


access database field format is Date/time

Can You help me thanks
AnswerRe: Problem to insert data from DateTimePicker to Access database Pin
Wendelius25-Jan-09 9:18
mentorWendelius25-Jan-09 9:18 
GeneralRe: Problem to insert data from DateTimePicker to Access database Pin
ivo7525-Jan-09 9:36
ivo7525-Jan-09 9:36 
GeneralRe: Problem to insert data from DateTimePicker to Access database Pin
Wendelius25-Jan-09 9:52
mentorWendelius25-Jan-09 9:52 
GeneralRe: Problem to insert data from DateTimePicker to Access database Pin
ivo7525-Jan-09 9:55
ivo7525-Jan-09 9:55 

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.