Click here to Skip to main content
15,900,254 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionKey board shortcut Control C Pin
Prakash_Mishra17-Sep-07 23:26
Prakash_Mishra17-Sep-07 23:26 
AnswerRe: Key board shortcut Control C Pin
helelark12317-Sep-07 23:34
helelark12317-Sep-07 23:34 
AnswerRe: Key board shortcut Control C Pin
Tom Deketelaere17-Sep-07 23:37
professionalTom Deketelaere17-Sep-07 23:37 
GeneralRe: Key board shortcut Control C Pin
Prakash_Mishra18-Sep-07 0:07
Prakash_Mishra18-Sep-07 0:07 
GeneralRe: Key board shortcut Control C Pin
Tom Deketelaere18-Sep-07 0:18
professionalTom Deketelaere18-Sep-07 0:18 
GeneralRe: Key board shortcut Control C Pin
Prakash_Mishra18-Sep-07 0:25
Prakash_Mishra18-Sep-07 0:25 
GeneralRe: Key board shortcut Control C Pin
Tom Deketelaere18-Sep-07 1:13
professionalTom Deketelaere18-Sep-07 1:13 
Questionwhat the options... Pin
neo_bags17-Sep-07 20:39
neo_bags17-Sep-07 20:39 
hi friend,

i have a big problem which i dont know how to solve it,, it say's when i run the application "parameter is not valid"..and i look the error details that vb.net raise it about system.drawing.stream i run in visual studio .net 2005 i made it in vb.net then i deploy it to another laptop which is vaio model and windows xp prof. version 2002 sp 2 and it coz error..how can i fix that..is there a way to fix the problem...here's my code..

Public Sub LOAD_PICTURE_FROM_DBASE(ByVal i As String)
'Dim myconnection As New SqlConnection(My.Settings.CNString)
'Dim cmd As New SqlCommand("SELECT BLOBID, " & _
'"BLOBData FROM BLOBTest WHERE BLOBID=", DataGridView1.CurrentRow.Cells(0).Value)
Dim appRdr As New System.Configuration.AppSettingsReader
Dim myconnection As New Clsappconfiguration
'Dim myconnection As New SqlConnection(My.Settings.CNString)

Dim cmd As New SqlCommand
Dim da As New SqlDataAdapter
Dim ds As New DataSet

cmd.CommandText = "select * from Temployee_picture where idnumber=" & "'" & i & "'" 'i & "'"
cmd.CommandType = CommandType.Text
cmd.Connection = myconnection.sqlconn
myconnection.sqlconn.Open()

da.SelectCommand = cmd
da.Fill(ds, "Temployee_picture")

Dim c As Integer = ds.Tables("Temployee_picture").Rows.Count
If c > 0 Then
Dim bytBLOBData() As Byte = _
ds.Tables("Temployee_picture").Rows(c - 1)("picturedata")
Dim stmBLOBData As New MemoryStream(bytBLOBData)
emp_pic.Image = Image.FromStream(stmBLOBData)


Else
emp_pic.ImageLocation = Application.StartupPath & "\SplashScreen v3.jpg"
emp_pic.Load()
End If
myconnection.sqlconn.Close()
End Sub

that's the code that load picture from database...please reply me how to solve the this problem..parameter is not valid...

jhols



AnswerRe: what the options... Pin
DanB198317-Sep-07 22:16
DanB198317-Sep-07 22:16 
AnswerRe: what the options... Pin
Tom Deketelaere17-Sep-07 23:09
professionalTom Deketelaere17-Sep-07 23:09 
QuestionHow , when and where and why use DALL and BLL in VB.net Pin
Vimalsoft(Pty) Ltd17-Sep-07 20:14
professionalVimalsoft(Pty) Ltd17-Sep-07 20:14 
AnswerRe: How , when and where and why use DALL and BLL in VB.net Pin
DanB198317-Sep-07 21:58
DanB198317-Sep-07 21:58 
GeneralRe: How , when and where and why use DALL and BLL in VB.net Pin
Vimalsoft(Pty) Ltd17-Sep-07 22:17
professionalVimalsoft(Pty) Ltd17-Sep-07 22:17 
Questionexport data from sql Server into Excel in text format with Visual Basic 6.0 Pin
suveenmohan17-Sep-07 20:08
suveenmohan17-Sep-07 20:08 
AnswerRe: export data from sql Server into Excel in text format with Visual Basic 6.0 Pin
Dave Kreskowiak18-Sep-07 5:53
mveDave Kreskowiak18-Sep-07 5:53 
QuestionToolStrip Control has to work like vs2005 ToolBox Pin
VB 8.017-Sep-07 19:42
VB 8.017-Sep-07 19:42 
AnswerRe: ToolStrip Control has to work like vs2005 ToolBox Pin
Dave Kreskowiak18-Sep-07 5:49
mveDave Kreskowiak18-Sep-07 5:49 
QuestionRemoving tables froma pdf file using VB application Pin
Prakash_Mishra17-Sep-07 19:04
Prakash_Mishra17-Sep-07 19:04 
AnswerRe: Removing tables froma pdf file using VB application Pin
Dave Kreskowiak18-Sep-07 5:50
mveDave Kreskowiak18-Sep-07 5:50 
QuestionTab Control Pin
vidya11017-Sep-07 18:58
vidya11017-Sep-07 18:58 
AnswerRe: Tab Control Pin
helelark12317-Sep-07 19:55
helelark12317-Sep-07 19:55 
GeneralRe: Tab Control Pin
vidya11017-Sep-07 20:07
vidya11017-Sep-07 20:07 
GeneralRe: Tab Control [modified] Pin
vidya11017-Sep-07 20:19
vidya11017-Sep-07 20:19 
GeneralRe: Tab Control Pin
helelark12317-Sep-07 20:25
helelark12317-Sep-07 20:25 
Questionhiding mouse cursor in window form Pin
Abbhie17-Sep-07 15:47
Abbhie17-Sep-07 15:47 

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.