Click here to Skip to main content
15,892,059 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Excel To VB.Net Pin
John Kh17-Aug-08 10:18
John Kh17-Aug-08 10:18 
AnswerRe: Excel To VB.Net Pin
~Khatri Mitesh~14-Aug-08 21:37
~Khatri Mitesh~14-Aug-08 21:37 
QuestionDropdownlist Box Pin
Franco_114-Aug-08 3:23
Franco_114-Aug-08 3:23 
AnswerRe: Dropdownlist Box Pin
Anoop Brijmohun14-Aug-08 3:35
Anoop Brijmohun14-Aug-08 3:35 
GeneralRe: Dropdownlist Box Pin
Franco_114-Aug-08 3:43
Franco_114-Aug-08 3:43 
GeneralRe: Dropdownlist Box Pin
Anoop Brijmohun14-Aug-08 3:54
Anoop Brijmohun14-Aug-08 3:54 
GeneralRe: Dropdownlist Box Pin
Franco_114-Aug-08 5:21
Franco_114-Aug-08 5:21 
GeneralRe: Dropdownlist Box Pin
Steven St. John14-Aug-08 7:46
Steven St. John14-Aug-08 7:46 
The way you have this written, the If Me.ddlSelected.Items.Count=1 statement will never be executed. If the user has selected the last item on a list, then If ddlSelectedIndex <> -1 is TRUE, and so the ElseIf statement is never reached.

Try:
If ddlSelected.SelectedIndex <> -1 Then
   If ddlSelected.Items.Count = 1 Then 
      Me.ddlSelected.Items.Clear()
   Else
      ddlSelected.Items.RemoveAt(ddlSelected.SelectedIndex)
End If

Questionwhether Math class contain function Pin
Rupesh Kumar Swami14-Aug-08 0:18
Rupesh Kumar Swami14-Aug-08 0:18 
AnswerRe: whether Math class contain function Pin
Christian Graus14-Aug-08 0:23
protectorChristian Graus14-Aug-08 0:23 
AnswerRe: whether Math class contain function Pin
Thomas Stockwell14-Aug-08 2:13
professionalThomas Stockwell14-Aug-08 2:13 
AnswerRe: whether Math class contain function Pin
Guffa14-Aug-08 21:17
Guffa14-Aug-08 21:17 
QuestionOptimize memory speed,CPU speed and Disk speed using Vb.net Pin
pavanip13-Aug-08 23:37
pavanip13-Aug-08 23:37 
AnswerRe: Optimize memory speed,CPU speed and Disk speed using Vb.net Pin
Colin Angus Mackay13-Aug-08 23:51
Colin Angus Mackay13-Aug-08 23:51 
AnswerRe: Optimize memory speed,CPU speed and Disk speed using Vb.net Pin
Christian Graus14-Aug-08 0:22
protectorChristian Graus14-Aug-08 0:22 
QuestionFind Firefox browsing history,Auto complete data list Pin
pavanip13-Aug-08 23:09
pavanip13-Aug-08 23:09 
Questionparse word document line by line Pin
Member 265755313-Aug-08 22:19
Member 265755313-Aug-08 22:19 
AnswerRe: parse word document line by line Pin
Thomas Stockwell14-Aug-08 2:15
professionalThomas Stockwell14-Aug-08 2:15 
QuestionRead word document line by line using vb.net Pin
Member 265755313-Aug-08 21:35
Member 265755313-Aug-08 21:35 
QuestionData not get saved if using Shortcut key instead of clikng button Pin
honeyashu13-Aug-08 21:01
honeyashu13-Aug-08 21:01 
AnswerRe: Data not get saved if using Shortcut key instead of clikng button Pin
Christian Graus13-Aug-08 21:16
protectorChristian Graus13-Aug-08 21:16 
GeneralRe: Data not get saved if using Shortcut key instead of clikng button Pin
honeyashu13-Aug-08 21:26
honeyashu13-Aug-08 21:26 
GeneralRe: Data not get saved if using Shortcut key instead of clikng button Pin
Christian Graus13-Aug-08 22:50
protectorChristian Graus13-Aug-08 22:50 
GeneralRe: Data not get saved if using Shortcut key instead of clikng button Pin
honeyashu13-Aug-08 23:23
honeyashu13-Aug-08 23:23 
GeneralRe: Data not get saved if using Shortcut key instead of clikng button Pin
Christian Graus13-Aug-08 23:35
protectorChristian Graus13-Aug-08 23:35 

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.