Click here to Skip to main content
15,915,693 members
Home / Discussions / C#
   

C#

 
QuestionWindows Service&Installer -A mess Pin
Raghuraman_Ace16-Jun-06 9:20
Raghuraman_Ace16-Jun-06 9:20 
QuestionProgrammatically locate an application in the System Tray Pin
DP IGT16-Jun-06 8:17
DP IGT16-Jun-06 8:17 
AnswerRe: Programmatically locate an application in the System Tray Pin
BoneSoft16-Jun-06 9:51
BoneSoft16-Jun-06 9:51 
GeneralRe: Programmatically locate an application in the System Tray Pin
DP IGT16-Jun-06 10:55
DP IGT16-Jun-06 10:55 
QuestionProgrammatically getting system information using C# Pin
Cadence2.016-Jun-06 8:07
Cadence2.016-Jun-06 8:07 
AnswerRe: Programmatically getting system information using C# Pin
Josh Smith16-Jun-06 8:18
Josh Smith16-Jun-06 8:18 
GeneralRe: Programmatically getting system information using C# Pin
Cadence2.016-Jun-06 9:35
Cadence2.016-Jun-06 9:35 
QuestionComboBox Databinding Pin
Drew McGhie16-Jun-06 7:32
Drew McGhie16-Jun-06 7:32 
I have a typed dataset with an integer value called FiscalMonth. What I want to do is bind it to a combobox that is preseeded with a list of integers from 1-12.

Here's what I have so far:

<br />
for (int i = 1; i <= 12; i++)<br />
            {<br />
                uxcbFMonth.Items.Add(i);<br />
            }<br />
<br />
            mySource = new BindingSource();<br />
<br />
            mySource.DataSource = myManagerClient.VersionTable.Select("VersionKey = " +VersionKey.ToString())[0];


That seems to work just fine, the combobox is populated, and in the text fields, the databinding (using Control.DataBindings.Add) works. The problem is it doesn't appear as if the combobox databinding works, because when I try to change it the control locks and remains selected until I manually close the application.

I assign the databindings like this:

uxcbFMonth.DataBindings.Add("SelectedValue", mySource, "FiscalMonth", true, DataSourceUpdateMode.OnValidation);

Am I binding to the wrong value? Any ideas?
QuestionWord interop problem Pin
Amos_Keeto16-Jun-06 7:10
Amos_Keeto16-Jun-06 7:10 
AnswerRe: Word interop problem Pin
Dustin Metzgar16-Jun-06 7:57
Dustin Metzgar16-Jun-06 7:57 
GeneralRe: Word interop problem Pin
Amos_Keeto16-Jun-06 8:02
Amos_Keeto16-Jun-06 8:02 
GeneralRe: Word interop problem Pin
Dustin Metzgar16-Jun-06 8:11
Dustin Metzgar16-Jun-06 8:11 
GeneralRe: Word interop problem Pin
Amos_Keeto17-Jun-06 0:41
Amos_Keeto17-Jun-06 0:41 
QuestionIs there a way to consolidate this? Pin
Blubbo16-Jun-06 6:47
Blubbo16-Jun-06 6:47 
AnswerRe: Is there a way to consolidate this? Pin
Dustin Metzgar16-Jun-06 7:09
Dustin Metzgar16-Jun-06 7:09 
GeneralRe: Is there a way to consolidate this? Pin
RonBou16-Jun-06 7:19
RonBou16-Jun-06 7:19 
GeneralRe: Is there a way to consolidate this? Pin
RonBou16-Jun-06 7:33
RonBou16-Jun-06 7:33 
GeneralRe: Is there a way to consolidate this? Pin
Guffa16-Jun-06 8:41
Guffa16-Jun-06 8:41 
GeneralRe: Is there a way to consolidate this? [modified] Pin
Robert Rohde16-Jun-06 9:32
Robert Rohde16-Jun-06 9:32 
GeneralRe: Is there a way to consolidate this? [modified] Pin
Blubbo16-Jun-06 9:48
Blubbo16-Jun-06 9:48 
GeneralRe: Is there a way to consolidate this? Pin
Guffa16-Jun-06 10:07
Guffa16-Jun-06 10:07 
GeneralRe: Is there a way to consolidate this? Pin
Robert Rohde16-Jun-06 10:21
Robert Rohde16-Jun-06 10:21 
QuestionMAC Address Pin
moro14516-Jun-06 6:40
moro14516-Jun-06 6:40 
AnswerRe: MAC Address [modified] Pin
Ravi Bhavnani16-Jun-06 6:52
professionalRavi Bhavnani16-Jun-06 6:52 
GeneralRe: MAC Address Pin
moro14516-Jun-06 8:17
moro14516-Jun-06 8:17 

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.