15,912,756 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 Javascript questions
View Visual Basic questions
View Python 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 Aabidhabanu (Top 11 by date)
Aabidhabanu
10-Nov-11 22:45pm
View
Yeah...The service is working in a separate assembly.I have developed as an windows application & had executed.Only then I had moved into layered architecture
Aabidhabanu
10-Nov-11 1:04am
View
Thankyou very much...I also sorted out another problem along with this.My system didnot have local administration rights & that was also an another cause.Moreover I have changed the Windows Service project's platform target into "Any CPU" which supports all the target types as u had mentioned.
Aabidhabanu
9-Nov-11 7:58am
View
Wen Visual Studio command prompt is opened,an error was displayed by default "Error:Cannot determine the location of the VS common Tools folder".
Aabidhabanu
27-Aug-11 6:11am
View
Thanks for the article.I have read it earlier. I have four separate class files in which each class file represents a company.All the 4 files has a method of the same name.Though the method name in all the 4 files are same, the functionality will be different based on the company.Earlier I create an instantion for each class file & accessed the method
Say for eg:
public class Form1:Form
{
companyONE companyONE1=new companyONE();
companyTWO companyTWO1=new companyTWO();
}
Then I access the methods in the class in "Form1"
I have a scenario of fetching XML packets from a particular folder & then push that into database & this process is done for four different company.These packet structure varies based on company.I fetch data with the help of FileWatcher.I this case class's instance is created when several packets are fetched simultaneously.So I need to implement Singleton method.
Aabidhabanu
5-Aug-11 5:07am
View
I have done it already.Yet I am facing the problem :(
Regards
Aabi
Aabidhabanu
5-Aug-11 5:04am
View
As you said,I have already placed all the controls with enough space in the forms so that the groupboxes doesn't overlap with each other..I need the "Name" of the parent control to be visualy seen in screen.That's why I opted for groupbox. The name of the control is not visible in panel.
Thanks & regards
Aabi
Aabidhabanu
5-Aug-11 4:43am
View
Yes I have done it.Yet I am facing the problem
Aabidhabanu
1-Aug-11 20:08pm
View
I am designing a windows application as part of my proj which helps to display the data in LED.this is the page which helps to indicate the no of lines it needs to be displayed on the LED.These 10 checkboxes refers to 10 other textboxes in the next page.When a pair of checkBox say for ex. checkbox2 & checkBox3 are checked,they shud get disabled indicating Line2(the input given in the textbox2 & textbox3) & Line3's data shud get merged up into a single line.These merging up of lines can be done only with the succeeding or preceeding checkboxes which helps to form a meaningful data.Based on the selection of checkboxes,the input is given in the textboxes.
Aabidhabanu
1-Aug-11 7:45am
View
foreach (Control pageControls in this.Controls)
{
if (pageControls is GroupBox)
{
foreach (Control controlCheckBox in pageControls.Controls)
{
if (controlCheckBox is CheckBox)
{
CheckBox checkBox = (CheckBox)controlCheckBox;
if (checkBox != null)
{
if (checkBox.Checked)
{
int succ = Convert.ToInt32(checkBox.Name.Substring(13)) + 1;
int pred = Convert.ToInt32(checkBox.Name.Substring(13)) - 1;
if (Convert.ToInt32(checkBox.Name.Substring(13)) == pred || Convert.ToInt32(checkBox.Name.Substring(13)) == pred + 1)
{
checkBox.Enabled = false;
}
else
{
checkBox.Enabled = true;
}
}
the above one is the code which I tried to do & I am sure that which ever is coded after the if condition...
if (checkBox.Checked)
{
............
...........
....
..
is incorrect..I need the exact solution
Kindly advise....
Regards
Aabi
Aabidhabanu
1-Aug-11 7:41am
View
I need to do the validations once the button event is fired & not in the checked changed event.
The requirement is that.. several textboxes can be checked. When the checkboxes checkbox1,checkbox2,checkbox3 is checked successively,it needs to be disabled & the rest needs to be in anabled state
Kindly advise....
Regards
Aabi
Aabidhabanu
1-Aug-11 7:36am
View
I knew which ever inside the if loop
if (checkBox.Checked)
{
is in correct.Kindly advise me..
foreach (Control pageControls in this.Controls)
{
if (pageControls is GroupBox)
{
foreach (Control controlCheckBox in pageControls.Controls)
{
if (controlCheckBox is CheckBox)
{
CheckBox checkBox = (CheckBox)controlCheckBox;
if (checkBox != null)
{
if (checkBox.Checked)
{
int succ = Convert.ToInt32(checkBox.Name.Substring(13)) + 1;
int pred = Convert.ToInt32(checkBox.Name.Substring(13)) - 1;
if (Convert.ToInt32(checkBox.Name.Substring(13)) == pred || Convert.ToInt32(checkBox.Name.Substring(13)) == pred + 1)
{
checkBox.Enabled = false;
}
else
{
checkBox.Enabled = true;
}
}
} foreach (Control pageControls in this.Controls)
{
if (pageControls is GroupBox)
{
foreach (Control controlCheckBox in pageControls.Controls)
{
if (controlCheckBox is CheckBox)
{
CheckBox checkBox = (CheckBox)controlCheckBox;
if (checkBox != null)
{
if (checkBox.Checked)
{
int succ = Convert.ToInt32(checkBox.Name.Substring(13)) + 1;
int pred = Convert.ToInt32(checkBox.Name.Substring(13)) - 1;
if (Convert.ToInt32(checkBox.Name.Substring(13)) == pred || Convert.ToInt32(checkBox.Name.Substring(13)) == pred + 1)
{
checkBox.Enabled = false;
}
else
{
checkBox.Enabled = true;
}
}
}
Show More