Click here to Skip to main content
15,902,275 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Where and Why my row is not collored Pin
Scubapro25-Sep-11 21:31
Scubapro25-Sep-11 21:31 
QuestionImage Resizing Pin
eddieangel22-Sep-11 5:56
eddieangel22-Sep-11 5:56 
AnswerRe: Image Resizing Pin
Luc Pattyn22-Sep-11 7:47
sitebuilderLuc Pattyn22-Sep-11 7:47 
GeneralRe: Image Resizing Pin
eddieangel22-Sep-11 7:50
eddieangel22-Sep-11 7:50 
Questiondevenv.exe error Pin
DeDelva22-Sep-11 3:36
DeDelva22-Sep-11 3:36 
AnswerRe: devenv.exe error Pin
DaveAuld22-Sep-11 3:56
professionalDaveAuld22-Sep-11 3:56 
AnswerRe: devenv.exe error Pin
Luc Pattyn22-Sep-11 7:50
sitebuilderLuc Pattyn22-Sep-11 7:50 
QuestionSelect a particular item from listview and display it in various textboxes Pin
Lek Plepi22-Sep-11 1:31
Lek Plepi22-Sep-11 1:31 
hi all, here my problem is i'm preety new to vb.net programming. but have a little knowledge in vb6 programming.
when form loads in listview are displayed some items.
when you doubleclick selected item, then in the textboxes near listview will display all the information of item selected.
can anyone of you suggest me something else?
till now studied this code :
VB


private sub listview1_dblclick()
for i=1 to listview1.listitems.count
if listview1.listitems(i).selected=true then
dim rs as new adodb.recordset
rs.cursorlocation=aduseclient
rs.open "select * from empdetail where empcode='" & listview1.selecteditem & _
"'",cn
if rs.recordcount>0 then
text1.text=rs!empcode
text2.text=rs!empname
text3.text=rs!empaddress
text4.text=rs!empdesignation
listview1.visible=false
text1.setfocus
rs.close
exit for
else
rs.close
msgbox("......",vbokonly,"")
end if
end if
next
end sub
AnswerRe: Select a particular item from listview and display it in various textboxes Pin
Lek Plepi23-Sep-11 21:29
Lek Plepi23-Sep-11 21:29 
QuestionSample project connect with Scanner Pin
kdakim21-Sep-11 23:20
kdakim21-Sep-11 23:20 
AnswerRe: Sample project connect with Scanner Pin
DaveAuld21-Sep-11 23:34
professionalDaveAuld21-Sep-11 23:34 
QuestionChange Column width from Datagridview without dataset Pin
DeDelva21-Sep-11 11:29
DeDelva21-Sep-11 11:29 
AnswerRe: Change Column width from Datagridview without dataset Pin
David C# Hobbyist.21-Sep-11 12:36
professionalDavid C# Hobbyist.21-Sep-11 12:36 
AnswerRe: Change Column width from Datagridview without dataset Pin
Luc Pattyn21-Sep-11 13:46
sitebuilderLuc Pattyn21-Sep-11 13:46 
AnswerRe: Change Column width from Datagridview without dataset Pin
DeDelva21-Sep-11 20:50
DeDelva21-Sep-11 20:50 
AnswerRe: Change Column width from Datagridview without dataset Pin
DaveAuld21-Sep-11 21:38
professionalDaveAuld21-Sep-11 21:38 
QuestionNeed An Application Pin
trustamar921-Sep-11 8:32
trustamar921-Sep-11 8:32 
AnswerRe: Need An Application PinPopular
Kevin Marois21-Sep-11 11:11
professionalKevin Marois21-Sep-11 11:11 
GeneralRe: Need An Application Pin
David C# Hobbyist.21-Sep-11 17:01
professionalDavid C# Hobbyist.21-Sep-11 17:01 
GeneralRe: Need An Application Pin
DaveAuld21-Sep-11 20:59
professionalDaveAuld21-Sep-11 20:59 
AnswerRe: Need An Application Pin
Thomas Krojer21-Sep-11 21:28
Thomas Krojer21-Sep-11 21:28 
AnswerRe: Need An Application Pin
Dalek Dave25-Sep-11 21:48
professionalDalek Dave25-Sep-11 21:48 
QuestionKeep Mouse Inside Window? Pin
shawndeprey20-Sep-11 8:32
shawndeprey20-Sep-11 8:32 
AnswerRe: Keep Mouse Inside Window? Pin
Ian Shlasko20-Sep-11 9:11
Ian Shlasko20-Sep-11 9:11 
GeneralRe: Keep Mouse Inside Window? Pin
Dave Kreskowiak21-Sep-11 3:14
mveDave Kreskowiak21-Sep-11 3:14 

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.