9,868,710 members (31,311 online)
Visit CodeProject.TV
Discuss CodeProject.TV
Sign in
Email
Password
Forgot your password?
Sign in using
home
articles
Chapters and Sections
>
Search
Latest Articles
Latest Tips/Tricks
Top Articles
Beginner Articles
Technical Blogs
Posting/Update Guidelines
Article Help Forum
Article Competition
Submit an article or tip
Post your Blog
quick answers
Ask a Question
View Unanswered Questions
View All Questions...
C# questions
ASP.NET questions
VB.NET questions
C#4.0 questions
C++ questions
discussions
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work & Training Issues
Design and Architecture
ASP.NET
JavaScript
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
Adobe Technologies
C#
Free Tools
Objective-C
Ruby On Rails
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
.NET Framework
Mobile
VS 11 & .NET 4.5
Sharepoint
Silverlight / WPF
Visual Basic
Web Development
Site Bugs / Suggestions
features
Component & Service Catalog
Competitions
News
The Insider Newsletter
Newsletter archive
Surveys
Product Showcase
Research Library
CodeProject Stuff
community
The Insider News
The Lounge
The Weird & The Wonderful
The Soapbox
Press Releases
Who's Who
Most Valuable Professionals
Company Listings
Non-English Language
>
General Indian Topics
General Chinese Topics
help
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
Site Map
Advertise with us
Employment Opportunities
About Us
The default search term operator is
AND
.
You can use brackets,
AND
,
OR
, and
NOT
to improve your search. For example:
C# AND NOT(VB or SQL)
A query of a single
*
will return everything, filtered by any filters.
Filter examples:
Search by Author
author:"author name"
Filter by tag
tag:C#
or
tag:(C++ or Java)
Wildcard search
use "?" or "*" eg.
gr?d
or
gr*
286 Results
Search
Everything
Articles
Technical Blogs
Tips & Tricks
Questions
Answers
Forum Messages
News Items
Catalog Items
Videos
Training Courses
Just My Stuff
My Bookmarks
Sort by
Relevance
Rating Asc
Rating Desc
Title Asc
Title Desc
Author Asc
Author Desc
Date Created Asc
Date Created Desc
Date Modified Asc
Date Modified Desc
Price Asc
Price Desc
Duration Asc
Duration Desc
Match
All Fields
Title
Description
Author(s)
Tags
Any Date
Last 12 hours
Last 24 hours
Last week
Last 2 weeks
Last month
Last 3 months
Last 6 months
Last year
January
February
March
April
May
June
July
August
September
October
November
December
Rating Range
All - Including Unrated
1.0 - 5.0
2.0 - 5.0
3.0 - 5.0
4.0 - 5.0
4.5 - 5.0
4.8 - 5.0
5.0
Advanced Filters:
Article Topics
All Topics
Desktop Development
Web Development
Mobile Development
Cloud Computing
Enterprise Systems
Database
Multimedia
Languages
Platforms, Frameworks & Libraries
General Programming
Graphics / Design
Development Lifecycle
General Reading
Third Party Products
Mentor Resources
Article License
All Licenses
CPOL
CDDL
Ms-PL
MPL
CPL
Eclipse
MIT
BSD
Apache
CC (ASA 2.5)
Zlib
Public Domain
CC (Attr 3U)
CC (ASA 3U)
LGPL3
GPL3
Forums
All Forums
Feature Forums
General Programming
Web Development
Product Lifecycle
Database & SysAdmin
General Discussions
Non-English Language
Catalog Category
All Categories
Books & Training
Charting & Graphing
Components, Controls, Libraries
Data Manipulation & Mining
Database Tools
Debugging
Documentation & Help
Financial, Math & Scientific
Frameworks & APIs
General Development Tools
GIS & Maps
Graphics & 3D Modeling
Hardware and Robotics
Hosting
IDEs
Imaging
Mobility
Multimedia
Networking
Performance and Profiling
Programming Languages
Project Life-cycle Management (ALM)
Reporting
Search
Security
Setup & Deploy
System Adminstration
Utilities
Virtualization
Web Design/Development
Catalog License
All Licenses
Commercial
Fully Function Evaluation version
Limited Functionality Trial
Limited Time Trial
Shareware
Free For Personal Use
Freeware
Page 1 of 6
Page Size:
10
·
25
·
50
Author filtered by: adriancs
[x]
Easily Add a Ribbon into a WinForms Application (C#)
by
toATwork
, adriancs
Article
11 May 2013
license:
Ms-PL
Easily add ribbon to WinForm Application for .NET Framework 2.0, 3.5, 4.0 & 4.5
Desktop Development
»
Tabs & Property Pages
»
General
C#
Beginner
Ribbon
gridview columns from more than one sql table
by
adriancs
Answer
2 May 2013
license:
CPOL
example from what KM Perumal suggested:SELECT a.topicid, a.periodid, b.topicTitle, c.periodName FROM myTable aINNER JOIN topic b ON a.topicid = b.topicidINNER JOIN period c ON a.periodid = c.periodid;
General Programming
»
Uncategorised Quick Answers
»
General
Gridview
Javascript form validiator without submit
by
adriancs
Answer
2 May 2013
license:
CPOL
function validateData() { try { var data1 = document.getElementById("txt1").value; if (data1 == "submit") { document.getElementById("Form1").submit(); } ...
General Programming
»
Uncategorised Quick Answers
»
General
Javascript
HTML
Convert String to DateTime Object
by
adriancs
Answer
2 May 2013
license:
CPOL
System.Globalization.DateTimeF...
General Programming
»
Uncategorised Quick Answers
»
General
C#
problem in deleting in grid view
by
adriancs
Answer
2 May 2013
license:
CPOL
void DoSomething(){ foreach (GridViewRow gvrow in Grid.Rows) { List lst = new List(); CheckBox chkdelete = (CheckBox)gvrow.FindControl("chkdelete"); if (chkdelete.Checked) { int usrid =...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.Net-4.0
Filter search result by check box in asp.net
by
adriancs
Answer
2 May 2013
license:
CPOL
private string GetSql(){ bool a = true; bool b = true; System.Text.StringBuilder sb = new System.Text.StringBuilder(); sb.AppendFormat("SELECT * FROM mytable WHERE 1 = 1"); if (a) sb.AppendFormat(" AND `aa` = 1"); if (b) sb.AppendFormat("...
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
binding checkboxes to gridview with respect to date
by
adriancs
Answer
2 May 2013
license:
CPOL
Manually add checkbox into GridView:protected void Page_Load(object sender, EventArgs e){ if (!IsPostBack) { System.Data.DataTable dt = GetTable(); ViewState["dt"] = dt; GridView1.DataSource = dt; GridView1.DataBind(); } ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
use MSI
by
adriancs
Forum Message
30 Apr 2013
Recently I'm studying how to deploy activeX component written in C# to be registered as GAC in client's computer. Later, I find out that using MSI is one of the simplest way to do that. thanks for sh
General Discussions
»
Article "Installing A Dll Into The Global Assembly Cache (Gac)"
Interesting
by
adriancs
Forum Message
30 Apr 2013
Hey this is interesting. Thanks for sharing. I never though that this could be so easy.
General Discussions
»
Tip/Trick "How To Hosting Windows Form In Windows User Control"
Re: Trying to follow the steps, but still doing something wrong?
by
adriancs
Forum Message
30 Apr 2013
Hi, I have studied your project. The required DLLs are able to merged together into one for easy distribution. However, there is a special case in your project. There are 2 files required to run
General Discussions
»
Article "Load Dll From Embedded Resource"
My vote of 5
by
adriancs
Forum Message
30 Apr 2013
thanks for sharing
General Discussions
»
Article "When Interfaces Are Incredibly Useful."
Re: Trying to follow the steps, but still doing something wrong?
by
adriancs
Forum Message
27 Apr 2013
Hi, I have visited the website un4seen.com that you have provided. I will need to read the documentations and sample codes to use the functions in the DLL. I only concerning on the DLL embedding p
General Discussions
»
Article "Load Dll From Embedded Resource"
Re: Trying to follow the steps, but still doing something wrong?
by
adriancs
Forum Message
13 Apr 2013
Hi, I'm not sure what is the exact problem that encounter by you. If you are convenient to share the DLL with you, I can help you to study your case.
General Discussions
»
Article "Load Dll From Embedded Resource"
Re: Object Reference not set to an instance of object | VS2010 | Framework 4.5
by
adriancs
Forum Message
12 Feb 2013
try to use the pre-compiled DLL.
General Discussions
»
Article "Easily Add A Ribbon Into Winform Application"
Re: minimized ribbon
by
adriancs
Forum Message
8 Feb 2013
Hi, try this: ribbon1.Minimized = true;
General Discussions
»
Article "Easily Add A Ribbon Into Winform Application"
Re: My vote of 1
by
adriancs
Forum Message
7 Feb 2013
Yes, strongly agree! +vote to your message.
General Discussions
»
Article "Some Practices To Write Better C#/.Net Code"
Re: Try to avoid Comments!!! Really?
by
adriancs
Forum Message
6 Feb 2013
agree
General Discussions
»
Article "Some Practices To Write Better C#/.Net Code"
Re: Comments DO serve a purpose
by
adriancs
Forum Message
6 Feb 2013
agree
General Discussions
»
Article "Some Practices To Write Better C#/.Net Code"
Re: Conventions
by
adriancs
Forum Message
6 Feb 2013
This often happens from the management level of people, which convention is sometime fulfill their dictatorship. This type of management tends to pay more attention to the appearance of codes in stead
General Discussions
»
Article "Some Practices To Write Better C#/.Net Code"
Comments are important
by
adriancs
Forum Message
5 Feb 2013
Comments are important. Situation/Reason 1: Work in a group. When the project is going to worked, predicted to be worked among group of programmers. It helps to communicate with eac
General Discussions
»
Article "Some Practices To Write Better C#/.Net Code"
Re: Problem in Windows XP
by
adriancs
Forum Message
5 Feb 2013
I have uploaded a simple project of ribbon run in xp. you can try download it. the file name is: Ribbon_XP_C#.zip find the file here >>
General Discussions
»
Article "Easily Add A Ribbon Into Winform Application"
Re: WinXP problems after migration from Ribbon.dll to Ribon35.dll
by
adriancs
Forum Message
5 Feb 2013
Hi, I have downloaded the project that you uploaded at codeplex issue tracker section of this project.... but... I'm not familiar with C++. So, not much I can guide you on this. I do have test the ri
General Discussions
»
Article "Easily Add A Ribbon Into Winform Application"
Re: Error when loading MDI screen
by
adriancs
Forum Message
5 Feb 2013
try to use the pre-compiled dll.
General Discussions
»
Article "Easily Add A Ribbon Into Winform Application"
Re: Problem in Windows XP
by
adriancs
Forum Message
5 Feb 2013
There are many possibilities. and I'm not sure what exactly the problem that you are facing. It's hard to guess at the moment. try upload an sample project that presents the problem at here:
General Discussions
»
Article "Easily Add A Ribbon Into Winform Application"
My vote of 5
by
adriancs
Forum Message
28 Jan 2013
nice. thanks
General Discussions
»
Tip/Trick "Sorting C# Collections That Have No Collating Sequence"
Re: IList and IList interface
by
adriancs
Forum Message
27 Jan 2013
Hi, thanks for the info. :) I will retest it with you suggestion. hang on dude, I'll back to this later. thanks again.
General Discussions
»
Tip/Trick "For Vs Foreach - Benchmark 2013"
My vote of 5
by
adriancs
Forum Message
26 Jan 2013
Excellent! thank you for the updates.
General Discussions
»
Article "Xcrypt - Encryption & Decryption Class Wrapper"
Re: WinXP problems after migration from Ribbon.dll to Ribon35.dll
by
adriancs
Forum Message
25 Jan 2013
try to upload a sample project that presents the problem to here: http://officeribbon.codeplex.com/workitem/list/basic[
General Discussions
»
Article "Easily Add A Ribbon Into Winform Application"
Re: Auto Hide Task Bar is not visible and never displays?
by
adriancs
Forum Message
25 Jan 2013
can you upload a sample project that presents the problem at http://officeribbon.codeplex.com/workitem/list/basic[
General Discussions
»
Article "Easily Add A Ribbon Into Winform Application"
c# windows based application
by
adriancs
Answer
25 Jan 2013
license:
CPOL
You need to handlepicture box's event of mousedown, mousemove, mouseupwhich capture the action of mouse click and dragging.C# PictureBox MouseDown MouseUp[^]about drawing a rectangle. C# Draw Rectangle[^]About crop and resize image:Simple Image Editor with Crop and Resize while...
General Programming
»
Uncategorised Quick Answers
»
General
C#
GimmeCode
Forms
WinFrom
Re: My vote of 5
by
adriancs
Forum Message
25 Jan 2013
Hi, thanks.
General Discussions
»
Article "Load Dll From Embedded Resource"
Re: Dictionary ctor error?
by
adriancs
Forum Message
25 Jan 2013
yeah, I just discovered that. I don't know why the word of "Assembly" is gone. However, I have corrected it. :) thanks dude.
General Discussions
»
Article "Load Dll From Embedded Resource"
For Vs Foreach - Benchmark 2013
by
adriancs
Tip/Trick
25 Jan 2013
license:
CPOL
Performance Comparison of For Loop and Foreach Loop
Languages
»
C#
»
General
C#
.NET
performance
Re: Testing for SPList Objects
by
adriancs
Forum Message
25 Jan 2013
Hi, I recheck the download. I can open it. Not sure what is problem that you faced.
General Discussions
»
Tip/Trick "For Vs Foreach - Benchmark 2013"
Re: IList and IList interface
by
adriancs
Forum Message
25 Jan 2013
em...okay... can you give some examples?
General Discussions
»
Tip/Trick "For Vs Foreach - Benchmark 2013"
Re: Incorrect graph title
by
adriancs
Forum Message
25 Jan 2013
Yes, you are right. will change it at a later time
General Discussions
»
Tip/Trick "For Vs Foreach - Benchmark 2013"
Re: Vb.Net
by
adriancs
Forum Message
25 Jan 2013
Hi, demo is available in VB.NET. Download available at top of this article.
General Discussions
»
Article " Mysqlbackup.Net - Mysql Backup Solution For C#, Vb.Net, Asp.Net"
how to get the result of two textboxes
by
adriancs
Answer
23 Jan 2013
license:
CPOL
textbox3.Text = textbox1.Text + textbox2.Text;
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
How i create WEB BASED HTML CODE EDITOR?
by
adriancs
Answer
23 Jan 2013
license:
CPOL
You can use javascript to build it.but, there are lots of ready made nice html control available.CKEditorFreeTextBoxmore:http://lmgtfy.com/?q=html+editor+asp.nethttp://lmgtfy.com/?q=how+to+build+html+editor
General Programming
»
Uncategorised Quick Answers
»
General
ASP.NET
how to send the mails to all hosting like Gmail,yahoo and rediff mail from one application
by
adriancs
Answer
23 Jan 2013
license:
CPOL
read this:Send Email from Yahoo, Gmail, Hotmail (C#)[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
ASP.NET
Javascript
how can we validate the email id
by
adriancs
Answer
23 Jan 2013
license:
CPOL
select count(*) from `table_name` where `email` = "this@email.com";this will return a value.if the value is 1 means, the email is existed once.if 2 means, existed twice.if 0 means...there, you can check the email is used or not.
General Programming
»
Uncategorised Quick Answers
»
General
C#
how to add new column in datagridview in C# .net(windows application)
by
adriancs
Answer
23 Jan 2013
license:
CPOL
there is a tutorial here:http://csharp.net-informations.com/datagridview/csharp-datagridview-add-column.htm[^]or more you can get:let me google that for youhttp://lmgtfy.com/?q=c%23+datagridview+tutorial+add+column
General Programming
»
Uncategorised Quick Answers
»
General
C#
A problem with DataGridView
by
adriancs
Answer
23 Jan 2013
license:
CPOL
int i = 0;foreach (DataGridViewRow dgvr in itemgridview.Rows){ if (dgvr.IsNewRow) { // do nothing } else { int j = 0; if (int.TryParse(dgvr.Cells[3].Value + "", out j)) { i += j; } else { ...
General Programming
»
Uncategorised Quick Answers
»
General
C#
How to load richtext format from mysql
by
adriancs
Answer
23 Jan 2013
license:
CPOL
C# - Formatting Text in a RichTextBox by Parsing the Rich Text Format (RTF)[^]
General Programming
»
Uncategorised Quick Answers
»
General
C#
MySQL
RichTextBox
How to retrieve data from database to radiobuttonlist?
by
adriancs
Answer
22 Jan 2013
license:
CPOL
void RefreshGender(string gender){ if (gender == "male") RadioButtonList1.Items[0].Selected = true; else if (gender == "female") RadioButtonList1.Items[1].Selected = true; else RadioButtonList1.Items[2].Selected = true;}
General Programming
»
Uncategorised Quick Answers
»
General
C#
Re: Have you considered....
by
adriancs
Forum Message
22 Jan 2013
try to have a look here: For Vs Foreach - Benchmark 2013[
General Discussions
»
Foreach Vs. For (C#)
Re: FOREACH vs FOR, tested again. FOR wins.
by
adriancs
Forum Message
22 Jan 2013
I have run the similar test here: For Vs Foreach - Benchmark 2013[
General Discussions
»
Foreach Vs. For (C#)
Re: My vote of 3
by
adriancs
Forum Message
22 Jan 2013
Hi, I have include the ArrayList in the test. and the code is rewrite to run test more properly. and new information is updated. :)
General Discussions
»
Tip/Trick "For Vs Foreach - Benchmark 2013"
Re: My vote of 3
by
adriancs
Forum Message
22 Jan 2013
Information updated
General Discussions
»
Tip/Trick "For Vs Foreach - Benchmark 2013"
DLL encrypted into class and compiled at runtime with password
by
adriancs
Forum Message
22 Jan 2013
Yes, it is a success. I used your encryption engine and concept of encrypting the class and now making it encrypt dll into class. I have uploaded a sample here:
General Discussions
»
Article "Encrypted Code Compiled At Runtime"
Page 1 of 6
1
2
3
4
5
6
First
·
Prev
·
Next
·
Last
Advertise
|
Privacy
|
Mobile
Web03 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright ©
CodeProject
, 1999-2013
All Rights Reserved.
Terms of Use
Layout:
fixed
|
fluid