Symbianize Forum

Most of our features and services are available only to members, so we encourage you to login or register a new account. Registration is free, fast and simple. You only need to provide a valid email. Being a member you'll gain access to all member forums and features, post a message to ask question or provide answer, and share or find resources related to mobile phones, tablets, computers, game consoles, and multimedia.

All that and more, so what are you waiting for, click the register button and join us now! Ito ang website na ginawa ng pinoy para sa pinoy!

Help . (vb.net)

komudu123

Novice
Advanced Member
Messages
40
Reaction score
0
Points
26
paano po mag save ng picture sa vb.net papunta sa mysql yog? pwdi pong maka hingi ng code para dun. atsaka po paano e load yung picture pag na save? code din po salamat po. para sa thesis namin.
 
paano po mag save ng picture sa vb.net papunta sa mysql yog? pwdi pong maka hingi ng code para dun. atsaka po paano e load yung picture pag na save? code din po salamat po. para sa thesis namin.



TS try mo to. Una mag drag ka nang OpenFileDialog then wright the following code.


Dim strFileName As String

openFD.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures)

openFD.Title = "Open an Image"
openFD.Filter = "jpegs|*.jpg|gifs|*.gif|Bitmaps|*.bmp"
Dim DidWork As Integer = openFD.ShowDialog()


If DidWork <> DialogResult.Cancel Then

strFileName = openFD.FileName
PictureBox1.Image = Image.FromFile(strFileName)
openFD.Reset()

End If


Make sure na ang DataType nang picture mo is image sa Database mo pag mag Insert kah OK? If you have clarification about my code ask lang OK?. THANK YOU LANG OK NAH. :)
 
Last edited:
Back
Top Bottom