15,918,889 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 pietvredeveld (Top 32 by date)
pietvredeveld
13-Nov-15 9:49am
View
What error do you get?
pietvredeveld
22-Oct-15 16:45pm
View
The solution will work. But note that the if (!Directory.Exists()) is not needed. Directory.CreateDirectory handles existing directories well. And it is a good idea to add exception handling. Also consider using the return value of Directory.CreateDirectory.
pietvredeveld
25-May-12 16:33pm
View
The SQL approach is not the problem. It is the way Excel displays numeric values.
Don't know how hard the 'without making any modifications in excel sheet' requirement is. When only values may be added, then the best guess is to find a Excel option to change the default display numeric values behaviour.
When no calculations are involved you can parse the values as alphanumeric values.
With the interop assemblies you are able to add some formatting to the numeric cells. But that is modifying the excel sheet. Probably no one will notice it, but still...
pietvredeveld
25-Apr-12 5:32am
View
Posting some code of what you have done, can help us to help you!
Piet
pietvredeveld
17-Apr-12 15:34pm
View
There is no ask for a whole program, just for a solution.
pietvredeveld
12-Apr-12 17:43pm
View
Where is de jquery code. This is ASP.Net isn't it. please add the javascript in you're question.
Piet
pietvredeveld
8-Apr-12 6:21am
View
Please make you're code sample more readable by removing all commented coded. Make sure the comment in code sample is correct and in de correct place. Remember good code, does not need any comment!
Piet
pietvredeveld
30-Mar-12 16:03pm
View
Nice solution
pietvredeveld
29-Mar-12 6:13am
View
you're welcome
pietvredeveld
28-Mar-12 14:36pm
View
Can you give further information about the application environment eq. Windows forms, ASP.NET Silverlight etc.
pietvredeveld
28-Mar-12 6:06am
View
Nice solution. But keep in mind that in many regions in the world Saturday and Sunday are working days.
To solve that there must be a definition of working days (or non working days) been added and tested against that definition.
pietvredeveld
25-Mar-12 16:46pm
View
Also curious about the reason to test app.config. From a application point of view most settings is app config are just values of variables.
When it comes to continues integration and deployment it is another point. Should the deployment process not been tested and the config file is not named app.config anymore....
pietvredeveld
21-Mar-12 12:26pm
View
It should be
string sql =string.Format("SELECT * FROM Customer, WHERE FirstName LIKE '%{0}%'",txtSearch.text);
but that is sql injection, you should use parameters that are passed to the sql command
Piet
pietvredeveld
21-Mar-12 12:14pm
View
Don't think you can do that. Besides the rule you mention is part of the smtp protocol and as far a I know not a part of the actual e-mail message.
Piet
pietvredeveld
21-Mar-12 7:59am
View
Can you please tell any thing about you're environment (asp.net / MVC / WPF / WIN32 )
pietvredeveld
20-Mar-12 14:27pm
View
Are you sure the root variable points to the document root. It looks like it is pointing to the node holding the filename1.xml entry
Piet
pietvredeveld
19-Mar-12 16:31pm
View
No need for A.Sum() / A.Length double[] has a Average() method.
pietvredeveld
10-Mar-12 16:08pm
View
Hi,
I don't know how to write such a driver. Even when, it could not help you to make it work on Windows2000/XP.
Piet
pietvredeveld
8-Mar-12 13:14pm
View
In addition to the links mentioned above, you should know that the functions should be in the NativeMethods (or SafeNativeMethods, UnsafeNativeMethods) class. See: http://msdn.microsoft.com/en-us/library/ms182161%28v=vs.80%29.aspx.
Piet
pietvredeveld
3-Mar-12 15:32pm
View
Mike Liu has post a compleet example on codeproject see: http://www.codeproject.com/Articles/97204/Implementing-a-Basic-Hello-World-WCF-Service
Regards
Piet
pietvredeveld
2-Mar-12 16:15pm
View
Reason for my vote of 5
Good to write this article. It clearly explains the problem and point to the right solution.
even more I like you're lessons learned, they are easy to forget.
Thanks
Piet
pietvredeveld
1-Mar-12 16:18pm
View
It is a good thing outlook is warns for unexpected / unwanted access to your mail. Better no one is helping you to suppress the message.
Not sure but I'll think the Office Interop libraries will give you the possibility to show the e-mail in you're desktop application.
Regards
Piet
pietvredeveld
22-Feb-12 11:38am
View
You say the there was also a security issue 'not enough privileges'.
Does the user that is logging in have impersonation rights?
Groet
Piet
pietvredeveld
21-Feb-12 8:02am
View
When you change the system culture of the culture of the current thread, OleDB will use that culture. In my understanding the requirement is to store in another culture than the current. That can not been achieved as far as I know.
pietvredeveld
21-Feb-12 4:30am
View
For example you can write it your own.
Please improve your question, there is much unclear about the requirements.
Piet
pietvredeveld
20-Feb-12 17:28pm
View
Are you using the full path for the application to start, or a relative path? The difference between starting the first application from the explorer and start from the registry is the working folder. Make sure you pass the absolute path to the StartInfo.
Regards,
Piet
pietvredeveld
12-Feb-12 12:52pm
View
What browser are you using?
pietvredeveld
11-Feb-12 3:18am
View
Deleted
I agree that many have appreciated it. Don't know why. My point is why should you go back to a previous version. I haven't ever found any reason and in your post you don't give any argument for it too. So enlighten me
pietvredeveld
9-Feb-12 17:22pm
View
agree, what is the problem?
Besides, it looks that all values the dataset are assigned to textBox1.Text. As i understand your code correctly, in the end becomes the value of the last column of the last row.
pietvredeveld
9-Feb-12 16:42pm
View
Your solution will make the second form depending on the first. Better have a class responsible for the values as E.F. Nijboer suggested.
pietvredeveld
9-Feb-12 16:23pm
View
Deleted
Reason for my vote of 2
Nice to know but seems useless to me. Never had any reason to downgrade a project.
pietvredeveld
31-Jan-12 14:02pm
View
Deleted
Reason for my vote of 1
WebClient should be placed in a using block.
Useless try catch statements. See comment of Selvin too.
Show More