Click here to Skip to main content
15,903,385 members
Home / Discussions / C#
   

C#

 
GeneralRe: Best Practices? Pin
jlach0113-Feb-05 7:07
jlach0113-Feb-05 7:07 
GeneralRe: Best Practices? Pin
Heath Stewart13-Feb-05 7:12
protectorHeath Stewart13-Feb-05 7:12 
GeneralRe: Best Practices? Pin
jlach0113-Feb-05 7:22
jlach0113-Feb-05 7:22 
GeneralRe: Best Practices? Pin
Heath Stewart13-Feb-05 21:37
protectorHeath Stewart13-Feb-05 21:37 
QuestionHow to assign an icon to a file format Pin
oohungoo12-Feb-05 16:49
oohungoo12-Feb-05 16:49 
AnswerRe: How to assign an icon to a file format Pin
Heath Stewart13-Feb-05 7:05
protectorHeath Stewart13-Feb-05 7:05 
Generalcan't figure what's wrong with this code Pin
Pyro Joe12-Feb-05 14:07
Pyro Joe12-Feb-05 14:07 
GeneralRe: can't figure what's wrong with this code Pin
Colin Angus Mackay12-Feb-05 15:51
Colin Angus Mackay12-Feb-05 15:51 
pyrojoe wrote:
int repeat = history.SubKeyCount

SubKeyCount won't get you the number of URL values, you need ValueCount. A SubKey, as you might guess from other code you've got, is the directory-like path to get to the values you are looking for.

Also, your loop is a little crazy, you need to learn about for loops. I suggest changing your loop to:
int count = history.ValueCount;
for(int i = 1; i<=count; i++)
{
	// Do stuff with history.GetValue("url" + i.ToString()));
}


Does this help?


Do you want to know more?
WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and Forums


GeneralRe: can't figure what's wrong with this code Pin
leppie12-Feb-05 22:24
leppie12-Feb-05 22:24 
GeneralRe: can't figure what's wrong with this code Pin
Colin Angus Mackay13-Feb-05 5:24
Colin Angus Mackay13-Feb-05 5:24 
Generalhowto create one packages that contains all the dll's Pin
Gedrain12-Feb-05 13:24
Gedrain12-Feb-05 13:24 
GeneralRe: howto create one packages that contains all the dll's Pin
Colin Angus Mackay12-Feb-05 15:56
Colin Angus Mackay12-Feb-05 15:56 
GeneralRe: howto create one packages that contains all the dll's Pin
Gedrain13-Feb-05 8:55
Gedrain13-Feb-05 8:55 
GeneralRe: howto create one packages that contains all the dll's Pin
Colin Angus Mackay13-Feb-05 10:23
Colin Angus Mackay13-Feb-05 10:23 
GeneralRe: howto create one packages that contains all the dll's Pin
Gedrain13-Feb-05 10:25
Gedrain13-Feb-05 10:25 
GeneralRe: howto create one packages that contains all the dll's Pin
Sebastian Schneider14-Feb-05 2:45
Sebastian Schneider14-Feb-05 2:45 
GeneralRe: howto create one packages that contains all the dll's Pin
Gedrain14-Feb-05 3:13
Gedrain14-Feb-05 3:13 
GeneralDetect when application has been idle Pin
Luis Alonso Ramos12-Feb-05 12:51
Luis Alonso Ramos12-Feb-05 12:51 
GeneralRe: Detect when application has been idle Pin
Colin Angus Mackay12-Feb-05 16:00
Colin Angus Mackay12-Feb-05 16:00 
GeneralRe: Detect when application has been idle Pin
Member 9612-Feb-05 16:49
Member 9612-Feb-05 16:49 
GeneralRe: Detect when application has been idle Pin
Colin Angus Mackay13-Feb-05 5:06
Colin Angus Mackay13-Feb-05 5:06 
GeneralRe: Detect when application has been idle Pin
Member 9613-Feb-05 9:55
Member 9613-Feb-05 9:55 
GeneralRe: Detect when application has been idle Pin
Luis Alonso Ramos13-Feb-05 7:22
Luis Alonso Ramos13-Feb-05 7:22 
GeneralRe: Detect when application has been idle Pin
Dennis C. Dietrich13-Feb-05 1:57
Dennis C. Dietrich13-Feb-05 1:57 
GeneralRe: Detect when application has been idle Pin
Luis Alonso Ramos13-Feb-05 7:24
Luis Alonso Ramos13-Feb-05 7:24 

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.