Click here to Skip to main content
15,887,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to determine if it is a file or directory for an item under a folder? Pin
Luc Pattyn8-Feb-09 8:01
sitebuilderLuc Pattyn8-Feb-09 8:01 
GeneralRe: How to determine if it is a file or directory for an item under a folder? Pin
MohammadAmiry8-Feb-09 19:26
MohammadAmiry8-Feb-09 19:26 
AnswerRe: How to determine if it is a file or directory for an item under a folder? Pin
MohammadAmiry8-Feb-09 19:24
MohammadAmiry8-Feb-09 19:24 
QuestionHow to pass a parameter to windows application form the way we can do in a web form Pin
Naglaa Saeed8-Feb-09 0:32
Naglaa Saeed8-Feb-09 0:32 
AnswerRe: How to pass a parameter to windows application form the way we can do in a web form Pin
Dave Kreskowiak8-Feb-09 5:34
mveDave Kreskowiak8-Feb-09 5:34 
AnswerRe: How to pass a parameter to windows application form the way we can do in a web form Pin
vaghelabhavesh8-Feb-09 10:36
vaghelabhavesh8-Feb-09 10:36 
AnswerRe: How to pass a parameter to windows application form the way we can do in a web form Pin
MohammadAmiry8-Feb-09 19:31
MohammadAmiry8-Feb-09 19:31 
QuestionError in Update & Insert Statement Pin
Vikash Yadav7-Feb-09 21:20
Vikash Yadav7-Feb-09 21:20 
Hi,

I am Using MS Access 2002 Databe & vb.net 2005 in my Project.
In My Project is Select Command working Properly, But Insert & Update Command is giving Error ("Syntex Error in Update Statement" or in Insert Error in Insert Statement.

I am using this function for update

Private Function UpdateUser(ByVal Password As String, ByVal UserID As Integer)
Try
Dim strcmd As String = "update tblLogin set Password='" + Password + "' where UserID =" & UserID.ToString
Dim cmd As New OleDbCommand(strcmd, con)
con.Open()
cmd.ExecuteNonQuery()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Critical, "Error Message")
End Try

Return 0
End Function





What is the solution for this

Plese Help Me.

Thanks & Regards

Form :-
Vikash Yadav

GeneralRe: Error in Update & Insert Statement Pin
Luc Pattyn8-Feb-09 4:39
sitebuilderLuc Pattyn8-Feb-09 4:39 
GeneralRe: Error in Update & Insert Statement Pin
Vikash Yadav8-Feb-09 17:01
Vikash Yadav8-Feb-09 17:01 
AnswerRe: Error in Update & Insert Statement Pin
Dave Kreskowiak8-Feb-09 5:21
mveDave Kreskowiak8-Feb-09 5:21 
GeneralRe: Error in Update & Insert Statement Pin
paas8-Feb-09 8:08
paas8-Feb-09 8:08 
GeneralRe: Error in Update & Insert Statement Pin
Dave Kreskowiak8-Feb-09 13:18
mveDave Kreskowiak8-Feb-09 13:18 
GeneralRe: Error in Update & Insert Statement Pin
Vikash Yadav8-Feb-09 18:25
Vikash Yadav8-Feb-09 18:25 
GeneralRe: Error in Update & Insert Statement Pin
Dave Kreskowiak9-Feb-09 1:45
mveDave Kreskowiak9-Feb-09 1:45 
AnswerRe: Error in Update & Insert Statement Pin
Vimalsoft(Pty) Ltd8-Feb-09 22:22
professionalVimalsoft(Pty) Ltd8-Feb-09 22:22 
Questioncan anyone help me in making an application of blood donors information service. Pin
neetu1497-Feb-09 10:04
neetu1497-Feb-09 10:04 
AnswerRe: can anyone help me in making an application of blood donors information service. Pin
vaghelabhavesh7-Feb-09 11:17
vaghelabhavesh7-Feb-09 11:17 
GeneralRe: thankyou so much. Pin
neetu14910-Feb-09 8:04
neetu14910-Feb-09 8:04 
AnswerRe: can anyone help me in making an application of blood donors information service. Pin
vigylant7-Feb-09 11:33
vigylant7-Feb-09 11:33 
AnswerRe: can anyone help me in making an application of blood donors information service. Pin
Christian Graus8-Feb-09 9:14
protectorChristian Graus8-Feb-09 9:14 
GeneralRe: can anyone help me in making an application of blood donors information service. Pin
Jon_Boy9-Feb-09 7:18
Jon_Boy9-Feb-09 7:18 
GeneralRe: thankyou so much. Pin
neetu14910-Feb-09 8:07
neetu14910-Feb-09 8:07 
AnswerRe: can anyone help me in making an application of blood donors information service. Pin
EliottA8-Feb-09 13:50
EliottA8-Feb-09 13:50 
AnswerRe: can anyone help me in making an application of blood donors information service. Pin
Tom Deketelaere9-Feb-09 0:24
professionalTom Deketelaere9-Feb-09 0:24 

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.