15,885,890 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 The Manoj Kumar (Top 24 by date)
The Manoj Kumar
21-Nov-13 16:08pm
View
And the problem is? Did you try XML or Binary serialization?
The Manoj Kumar
21-Nov-13 0:42am
View
Are you trying to set the Palette? Here: http://msdn.microsoft.com/en-us/library/system.windows.media.imaging.bitmappalettes%28v=vs.110%29.aspx
The Manoj Kumar
20-Nov-13 23:57pm
View
How about using NetworkStream in place of Stream. Here is a example http://msdn.microsoft.com/en-us/library/system.net.sockets.tcpclient.getstream%28v=vs.110%29.aspx
The Manoj Kumar
20-Nov-13 15:50pm
View
:). I mentioned that "if s seconds to add to current time then..."
The Manoj Kumar
20-Nov-13 15:29pm
View
Both calls refer to time in future. Take this example:
now = time()
thisyear = (gmtime(now))[0]
nextweek = gmtime(now+3600*24*7)
If s seconds to add to current time then it will lead to DateTime.Now.Add(TimeSpan.FromSeconds(s))
The Manoj Kumar
20-Nov-13 13:10pm
View
Sure, accepting as answer is not an issue :).
In your case I can suggest to:
1. Extract Icon from the exe while initializing or loading your adding
2. Save the image to your resources.resx with a variable name pointing to the name of the resource
3. Add the commands at run time
Some articles that can help you in this will be:
1. http://einaregilsson.com/easy-way-to-have-custom-icons-in-visual-studio-addin/
2. http://msdn.microsoft.com/en-us/library/gg418542%28v=vs.110%29.aspx
3. http://stackoverflow.com/questions/462270/get-file-icon-used-by-shell
I cannot think of anything else at this point.
The Manoj Kumar
19-Nov-13 19:35pm
View
Agree with it but I never said that 'string' is not immutable. Seems, I wrongly worded my sentence :). I wanted to say that most string operations (editing related) create a new copy in memory but not all (information related).
The Manoj Kumar
19-Nov-13 18:03pm
View
You need to assign the value to a new variable. So, it should be s = s.Remove(0,3). Most string operations are immutable.
The Manoj Kumar
19-Nov-13 15:58pm
View
Actually, if you eventually need a DataTable to set as DataSource for report then why not return DataTable itself from your method. Also, in your call you don't do any Execute or Read operation on the Reader.
The Manoj Kumar
19-Nov-13 15:37pm
View
Search for Videos on Channel9. If you are ready to pay then go for Pilot House Consulting video training.
The Manoj Kumar
19-Nov-13 15:25pm
View
Did you try anything? Hint: Use joins and use distinct :).
The Manoj Kumar
19-Nov-13 15:24pm
View
This seems fairly straight forward and I am sure if you will do a search by keywords, you will find what you are looking for.
The Manoj Kumar
19-Nov-13 13:04pm
View
You can collect counters similar to any other application. Do a search for Performance Counters C# and you should be able to find some results.
The Manoj Kumar
21-Oct-10 23:30pm
View
Check the link, MOD_WIN 0x0008 modifier is used for Windows key.
The Manoj Kumar
21-Oct-10 1:59am
View
You should try to find some shopping cart samples on google and then analyze their database.
The Manoj Kumar
21-Oct-10 1:58am
View
Which programming language are you using C++, C# or VB.Net?
The Manoj Kumar
14-Oct-10 14:48pm
View
Seems you want some space between header and the menu. How about adding a blank row with same background color as header between menu and header.
The Manoj Kumar
14-Oct-10 4:00am
View
Please mark as answer if this work for you.
The Manoj Kumar
14-Oct-10 2:01am
View
By Layer what do you mean? Can you explain a bit.
The Manoj Kumar
13-Oct-10 6:06am
View
Did you checked all dependencies?
The Manoj Kumar
17-Aug-10 2:43am
View
I would suggest you to write it and post the code that you have problem with. People will certainly help you to fix it. Alernatively you can google it.
The Manoj Kumar
17-Aug-10 2:40am
View
Just curious, Will that be faster/better than the physical keyboard?
The Manoj Kumar
17-Aug-10 2:37am
View
I hope you can find lots of samples on Google and MSDN.
The Manoj Kumar
17-Aug-10 2:29am
View
One question for you, what is the difference between writing a file and writing a log file? Aren't they same except the information to write to it.
Show More