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

Visual Basic

 
GeneralRe: Runtime error '91' Pin
nlarson1124-Sep-08 10:03
nlarson1124-Sep-08 10:03 
GeneralRe: Runtime error '91' Pin
ChandraRam25-Sep-08 1:06
ChandraRam25-Sep-08 1:06 
AnswerRe: Runtime error '91' (Done!) Pin
Pedram Behroozi25-Sep-08 3:50
Pedram Behroozi25-Sep-08 3:50 
QuestionProblem With Saving Image in Binary format Pin
Saba0223-Sep-08 16:35
Saba0223-Sep-08 16:35 
AnswerRe: Problem With Saving Image in Binary format Pin
N a v a n e e t h23-Sep-08 17:48
N a v a n e e t h23-Sep-08 17:48 
QuestionAccess combobox binding and relationships Pin
Member 435504923-Sep-08 11:48
Member 435504923-Sep-08 11:48 
QuestionHow to GetMethod that use Dynamic Parameter (TypeParam)? Pin
f3rland23-Sep-08 11:01
f3rland23-Sep-08 11:01 
QuestionError: "Invalid Parameter Used" when i try to display an image [modified] Pin
Member 367504723-Sep-08 3:37
Member 367504723-Sep-08 3:37 
I get the error: "Invalid Parameter Used" when i try to display an image
I believe this occurs at DisplaySignPictureBox.Image = Image.FromStream(mem)

Try
Connect()
jesacmd = New SqlCommand("SELECT PER_SIGN FROM PER_INFO_SIGN WHERE PER_NAME
= '" & CheqOwnerComboBox.SelectedItem.ToString & "'", jesacon)

Dim da As New SqlDataAdapter(jesacmd)
Dim ds As New DataSet
da.Fill(ds, "PER_INFO_SIGN")
Dim c As Integer = ds.Tables("PER_INFO_SIGN").Rows.Count

If c > 0 Then
Dim jbyte() As Byte = ds.Tables("PER_INFO_SIGN").Rows(c - 1)("PER_SIGN")
Dim mem As New MemoryStream(jbyte)
DisplaySignPictureBox.Image = Image.FromStream(mem)

End If

Catch ex As Exception
MsgBox(ex.Message)
End Try
jesacon.Close()

modified on Tuesday, September 23, 2008 9:58 AM

QuestionPLEASE HELP ME Pin
sidwithu23-Sep-08 3:31
sidwithu23-Sep-08 3:31 
AnswerRe: PLEASE HELP ME Pin
Dave Kreskowiak23-Sep-08 7:02
mveDave Kreskowiak23-Sep-08 7:02 
QuestionReport Printining Pin
Gagan.2023-Sep-08 1:13
Gagan.2023-Sep-08 1:13 
QuestionConvert Topographic Map/ Contour Map Pin
Tan Yih Sheng22-Sep-08 23:45
Tan Yih Sheng22-Sep-08 23:45 
Questioncreating ascii file in mc1000 Pin
jayv0122-Sep-08 22:28
jayv0122-Sep-08 22:28 
AnswerRe: creating ascii file in mc1000 Pin
ChandraRam23-Sep-08 0:54
ChandraRam23-Sep-08 0:54 
GeneralRe: creating ascii file in mc1000 Pin
jayv0123-Sep-08 11:25
jayv0123-Sep-08 11:25 
QuestionWebBrowser Drag/Drop Support? Pin
Saul Johnson22-Sep-08 21:12
Saul Johnson22-Sep-08 21:12 
AnswerRe: WebBrowser Drag/Drop Support? Pin
jzonthemtn23-Sep-08 0:26
jzonthemtn23-Sep-08 0:26 
GeneralRe: WebBrowser Drag/Drop Support? Pin
Saul Johnson24-Sep-08 20:47
Saul Johnson24-Sep-08 20:47 
GeneralRe: WebBrowser Drag/Drop Support? Pin
albertjian18-Mar-10 22:32
albertjian18-Mar-10 22:32 
Questionhow to list the datas in combobox or listbox? Pin
dileep.arangod22-Sep-08 20:54
dileep.arangod22-Sep-08 20:54 
AnswerRe: how to list the datas in combobox or listbox? Pin
Ashfield22-Sep-08 21:11
Ashfield22-Sep-08 21:11 
GeneralRe: how to list the datas in combobox or listbox? Pin
dileep.arangod23-Sep-08 1:18
dileep.arangod23-Sep-08 1:18 
GeneralRe: how to list the datas in combobox or listbox? Pin
Ashfield23-Sep-08 1:37
Ashfield23-Sep-08 1:37 
GeneralRe: how to list the datas in combobox or listbox? Pin
dileep.arangod23-Sep-08 2:04
dileep.arangod23-Sep-08 2:04 
AnswerRe: how to list the datas in combobox or listbox? Pin
~Khatri Mitesh~22-Sep-08 22:17
~Khatri Mitesh~22-Sep-08 22:17 

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.