Wolfy87
Aug 26 2008, 12:50 PM
i already have this code to genterate a random number within the set paramiters in C#...
private int RandomNumber(int min, int max)
{
Random random = new Random();
return random.Next(min, max);
}
I want it to be between 100000 and 999999, and i also need it to be put into label1...but i dont know how and dont know where else to get help...
groovicus
Aug 26 2008, 12:52 PM
Do you know anything about functions yet, because that is what you are trying to use here?
Wolfy87
Aug 26 2008, 01:14 PM
no i am new to the C# language and i also need to know how to Use exturnal Shelling in C# for i know how to use it in VB but not in C#...
groovicus
Aug 26 2008, 03:26 PM
Start with this:
http://www.meshplex.org/wiki/C_Sharp/Calling_FunctionsIt isn't going to do any good to just tell you how to use the code, because the next time that you need to use a function, you still will not understand how to do it. Is it really necessary to use a function?
Wolfy87
Aug 26 2008, 05:24 PM
Ok then, but it would be much more useful if i understood what i was reading. I am sorry but im going to need some more help, and once again i am on my psp.

Thank you
Wolfy87
Aug 26 2008, 05:47 PM
I am hopefully going to take a collage corse in programing in the neer future so maby i will stop bugging you as much (emphasis on the "As") and maby start helping others. I get very depressed at school so programing is my sort of newly found comfort zone, i love it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.