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

C#

 
AnswerRe: dll library loading Pin
Larantz26-Sep-07 9:47
Larantz26-Sep-07 9:47 
QuestionSpecified argument was out of the range of valid values Pin
Rukmini T26-Sep-07 6:58
Rukmini T26-Sep-07 6:58 
AnswerRe: Specified argument was out of the range of valid values Pin
TJoe26-Sep-07 7:06
TJoe26-Sep-07 7:06 
AnswerRe: Specified argument was out of the range of valid values Pin
Scott Dorman26-Sep-07 7:09
professionalScott Dorman26-Sep-07 7:09 
GeneralRe: Specified argument was out of the range of valid values Pin
Rukmini T26-Sep-07 7:28
Rukmini T26-Sep-07 7:28 
GeneralRe: Specified argument was out of the range of valid values Pin
Scott Dorman26-Sep-07 7:58
professionalScott Dorman26-Sep-07 7:58 
GeneralRe: Specified argument was out of the range of valid values Pin
Rukmini T26-Sep-07 8:14
Rukmini T26-Sep-07 8:14 
GeneralRe: Specified argument was out of the range of valid values Pin
Scott Dorman26-Sep-07 8:19
professionalScott Dorman26-Sep-07 8:19 
Right, Add would only take ptoInstance as the argument and add that object to the this.phInfo.Controls collection. The other argument for AddAt is the index into the this.phInfo.Controls collection at which the control should be added. You don't need this argument when using Add as it will always be added to the end of the collection.

From what I see in your code, using
Add<code> should work. <br />
<br />
<div class="ForumSig"><br />
Scott.<br />
<hr style="height: 1px; width: 100%">—In just two days, tomorrow will be yesterday.<br />
<br />
[<a href="http://www.codeproject.com/scrapbook/ForumGuidelines.asp" target="_new">Forum Guidelines</a>] [<a href="http://www.codeproject.com/script/articles/list_articles.asp?userid=157870" target="_new">Articles</a>] [<a href="http://geekswithblogs.net/sdorman" target="_new">Blog</a>]</div>

GeneralRe: Specified argument was out of the range of valid values Pin
Rukmini T26-Sep-07 8:42
Rukmini T26-Sep-07 8:42 
GeneralRe: Specified argument was out of the range of valid values Pin
Scott Dorman26-Sep-07 9:44
professionalScott Dorman26-Sep-07 9:44 
GeneralRe: Specified argument was out of the range of valid values Pin
Pete O'Hanlon26-Sep-07 9:42
mvePete O'Hanlon26-Sep-07 9:42 
GeneralRe: Specified argument was out of the range of valid values Pin
Scott Dorman26-Sep-07 9:45
professionalScott Dorman26-Sep-07 9:45 
Questionimage column Pin
TAREQ F ABUZUHRI26-Sep-07 6:42
TAREQ F ABUZUHRI26-Sep-07 6:42 
AnswerRe: image column Pin
Guffa26-Sep-07 7:02
Guffa26-Sep-07 7:02 
QuestionNetworkStream.DataAvailable is always false [modified] Pin
Anthony Mushrow26-Sep-07 6:34
professionalAnthony Mushrow26-Sep-07 6:34 
QuestionRe: NetworkStream.DataAvailable is only true once Pin
Anthony Mushrow26-Sep-07 6:57
professionalAnthony Mushrow26-Sep-07 6:57 
QuestionPhoto Gallery Pin
ddtayl0626-Sep-07 6:34
ddtayl0626-Sep-07 6:34 
AnswerRe: Photo Gallery Pin
Pete O'Hanlon26-Sep-07 10:10
mvePete O'Hanlon26-Sep-07 10:10 
QuestionException when Running a Process [modified] Pin
#realJSOP26-Sep-07 5:56
professional#realJSOP26-Sep-07 5:56 
AnswerRe: Exception when Running a Process Pin
Scott Dorman26-Sep-07 6:36
professionalScott Dorman26-Sep-07 6:36 
AnswerRe: Exception when Running a Process Pin
Justin Perez26-Sep-07 6:56
Justin Perez26-Sep-07 6:56 
GeneralRe: Exception when Running a Process Pin
#realJSOP26-Sep-07 8:10
professional#realJSOP26-Sep-07 8:10 
AnswerRe: Exception when Running a Process Pin
markkuk26-Sep-07 9:14
markkuk26-Sep-07 9:14 
QuestionIBM "Packed Decimal" To .NET "String" Conversion Pin
Shahin7726-Sep-07 5:36
Shahin7726-Sep-07 5:36 
AnswerRe: IBM "Packed Decimal" To .NET "String" Conversion Pin
Scott Dorman26-Sep-07 6:35
professionalScott Dorman26-Sep-07 6:35 

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.