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

Visual Basic

 
AnswerRe: How to save an image in access Pin
Christian Graus1-Jun-09 21:53
protectorChristian Graus1-Jun-09 21:53 
GeneralRe: How to save an image in access Pin
mirzamujib2-Jun-09 0:55
mirzamujib2-Jun-09 0:55 
GeneralRe: How to save an image in access Pin
Dave Kreskowiak2-Jun-09 4:44
mveDave Kreskowiak2-Jun-09 4:44 
GeneralRe: How to save an image in access Pin
Jon_Boy2-Jun-09 1:52
Jon_Boy2-Jun-09 1:52 
AnswerRe: How to save an image in access Pin
mindserve1-Jun-09 23:13
mindserve1-Jun-09 23:13 
GeneralRe: How to save an image in access Pin
mirzamujib2-Jun-09 0:58
mirzamujib2-Jun-09 0:58 
GeneralRe: How to save an image in access Pin
Tom Deketelaere2-Jun-09 1:09
professionalTom Deketelaere2-Jun-09 1:09 
GeneralRe: How to save an image in access Pin
mirzamujib2-Jun-09 2:00
mirzamujib2-Jun-09 2:00 
Hello Tom

here i''m copying my code,plz have a look on it and suggest me how should i write code for my insert command.

Dim connectionstring As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Contacts3\mycontacts.mdb;Persist Security Info=False"
Dim con As New OleDbConnection(connectionstring)
Dim cmd as new OleDbCommand
Try

con.Open()
Dim str As String = "Insert into mycontactstab values ( '" & TextBox6.Text & "','" & TextBox4.Text & "','" & TextBox7.Text & "','" & TextBox10.Text & "','" & TextBox11.Text & "','" & TextBox8.Text & "','" & TextBox9.Text & "',PicureBox1.image)"----(here wht should i write as i took picture box to retrieve and save an image)-----
Dim cmd As New OleDbCommand(str, con)

If cmd.ExecuteNonQuery() Then
GeneralRe: How to save an image in access Pin
Tom Deketelaere2-Jun-09 2:10
professionalTom Deketelaere2-Jun-09 2:10 
GeneralRe: How to save an image in access Pin
mirzamujib2-Jun-09 4:03
mirzamujib2-Jun-09 4:03 
GeneralRe: How to save an image in access Pin
Tom Deketelaere2-Jun-09 7:37
professionalTom Deketelaere2-Jun-09 7:37 
GeneralRe: How to save an image in access Pin
mirzamujib2-Jun-09 20:55
mirzamujib2-Jun-09 20:55 
GeneralRe: How to save an image in access Pin
mirzamujib2-Jun-09 4:09
mirzamujib2-Jun-09 4:09 
AnswerRe: How to save an image in access Pin
mindserve2-Jun-09 2:47
mindserve2-Jun-09 2:47 
GeneralRe: How to save an image in access Pin
mirzamujib2-Jun-09 4:14
mirzamujib2-Jun-09 4:14 
AnswerRe: How to save an image in access Pin
mindserve2-Jun-09 3:18
mindserve2-Jun-09 3:18 
GeneralRe: How to save an image in access Pin
mirzamujib2-Jun-09 4:17
mirzamujib2-Jun-09 4:17 
GeneralRe: How to save an image in access Pin
mirzamujib2-Jun-09 20:51
mirzamujib2-Jun-09 20:51 
GeneralRe: How to save an image in access Pin
mirzamujib2-Jun-09 22:55
mirzamujib2-Jun-09 22:55 
AnswerRe: How to save an image in access Pin
mindserve2-Jun-09 23:49
mindserve2-Jun-09 23:49 
GeneralRe: How to save an image in access Pin
mirzamujib3-Jun-09 22:40
mirzamujib3-Jun-09 22:40 
QuestionExcel template is getting opened unncecssarily--- vb.net 2008 Pin
Pankaj Garg1-Jun-09 21:37
Pankaj Garg1-Jun-09 21:37 
GeneralRe: Excel template is getting opened unncecssarily--- vb.net 2008 Pin
Kschuler2-Jun-09 5:51
Kschuler2-Jun-09 5:51 
Question[Message Deleted] Pin
beginneronly1-Jun-09 19:58
beginneronly1-Jun-09 19:58 
AnswerRe: master of the codes! help me on my project please!? Pin
Christian Graus1-Jun-09 20:15
protectorChristian Graus1-Jun-09 20:15 

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.