Click here to Skip to main content
16,004,854 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Report Footer:Line Size(CR) Pin
C#Coudou14-Apr-09 14:02
C#Coudou14-Apr-09 14:02 
GeneralRe: Report Footer:Line Size(CR) Pin
Tom Deketelaere14-Apr-09 20:56
professionalTom Deketelaere14-Apr-09 20:56 
GeneralRe: Report Footer:Line Size(CR) Pin
C#Coudou15-Apr-09 13:37
C#Coudou15-Apr-09 13:37 
GeneralRe: Report Footer:Line Size(CR) Pin
Tom Deketelaere15-Apr-09 20:55
professionalTom Deketelaere15-Apr-09 20:55 
QuestionProblem of Combobox Pin
nazimghori13-Apr-09 21:09
nazimghori13-Apr-09 21:09 
AnswerRe: Problem of Combobox Pin
Dalek Dave13-Apr-09 23:41
professionalDalek Dave13-Apr-09 23:41 
QuestionRe: Problem of Combobox Pin
nazimghori14-Apr-09 0:54
nazimghori14-Apr-09 0:54 
AnswerRe: Problem of Combobox Pin
Jay Royall14-Apr-09 1:31
Jay Royall14-Apr-09 1:31 
ComboBoxes are handled differently in .Net than in VB6, so much so that it is beyond the scope of a forum post to explain. If you Google for VB.Net combo box tutorials I'm sure you'll find something.

But saying that, it seems like you want to populate the combo box with the months of the year, right? What I would do is create a user defined structure called Month with 2 properties, MonthName and MonthNumber and then bind the combo box to a collection of Month structures, setting the ValueMember and DisplayMember properties of the combo box.

Hope this helps.

(you could also do it by populating the ComboBox with strings and by using ComboBox.SelectedIndex - 1 to get the month number but I think this may be regarded as bad practice.)
AnswerRe: Problem of Combobox Pin
Johan Hakkesteegt14-Apr-09 23:55
Johan Hakkesteegt14-Apr-09 23:55 
QuestionRun msi thru bat file... Pin
p_196013-Apr-09 19:38
p_196013-Apr-09 19:38 
AnswerRe: Run msi thru bat file... Pin
Ravi Kumar Tyagi13-Apr-09 23:19
Ravi Kumar Tyagi13-Apr-09 23:19 
AnswerRe: Run msi thru bat file... Pin
Dave Kreskowiak14-Apr-09 5:23
mveDave Kreskowiak14-Apr-09 5:23 
AnswerRe: Run msi thru bat file... Pin
nlarson1114-Apr-09 5:25
nlarson1114-Apr-09 5:25 
QuestionVisual Interdev Issue: Not Opening Giving Error Pin
priyaahh13-Apr-09 19:32
priyaahh13-Apr-09 19:32 
AnswerRe: Visual Interdev Issue: Not Opening Giving Error Pin
Dave Kreskowiak14-Apr-09 5:06
mveDave Kreskowiak14-Apr-09 5:06 
AnswerRe: Visual Interdev Issue: Not Opening Giving Error Pin
nlarson1114-Apr-09 5:34
nlarson1114-Apr-09 5:34 
Questionhow to format vb code nice? any key is available? Pin
zhiyuan1613-Apr-09 17:08
zhiyuan1613-Apr-09 17:08 
AnswerRe: how to format vb code nice? any key is available? Pin
Luc 64801113-Apr-09 17:12
Luc 64801113-Apr-09 17:12 
AnswerRe: how to format vb code nice? any key is available? Pin
Mycroft Holmes13-Apr-09 19:31
professionalMycroft Holmes13-Apr-09 19:31 
Questionhow to calculate the value for listView subitems? [modified] Pin
zhiyuan1613-Apr-09 15:49
zhiyuan1613-Apr-09 15:49 
AnswerRe: how to calculate the value for listView subitems? Pin
Mycroft Holmes13-Apr-09 19:32
professionalMycroft Holmes13-Apr-09 19:32 
GeneralRe: how to calculate the value for listView subitems? Pin
zhiyuan1613-Apr-09 19:41
zhiyuan1613-Apr-09 19:41 
Questionsave checked items in listview using savefiledialog Pin
siralphaomega13-Apr-09 6:54
siralphaomega13-Apr-09 6:54 
AnswerRe: save checked items in listview using savefiledialog Pin
Dave Kreskowiak13-Apr-09 10:38
mveDave Kreskowiak13-Apr-09 10:38 
GeneralRe: save checked items in listview using savefiledialog Pin
siralphaomega13-Apr-09 19:43
siralphaomega13-Apr-09 19: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.