Click here to Skip to main content
15,906,625 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionhow to fill data in excel file thru vb.net windows application Pin
vijaylumar14-Aug-08 20:04
vijaylumar14-Aug-08 20:04 
AnswerRe: how to fill data in excel file thru vb.net windows application Pin
Christian Graus14-Aug-08 20:15
protectorChristian Graus14-Aug-08 20:15 
AnswerRe: how to fill data in excel file thru vb.net windows application Pin
~Khatri Mitesh~14-Aug-08 21:32
~Khatri Mitesh~14-Aug-08 21:32 
QuestionExcel To VB.Net Pin
John Kh14-Aug-08 7:43
John Kh14-Aug-08 7:43 
AnswerRe: Excel To VB.Net Pin
Christian Graus14-Aug-08 20:15
protectorChristian Graus14-Aug-08 20:15 
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 
I have a dropdown list box on in a web application.
When a user clicks on an item, I want it to
be removed from the list. Below is my code for doing that:

Protected Sub ddlSelected_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlSelected.SelectedIndexChanged

If ddlSelected.SelectedIndex <> -1 Then
ddlSelected.Items.RemoveAt(ddlSelected.SelectedIndex)
End If

End Sub

My problem is, when a user clicks on the last item in the list, it does
not get removed. How do i handle this?
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 
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 

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.