Click here to Skip to main content
16,006,348 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Null value error Pin
Colin Angus Mackay10-Jul-06 12:07
Colin Angus Mackay10-Jul-06 12:07 
QuestionRe: Null value error Pin
str5010-Jul-06 12:11
str5010-Jul-06 12:11 
AnswerRe: Null value error Pin
Colin Angus Mackay10-Jul-06 20:21
Colin Angus Mackay10-Jul-06 20:21 
QuestionRe: Null value error Pin
str5011-Jul-06 0:18
str5011-Jul-06 0:18 
QuestionMoving ListViewItem [modified] Pin
MAP Tiger10-Jul-06 9:53
MAP Tiger10-Jul-06 9:53 
AnswerRe: Moving ListViewItem Pin
kumarprabhakar7410-Jul-06 20:18
kumarprabhakar7410-Jul-06 20:18 
GeneralRe: Moving ListViewItem Pin
MAP Tiger10-Jul-06 21:15
MAP Tiger10-Jul-06 21:15 
GeneralRe: Moving ListViewItem Pin
MAP Tiger10-Jul-06 22:10
MAP Tiger10-Jul-06 22:10 
Well, I found the solution to the problem my self and here it is:

Dim col1 As ListView.SelectedIndexCollection = ListView1.SelectedIndices
For b As Integer = col1.Count - 1 To 0 Step -1
If col1.Item(b) = ListView1.Items.Count - 1 Then
Exit Sub
Else
Dim myitem As New ListViewItem

myitem = ListView1.Items.Item(col1.Item(b))
Dim a As Integer = col1.Item(b)
ListView1.Items.RemoveAt(col1.Item(b))
ListView1.Items.Insert(a + 1, myitem)
End If
Next

Thanks to all.

MAP Tiger
Tiger Softwares

Software Designer and Developer
VB.NET, ASP.NET, VFP
Question.net 1.1 Vs 2.0 Pin
huckeuri10-Jul-06 8:41
huckeuri10-Jul-06 8:41 
QuestionSmtpMail Pin
lula12310-Jul-06 8:02
lula12310-Jul-06 8:02 
GeneralRe: SmtpMail [modified] Pin
Guffa10-Jul-06 9:42
Guffa10-Jul-06 9:42 
AnswerRe: SmtpMail Pin
Steven J Jowett10-Jul-06 21:24
Steven J Jowett10-Jul-06 21:24 
QuestionDeployment project MsiLoadr.bin issue Pin
Mondis10-Jul-06 6:13
Mondis10-Jul-06 6:13 
Questionhow to use intellisence for functions Pin
<b<font color="#6EA3C4">MILAN@Cybage10-Jul-06 3:06
<b<font color="#6EA3C4">MILAN@Cybage10-Jul-06 3:06 
QuestionRestart Thread in 2003 Pin
Rizwan Bashir10-Jul-06 2:09
Rizwan Bashir10-Jul-06 2:09 
AnswerRe: Restart Thread in 2003 Pin
Dave Kreskowiak10-Jul-06 2:22
mveDave Kreskowiak10-Jul-06 2:22 
QuestionHow do I make a form opening only the first time [modified] Pin
Bruno Gonçalves10-Jul-06 1:56
Bruno Gonçalves10-Jul-06 1:56 
AnswerRe: How do I make a form opening only the first time Pin
Dave Sexton10-Jul-06 2:14
Dave Sexton10-Jul-06 2:14 
GeneralRe: How do I make a form opening only the first time Pin
Bruno Gonçalves10-Jul-06 6:25
Bruno Gonçalves10-Jul-06 6:25 
AnswerRe: How do I make a form opening only the first time Pin
Rizwan Bashir10-Jul-06 2:17
Rizwan Bashir10-Jul-06 2:17 
GeneralRe: How do I make a form opening only the first time Pin
Steven J Jowett10-Jul-06 21:33
Steven J Jowett10-Jul-06 21:33 
GeneralRe: How do I make a form opening only the first time Pin
Bruno Gonçalves12-Jul-06 0:21
Bruno Gonçalves12-Jul-06 0:21 
GeneralRe: How do I make a form opening only the first time Pin
Steven J Jowett12-Jul-06 0:30
Steven J Jowett12-Jul-06 0:30 
GeneralRe: How do I make a form opening only the first time Pin
Bruno Gonçalves12-Jul-06 1:15
Bruno Gonçalves12-Jul-06 1:15 
QuestionHow to get the row index of the Datagridview when mouse drag over it? Pin
rushing10-Jul-06 0:43
rushing10-Jul-06 0:43 

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.