16,019,154 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by SuperAdministrator (Top 13 by date)
SuperAdministrator
11-Nov-10 10:07am
View
No worries. I am using the bouncy castle library and want to perform the decryption by code (C#).
SuperAdministrator
11-Nov-10 9:37am
View
I already do decryption with bouncy castle but with .asc(PGP armored file ) formats ... what im looking for is decryption for .pgp(pgp zip file) formats.
SuperAdministrator
29-Oct-10 6:16am
View
true , i will build on this and make the number of children in each level variable by :
private void FillTreeView(TreeView Tv, int NoOfLevels, int[] NoOfChildsOfEachLevel)
{
if (NoOfLevels < 0)
return;
for (int i = 0; i < NoOfChildsOfEachLevel[i]; i++)
{
Tv.Nodes.Add(i.ToString());
FillTreeNode(Tv.Nodes[i], NoOfLevels - 1, NoOfChildsOfLevel[i]);
}
}
private void FillTreeNode(TreeNode Tn, int NoOfLevels, int NoOfChildsOfEachLevel)
{
if (NoOfLevels < 0)
return;
for (int i = 0; i < NoOfChildsOfEachLevel; i++)
{
Tn.Nodes.Add(i.ToString());
FillTreeNode(Tn.Nodes[i], NoOfLevels - 1, NoOfChildsOfEachLevel);
}
}
You think this would fix it ?
SuperAdministrator
29-Oct-10 3:25am
View
This builds a tree with two levels ex: 2 parents with 3 children each . But i need to pass the number of levels so it has to be a kind of recursive method.
SuperAdministrator
29-Oct-10 3:01am
View
can you provide me with any help regarding an algorithm ?
SuperAdministrator
25-Oct-10 7:03am
View
private void control_Paint(object sender, PaintEventArgs e) {
try
{
Image logo = Resources.Picture;
e.Graphics.DrawImage(logo, (Width - logo.Width)/2, (Height - logo.Height)/2);//this produces the exception
}
catch (Exception ex)
{
HandleException(ex);
}
}
SuperAdministrator
25-Oct-10 4:19am
View
The code is not failing when its local, but its throwing this exception when on another PC , i followed it to here
this.pictureBox1.Image = global::Testing.Properties.Resources.cards1;
this.pictureBox1.Location = new System.Drawing.Point (12,155);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size (605,199);
this.pictureBox1.TabIndex = 4;
this.pictureBox1.TabStop = false;
SuperAdministrator
18-Oct-10 2:30am
View
thanks ! it worked :)
SuperAdministrator
14-Oct-10 4:25am
View
about 50 - 60 lines of xml , where the car tag is approx 20-30 lines.
SuperAdministrator
14-Oct-10 3:55am
View
Now ?
SuperAdministrator
12-Oct-10 2:32am
View
My queries are SP's and building them in a string inside the code will cost me compile time .. since they need to be compiled.
SuperAdministrator
15-Jul-10 3:16am
View
Deleted
Reason for my vote of 4
Worked ! awesome
SuperAdministrator
15-Jul-10 3:16am
View
Yes this worked but the problem is. if its a textbox i need txtboxname.Text or comboBox then i need comboBoxName.selectedItem etc. i know i have the name now and the type but how to get the actual input from the control ?
Show More