15,891,828 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 naraayanan (Top 76 by date)
naraayanan
11-Sep-12 1:19am
View
Hi Superman,
Thanks.But it doesn't work.
naraayanan
1-Apr-12 23:43pm
View
Thanks for your reply. It is Win 7 32bit
naraayanan
6-Mar-12 22:51pm
View
Thanks ...
naraayanan
6-Mar-12 7:30am
View
Thanks friend
naraayanan
5-Mar-12 22:22pm
View
Thanks for your reply.I need to append a file information into First File.But you create a New File Name.
naraayanan
23-Feb-12 6:07am
View
Thanks for reply. I applied the following code.but It does not work .why?Please tell me.
#region Merged Multiple Files
public static void mergefiles(string inputpath,string outputPath)
{
try
{
string[] tmpfiles = Directory.GetFiles(inputpath, "*.pcl");
using (StreamWriter writer = File.CreateText(outputPath))
{
foreach (string tempFile in tmpfiles)
{
using (StreamReader reader = File.OpenText(tempFile))
{
writer.Write(reader.ReadToEnd());
}
}
}
}
catch (Exception ex)
{
Program.WriteLog(ex.Message, ex.StackTrace);
}
}
#endregion Merged Multiple Files
naraayanan
5-Dec-11 10:07am
View
Thanks
naraayanan
3-Dec-11 1:25am
View
Hi,
Thanks for your mail
naraayanan
3-Dec-11 1:25am
View
Hi,
Thanks for your mail
naraayanan
8-Nov-11 9:22am
View
Hi friends ,
Thanks for you reply.
naraayanan
10-Oct-11 0:05am
View
Mouse "Right" Click on the PDF File >> Click "Property"
naraayanan
6-Oct-11 2:56am
View
hi ,
thanks for your reply.
naraayanan
16-Sep-11 0:15am
View
Thanks Pallini
naraayanan
15-Sep-11 2:54am
View
Yes , Mobile,you are right
naraayanan
9-Sep-11 4:45am
View
Hi,
Thanks .I will check out
naraayanan
9-Sep-11 4:45am
View
It's like a 0degree,90degree,180degree,270degree
naraayanan
9-Sep-11 4:44am
View
Hi Anuja,
Thanks for your link
naraayanan
31-Aug-11 3:04am
View
Thanks for u Comment.
naraayanan
31-Aug-11 3:04am
View
Thanks for u link.
naraayanan
16-Aug-11 5:00am
View
Hi,
Where Can i start Timer in Background Worker?
naraayanan
10-Aug-11 0:39am
View
Thanks for help and Advice Mr.Christian.Have a Nice Day.
naraayanan
5-Aug-11 4:26am
View
Thanks
naraayanan
3-Aug-11 8:34am
View
Hi ,
Thanks for your quick reply.
naraayanan
2-Aug-11 6:47am
View
Thanks SA,
can you give me an Example for this Task.It is very useful to my Project
naraayanan
2-Aug-11 1:41am
View
Thanks for your Reply.Can u give an Example.
naraayanan
1-Aug-11 6:40am
View
Hi friend,
Thanks...
naraayanan
31-Jul-11 23:34pm
View
Thanks Philippe
naraayanan
29-Jul-11 8:50am
View
Thanks ..Please see my Code:
For example
no= 2.So I give 2 Backgroundworker
private void backworker_dowork(object sender, DoWorkEventArgs e)
{
for (int i = 0; i < no; i++)
{
if (backworker[i] == sender as BackgroundWorker)
{
}
}
In this code, How can i get the Sender Name .Please tell me.
Note: it is Windows Application.
naraayanan
29-Jul-11 7:41am
View
Thanks for you reply. If i create a Backgroundworker in the loop .How can i get the name of the Dowork Name.for example I create a 3 Backgroundworker in Loop. How can i get which backgroundworker is running ?please help me.
naraayanan
29-Jul-11 0:03am
View
Thanks for reply.It is a String.So I used in my C#.net Project as a String.I set a value of Port number in this char *Ports in the PortExit.
naraayanan
28-Jul-11 4:14am
View
Thanks for your reply .. But I got this error
Error 5 The best overloaded method match for 'Testing.MultiplePrint.SetExit(int, out string)' has some invalid arguments E:\Testing\Testing\Testing\Testing\MultiplePrint.cs 73 20 Testing
What will i do?
naraayanan
27-Jul-11 6:47am
View
Thanks friend
naraayanan
25-Jul-11 4:34am
View
Thanks friend
naraayanan
25-Jul-11 4:34am
View
Thanks friend
naraayanan
25-Jul-11 1:45am
View
Thanks for your reply.
naraayanan
21-Jul-11 23:28pm
View
Static-- Drag and Drop
Dynamic -- To create a Control Dynamically
naraayanan
20-Jul-11 8:36am
View
Hi,
Thanks friends.I don't want to Web Application.I want Windows Application
naraayanan
20-Jul-11 6:40am
View
Thanks .
naraayanan
19-Jul-11 6:45am
View
Hi,
thanks for u reply.Please tell an Idea for my task.
Thanks
Regards,
Lakshmi Narayanan.s
naraayanan
19-Jul-11 0:44am
View
Thanks for u reply.Please see my task
I am looking for Dynamic Properties in C#.net in Windows application.One flowLayoutpanel in the form.Dynamic properties are Group box ,Picture Boxes and Labels In that flowLayoutPanel.My question is when i click the One Picture Box ,Label text should change and another picture box picture should change .please help me How to do this task ?.
naraayanan
19-Jul-11 0:43am
View
Thanks for u reply.Please see my Task.
I am looking for Dynamic Properties in C#.net in Windows application.One flowLayoutpanel in the form.Dynamic properties are Group box ,Picture Boxes and Labels In that flowLayoutPanel.My question is when i click the One Picture Box ,Label text should change and another picture box picture should change .please help me How to do this task ?.
naraayanan
23-Jun-11 2:39am
View
Hi SA,
Thanks for your mail. actually you are given WPF .but i am looking for Windows application. can you give a code for Windows application(Win form). I thank for u posting and future help.I am waiting for reply.
Thanks
Regards,
Lakshmi Narayanan.S
naraayanan
23-Jun-11 2:10am
View
Thanks for your quick reply.
Regards,
Lakshmi Narayanan.S
naraayanan
21-Jun-11 7:02am
View
Thanks
naraayanan
21-Jun-11 4:54am
View
HI friend,
as per your coding It's work fine.Please tell how to create Dynamic name in Application setting for using Dynamic Property.In your code
"dynamicText" -- is a Default.But I want "dynamicText" is a Dynamic.
Eg:
I have 3 textbox
DynamicText0,DynamicText1,DynamicText2[Properties.Settings.Default.yourSettingName] will create Dynamically in the Application Setting and I retrieve data from that Application settings.
Regards,
Lakshmi Narayanan.S
naraayanan
21-Jun-11 3:20am
View
Hi Balaji
Thanks for your link.But How can i retrieve from Application settings?
naraayanan
21-Jun-11 2:48am
View
Hi friends,
Thanks for your posting .
Regards,
Lakshmi Narayanan.S
naraayanan
21-Jun-11 2:48am
View
Hi friends,
Thanks for your posting .
Regards,
Lakshmi Narayanan.S
naraayanan
11-Jun-11 2:20am
View
Thanks for respond .but i want in Batch file .
naraayanan
8-Jun-11 4:47am
View
Thanks
naraayanan
8-Jun-11 4:47am
View
Thanks
naraayanan
8-Jun-11 4:47am
View
Thanks
naraayanan
8-Jun-11 4:47am
View
Thanks
naraayanan
8-Jun-11 4:47am
View
Thanks
naraayanan
2-Jun-11 7:39am
View
Hi,
In that Program,there are 2 methods are used in the program.But i didn't understand 2 one(UpdateZoomedImage)
Regards,
Lakshmi Narayanan.S
Please help me
naraayanan
2-Jun-11 3:24am
View
Hi,
I tried .But i didn't.So Please help me.
naraayanan
2-Jun-11 1:43am
View
Thanks friend.In this example,using 2 picture box But i want to do this in one Picture box.Please help me.
regards,
Lakshmi narayanan.S
naraayanan
30-May-11 5:19am
View
Hi friends,
I will compare to previous value to current value at Runtime.Please help me
Note: It's a dynamic properties.
Regards,
Lakshmi Narayanan
naraayanan
27-May-11 7:40am
View
Hi SAKryukov,
Thanks
naraayanan
27-May-11 7:39am
View
Hi friends ,
thanks for u reply.Could u send any project for this DataContractSerializer.This is really help to improve my knowledge.
Regards,
Lakshmi Narayanan.S
naraayanan
25-May-11 22:41pm
View
Hi Pallini,
Thanks for valuable post..... Nice to chat with you and Keep in tough whit me.
Regards,
Lakshmi Narayanan.S
naraayanan
25-May-11 8:38am
View
Hi friends,
Step:1
I have a created Textbox,combo box and check box in my form(Dynamically).
Step:2
Insert values into XML like this structure.
<root>
<port0>COM5-Naraayanan-True</port0>
<port1>COM6-Mohan-False</port1>
Here ,COM5 is a Combobox value
Naraayanan is a textbox value
True is a Checkbox value(Checked).
But my Problem is when I read a XML. I got a result except Checkbox.Please tell me how to solve my Problem.
I give my readxml coding
gb is a Group Box in my form .
string sFilename = xmlpath;
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(sFilename);
XmlElement rootElem = xmlDoc.DocumentElement; //Gets the root element, in your xml its "Root"
for (int i = 0; i < rootElem.ChildNodes.Count ; i++)
{
string name = rootElem.ChildNodes[i].Name;
string value = rootElem.ChildNodes[i].InnerText;
string[] words = value.Split('-');
txt1 = words[0];
txt2 = words[1];
txt3 = words[2];
gb.Controls["Combobox" + (i + 0).ToString()].Text = txt1;
gb.Controls["Textbox" + (i + 0).ToString()].Text = txt2;
gb.Controls["RB" + (i + 0).ToString()].Text = txt3;
}
Last line is problem.Please How to solve my Problem?
Regards,
Lakshmi Narayanan
naraayanan
25-May-11 8:36am
View
Hi,
Thanks for u reply. But i didn't get "Checked"(gb.Controls["RB" + i.ToString()].Checked )in this line.please give any other option.
naraayanan
25-May-11 7:31am
View
Hi,
Thanks for help. I need another help.I have a Checkbox/Radio button in my form .I created Dynamically.
I have a 2 check box (created Dynamically).
One box is checked.Another one is unchecked.i saved data into XML.How can i get the value.Please clear my doubt.
naraayanan
25-May-11 5:09am
View
Thanks Tarun.and thanks to every one.but some change in your code .Please see this
string sFilename = xmlpath;
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(sFilename);
XmlElement rootElem = xmlDoc.DocumentElement; //Gets the root element, in your xml its "Root"
for (int i = 0; i < rootElem.ChildNodes.Count ; i++)
{
string name = rootElem.ChildNodes[i].Name;
string value = rootElem.ChildNodes[i].InnerText ;
gb.Controls["Textbox" + (i + 0).ToString()].Text = value; ;
}
Regards,
Lakshmi Narayanan.S
naraayanan
25-May-11 4:43am
View
i want <port0> data in textbox1,<port1> data in textbox2 and so on...
Text boxes create dynamically,Please help me
naraayanan
25-May-11 4:41am
View
yes ,But Text boxes create Dynamically.Please help me
naraayanan
25-May-11 4:27am
View
Hi Tarun,
Thanks for u reply.I created a dynamic textbox.it's explain in Step 1.But my problem How to store a XML Data to Dynamic textbox(as proper way)
Regards,
Lakshmi Narayanan.S
naraayanan
25-May-11 4:13am
View
Hi Xiaobei,
Thanks for help.I try it but it's not working . i send my code for u reference
string sFilename = xmlpath;
string name, text, targetTextbox;
XmlDocument xml = new XmlDocument();
xml.Load(sFilename);
for (int index = 0; index < 4; index++)
{
foreach (XmlElement item in xml.DocumentElement.ChildNodes)
{
name = item.Name;
text = item.InnerText;
targetTextbox = name.Remove(0, 4);
string targetTextBox = "Textbox" + index;
//Try to find the textbox
int textBoxIndex = gb.Controls.IndexOfKey(targetTextBox);
if (textBoxIndex != -1)
{
TextBox foundTextBox = (TextBox)gb.Controls[textBoxIndex];
foundTextBox.Text = text;
}
}
}
Regards,
Lakshmi Narayanan.S
Please help me
naraayanan
25-May-11 1:14am
View
Hi Meware,
thanks for your reply. I tried it. It's not working .I go to 3rd link.
Regards,
Lakshmi Narayanan.S
Please give any other link.Thanks in advance
naraayanan
4-May-11 2:27am
View
Thanks
naraayanan
2-May-11 2:32am
View
Thanks friends
naraayanan
2-May-11 2:32am
View
Thanks friends
naraayanan
29-Apr-11 0:34am
View
Thanks for u reply.But i can't get the correct code.
naraayanan
29-Apr-11 0:33am
View
Thanks
naraayanan
28-Apr-11 6:57am
View
Thanks my friend
Show More