Click here to Skip to main content
15,892,697 members
Home / Discussions / C#
   

C#

 
GeneralRe: randomization of numbers without duplication in C# Pin
Pete O'Hanlon13-Aug-09 9:19
mvePete O'Hanlon13-Aug-09 9:19 
GeneralRe: randomization of numbers without duplication in C# Pin
benjymous13-Aug-09 4:44
benjymous13-Aug-09 4:44 
AnswerRe: randomization of numbers without duplication in C# Pin
PIEBALDconsult13-Aug-09 5:13
mvePIEBALDconsult13-Aug-09 5:13 
AnswerRe: randomization of numbers without duplication in C# Pin
cmk13-Aug-09 11:34
cmk13-Aug-09 11:34 
QuestionComexception with addpicture Pin
Member 415407413-Aug-09 0:44
Member 415407413-Aug-09 0:44 
AnswerRe: Comexception with addpicture Pin
Luc Pattyn13-Aug-09 1:27
sitebuilderLuc Pattyn13-Aug-09 1:27 
GeneralRe: Comexception with addpicture Pin
Member 415407413-Aug-09 3:23
Member 415407413-Aug-09 3:23 
GeneralRe: Comexception with addpicture Pin
Luc Pattyn13-Aug-09 3:35
sitebuilderLuc Pattyn13-Aug-09 3:35 
OK, so no major surprises here.

You can declare string[] Numbe instead of Array; that way the compiler knows it will be strings and string operations are acceptable. Similar things for all your "objects": when you give them a more accurate type declaration, the compiler will be more capable of flagging errors if any, your source code will be more readable, and the running code will probably run a bit faster.

Try images 103, 101 and 102. If 102 is the odd one out, then check the image file itself, chances are it is damaged somehow (try replacing it with a copy of 101! ). [Sorry, this doesn't fit your problem description]

I suggest you print out FilePath before calling AddPicture; chances are you will see a problem with the file name. You might consider showing the code that produces the Numbe array, maybe something is wrong there.

As you are new to a language, I recommend studying a book[^].

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

GeneralRe: Comexception with addpicture Pin
Member 415407413-Aug-09 3:45
Member 415407413-Aug-09 3:45 
QuestionLoad Report Failed Pin
Milind Panchal13-Aug-09 0:07
Milind Panchal13-Aug-09 0:07 
AnswerRe: Load Report Failed Pin
Abhishek Sur13-Aug-09 2:41
professionalAbhishek Sur13-Aug-09 2:41 
QuestionGet Html Element Pin
Mohsen Esmailpour12-Aug-09 23:44
professionalMohsen Esmailpour12-Aug-09 23:44 
AnswerRe: Get Html Element Pin
0x3c012-Aug-09 23:50
0x3c012-Aug-09 23:50 
GeneralRe: Get Html Element Pin
kKamel12-Aug-09 23:51
kKamel12-Aug-09 23:51 
GeneralRe: Get Html Element Pin
0x3c012-Aug-09 23:56
0x3c012-Aug-09 23:56 
GeneralRe: Get Html Element Pin
kKamel13-Aug-09 0:14
kKamel13-Aug-09 0:14 
GeneralRe: Get Html Element Pin
Mohsen Esmailpour13-Aug-09 0:17
professionalMohsen Esmailpour13-Aug-09 0:17 
GeneralRe: Get Html Element Pin
0x3c013-Aug-09 0:31
0x3c013-Aug-09 0:31 
Question__doPostBack Event Pin
kKamel12-Aug-09 23:34
kKamel12-Aug-09 23:34 
AnswerRe: __doPostBack Event Pin
0x3c012-Aug-09 23:53
0x3c012-Aug-09 23:53 
QuestionHow to establish link between Textbox and Button using MVP architecture and C# Pin
Krishna Aditya12-Aug-09 23:22
Krishna Aditya12-Aug-09 23:22 
Questionwindows forms refresh, update??? Pin
dimo198212-Aug-09 23:05
dimo198212-Aug-09 23:05 
AnswerRe: windows forms refresh, update??? Pin
0x3c013-Aug-09 0:35
0x3c013-Aug-09 0:35 
GeneralRe: windows forms refresh, update??? Pin
dimo198213-Aug-09 0:55
dimo198213-Aug-09 0:55 
GeneralRe: windows forms refresh, update??? Pin
0x3c013-Aug-09 1:17
0x3c013-Aug-09 1: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.