Click here to Skip to main content
15,913,941 members
Home / Discussions / C#
   

C#

 
AnswerRe: Trouble updating DataGridView.Datasource in a different class - Error "An object reference is required for the non-static field, method, or property" Pin
Fayu23-Mar-09 9:08
Fayu23-Mar-09 9:08 
GeneralRe: Trouble updating DataGridView.Datasource in a different class - Error "An object reference is required for the non-static field, method, or property" Pin
astroudjr23-Mar-09 9:19
astroudjr23-Mar-09 9:19 
GeneralRe: Trouble updating DataGridView.Datasource in a different class - Error "An object reference is required for the non-static field, method, or property" Pin
Fayu23-Mar-09 9:50
Fayu23-Mar-09 9:50 
AnswerRe: Trouble updating DataGridView.Datasource in a different class - Error "An object reference is required for the non-static field, method, or property" Pin
Henry Minute23-Mar-09 9:14
Henry Minute23-Mar-09 9:14 
AnswerRe: Trouble updating DataGridView.Datasource in a different class - Error "An object reference is required for the non-static field, method, or property" Pin
Vitaliy Tsvayer23-Mar-09 9:18
Vitaliy Tsvayer23-Mar-09 9:18 
Questionwebservice async call vs backgroundworker? Pin
highjo23-Mar-09 8:43
highjo23-Mar-09 8:43 
AnswerRe: webservice async call vs backgroundworker? Pin
Vitaliy Tsvayer23-Mar-09 9:09
Vitaliy Tsvayer23-Mar-09 9:09 
GeneralRe: webservice async call vs backgroundworker? Pin
highjo23-Mar-09 9:52
highjo23-Mar-09 9:52 
GeneralRe: webservice async call vs backgroundworker? Pin
Vitaliy Tsvayer23-Mar-09 10:25
Vitaliy Tsvayer23-Mar-09 10:25 
Questionwhere i need to declare my array? Pin
kaka76023-Mar-09 8:39
kaka76023-Mar-09 8:39 
AnswerRe: where i need to declare my array? Pin
Samuel Cherinet23-Mar-09 8:52
Samuel Cherinet23-Mar-09 8:52 
AnswerRe: where i need to declare my array? Pin
Vitaliy Tsvayer23-Mar-09 8:56
Vitaliy Tsvayer23-Mar-09 8:56 
QuestionArranging more than one image having transparent pixels.... Pin
Umangj23-Mar-09 8:00
Umangj23-Mar-09 8:00 
AnswerRe: Arranging more than one image having transparent pixels.... Pin
Samuel Cherinet23-Mar-09 8:08
Samuel Cherinet23-Mar-09 8:08 
GeneralRe: Arranging more than one image having transparent pixels.... Pin
Umangj23-Mar-09 8:20
Umangj23-Mar-09 8:20 
AnswerRe: Arranging more than one image having transparent pixels.... Pin
Vitaliy Tsvayer23-Mar-09 8:33
Vitaliy Tsvayer23-Mar-09 8:33 
QuestionAdding two types into an array? Pin
bbranded23-Mar-09 7:35
bbranded23-Mar-09 7:35 
AnswerRe: Adding two types into an array? Pin
Luc Pattyn23-Mar-09 7:43
sitebuilderLuc Pattyn23-Mar-09 7:43 
GeneralRe: Adding two types into an array? Pin
led mike23-Mar-09 7:47
led mike23-Mar-09 7:47 
GeneralRe: Adding two types into an array? Pin
Luc Pattyn23-Mar-09 8:03
sitebuilderLuc Pattyn23-Mar-09 8:03 
GeneralRe: Adding two types into an array? Pin
bbranded23-Mar-09 7:49
bbranded23-Mar-09 7:49 
GeneralRe: Adding two types into an array? Pin
bbranded23-Mar-09 7:57
bbranded23-Mar-09 7:57 
Ahhh... much better... dang datatypes.

RegistryKey myRegKey = Registry.CurrentUser;<br />
            myRegKey = myRegKey.OpenSubKey("Software\\Microsoft\\Windows\\Shell\\Bags\\1\\Desktop\\");<br />
            String[] valueNames = myRegKey.GetValueNames();<br />
<br />
            string[] OriginalValueName = new string[valueNames.Length];<br />
            int[] OriginalValueData = new int[valueNames.Length];<br />
<br />
            int i = 0;<br />
            foreach (String valuename in valueNames)<br />
            {<br />
                MessageBox.Show(valuename);<br />
                OriginalValueName[i] = valuename;<br />
<br />
                Object ovalue = myRegKey.GetValue(valuename);<br />
                MessageBox.Show(ovalue.ToString());<br />
<br />
                OriginalValueData[i] = (int)ovalue;<br />
<br />
            }

GeneralRe: Adding two types into an array? Pin
Luc Pattyn23-Mar-09 8:07
sitebuilderLuc Pattyn23-Mar-09 8:07 
GeneralRe: Adding two types into an array? Pin
bbranded23-Mar-09 8:57
bbranded23-Mar-09 8:57 
GeneralRe: Adding two types into an array? Pin
Luc Pattyn23-Mar-09 9:03
sitebuilderLuc Pattyn23-Mar-09 9:03 

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.