16,021,125 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 Esmond90 (Top 31 by date)
Esmond90
3-Aug-12 0:15am
View
Do you have any code for reference?
Esmond90
31-Jul-12 23:38pm
View
Oh, I just don't know how to write code to determine an invalid file or whenever a data cannot be read,for both for openfiledialog and drag-n-drop.
Esmond90
31-Jul-12 22:30pm
View
If the extension matches but file is not valid to be read, can i add a messagebox to indicate that?
Esmond90
31-Jul-12 22:28pm
View
Oh I see,is it possible for me to filter format input for drag and drop class?when wrong format is dragged in, messagebox pop up?
Esmond90
31-Jul-12 22:24pm
View
Oh.Thanks!I can do it this way too.=) But can I filter for the drag and drop class too?
Esmond90
31-Jul-12 22:09pm
View
Thanks.Sorry i am just a beginner and I learn myself.The problem I face now is whenever a text file is opened,the program running is fine.But if the user choose a wrong format such as .jpg,I just wish a messagebox is pop up to indicate wrong format or file.=)
Esmond90
30-Jul-12 4:33am
View
I have updated my question,is there any wrong and where should i add the Messagebox indicates the wrong format?
Esmond90
30-Jul-12 3:38am
View
Thanks for reply..I mean how to let the programme know wrong format is dragged on?
Esmond90
25-Jul-12 3:55am
View
Yes,it is System.Windows.Forms.Form..Thanks for the help ya.=)
Esmond90
23-Jul-12 4:07am
View
Ok.I want to choose a specific file to be read.I don't know how to make the program know that which file is chosen.I mean to specify the filepath.thanks!
Esmond90
23-Jul-12 1:50am
View
Hello..My problem is i open a text file and i want to pass it as an object to the class to undergo process to get the data i want in array..so i hav no idea after i choose the file,how it is to be used for the process in the class..?
Esmond90
23-Jul-12 0:33am
View
I create a menu stript on the Form and I want to create a function of "save graph as.." on it.Then when I click it, a window will pop up to ask which type of file(.jpeg,.bitmap,.gif) and what filename to be saved.But the graph is a user control.how can I do it?Would you provide me some code for reference?Thanks.=)
Esmond90
23-Jul-12 0:30am
View
I use a menu stript to create a function of "save graph as.." on the form.I want to pop up a window to choose what filename to be save and which type of file to be saved.But my graph is a user control.how can i able to do it?would you provide me some code for reference?thanks.=)
Esmond90
20-Jul-12 6:00am
View
Ok.Thanks for the information.I am trying on it,let you guys know when I know what actually the problem is.Thanks!
Esmond90
20-Jul-12 5:47am
View
Thanks for reply.Ya,i use FileDialog box.But how the code should be written at directory path for the class?
eg. class: System.IO.StreamReader sr = new System.IO.StreamReader(DIRECTORY PATH)
Form: DialogResult result = this.openFileDialog1.ShowDialog();
if (result == DialogResult.OK) { string file = openFileDialog1.FileName;
}
Esmond90
19-Jul-12 22:14pm
View
Thanks for reply.Would you provide me some code for drawing graph line as for reference?Thanks for the help.=)
Esmond90
18-Jul-12 23:31pm
View
Oh..I have solved it myself.Thanks!
Esmond90
18-Jul-12 23:24pm
View
Is it possible to find the average for the array using Linq?
Esmond90
18-Jul-12 23:16pm
View
My 5!
Esmond90
18-Jul-12 23:13pm
View
Thanks!That's so easy with only few steps!
Esmond90
18-Jul-12 23:05pm
View
Oh i get it.Thanks a lot.I almost forget that.
Esmond90
18-Jul-12 21:46pm
View
Hi..I still can't get it..where to get that?sorry I am just a beginner..
Esmond90
18-Jul-12 5:24am
View
how can i add System.Linq.dll?i just couldn't find it..hope you can solve my problem.=)
Esmond90
18-Jul-12 5:23am
View
Deleted
how can i add System.Linq.dll?i just couldn't find it..hope you can solve my problem.=)
Esmond90
17-Jul-12 23:49pm
View
Do you mean using System.Linq? but error occur: Error 1 The type or namespace name 'Linq' does not exist in the namespace 'System' (are you missing an assembly reference?)
Esmond90
13-Jul-12 3:36am
View
Thanks everyone for replying.=) How if the array is store in string form?How can i convert them into double array and then to be used for the methods that you all have mentioned?
Esmond90
12-Jul-12 0:08am
View
Thanks. I am trying on it.=)
Esmond90
12-Jul-12 0:05am
View
sorry,just updated the question.=)
Esmond90
11-Jul-12 5:59am
View
Hmm..I'm not really clear about it but thanks!=)
Esmond90
11-Jul-12 4:57am
View
ya..i think that is the biggest problem..i try installed the MS chart control but it didn't work..maybe the version is too old..haha..The Zedgraph thing make me even more blur..haha..Thanks for your reply!
Esmond90
11-Jul-12 4:52am
View
yea,i did download and try before but i think the version is not compatible..maybe too old..haha..anyway,thanks a lot!
Show More