15,914,608 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 kornakar (Top 33 by date)
kornakar
18-Apr-13 8:43am
View
You could use the Split method to split the string with a space (' ') and then loop though the resulting array and count the "hi" words.
kornakar
21-Mar-13 3:17am
View
You can generate the C# class from the schema with XSD.exe. http://msdn.microsoft.com/en-us/library/x6c1kb0s%28v=vs.80%29.aspx
kornakar
27-Aug-12 6:00am
View
What solutions have you tried? Do you need help on a specific problem?
kornakar
24-Aug-12 2:20am
View
Well I posted it first (Solution 1, see) :) But I guess I should have provided a full code for him and not the link only.
kornakar
16-Aug-12 5:46am
View
Funny that my answer is downvoted, but it is exactly the same link as in Santhosh Kumar J's answer :)
kornakar
16-Jul-12 3:50am
View
Ok great :) If the answer helped you out then please mark it as accepted. Thanks!
kornakar
13-Jul-12 1:39am
View
http://www.whathaveyoutried.com/
kornakar
11-Jul-12 8:18am
View
Please don't use the "answer question" button for commenting.
kornakar
11-Jul-12 8:18am
View
Well it's hard to give any advice without any error messages or code. Maybe you should create a new question about the saving issue (this one is too long already :).
kornakar
10-Jul-12 7:49am
View
Yes it will work with any application. The "ConsoleApplication" in the example is the *namespace* of the application. I don't know what's your application's namespace so I just made an example.
Just put the SaveResource method in your code and call it in your button1 event like: SaveResource("WindowsFormsApplication1.patch.dll", @"C:\progra..."). (I guess your app's namespace is "WindowsFormsApplication1" :)
kornakar
10-Jul-12 7:17am
View
I updated my answer. Please mark the answer as accepted if you find it helpful. Thanks! :)
kornakar
9-Jul-12 3:03am
View
Have you debugged the code so that you're sure that the UnlockUser method actually gets called?
kornakar
9-Jul-12 2:38am
View
I think you need a list which hold all the instances of the bullets. Then you can make a loop that moves each bullet and checks coillisions. Also it seems that rockettmr only moves *one* rocket, so maybe the loop should be there (for each rocket in me.controls or something).
kornakar
6-Jul-12 3:47am
View
I think you should avoid using global variables as much as possible. Try to think another way of doing what you want (cookies perhaps, or a database?).
kornakar
17-Oct-11 4:29am
View
You could set up a virtual pc and test it.
kornakar
3-Oct-11 1:36am
View
You could put a breakpoint to the gridview's CellStyleChanged event to see when the color is changed.
kornakar
25-Aug-11 2:56am
View
This is not good: what if a record is deleted? Then the next number will be a one already used. The EmployerID must be kept in another table in order to make it unique.
kornakar
24-Aug-11 3:02am
View
I think you can't. http://stackoverflow.com/questions/2252619/prevent-xsinil-true-on-nullable-value-types-when-serializing-to-xml
kornakar
23-Aug-11 8:06am
View
You could try nullable types for that.
public int? result1; // notice the question mark
result1.Value = null;
kornakar
23-Aug-11 6:33am
View
Maybe the font isn't installed on the 2003 server?
kornakar
18-Aug-11 4:11am
View
Is the LinkBase.extendedLinks property set to public? And you're sure it's called extendedLinks and not ExtendedLinks?
kornakar
15-Aug-11 1:53am
View
This seems the most appropriate solution. Thanks.
kornakar
15-Aug-11 1:53am
View
I don't understand what I should do with TextChanged. I only wanted to set the MaxLength property once the form is loaded (not every time the text changes).
kornakar
12-Aug-11 8:59am
View
So this is impossible to do inside the control? I have no choice but to create a base form and move the logic there?
kornakar
24-May-11 7:21am
View
Maybe you should set PictureBox's SizeMode to AutoSize (or resize it manually)?
kornakar
24-May-11 6:47am
View
I'm sorry if I was unclear. First you must make the PB and the Panel as big as you wish. Then when you make the panel smaller than the PB, the scroll bars will appear.
kornakar
23-May-11 8:01am
View
Please ignore the tag at the end of the code block; it's somehow automatically added by pre tag...
kornakar
12-Aug-10 1:17am
View
Why don't you install the SQL server on the same server where the ClickOnce is installed?
kornakar
17-Jun-10 7:03am
View
"It like other answer in the web".
Well that's because it's the correct answer. What else do you want me to add? The whole source code for your program?
kornakar
2-Jun-10 5:27am
View
You have TWO different instances of the page, the one you're clicking the button on, and the another you create manyally on Page_Load. The one you see on your browser is initialized by ASP.NET engine and that's why the TextBox1 has an instance. However, the class A is just manyally created and doesn't get initialized (TextBox1 is null). I suggest you to read a few articles about classes and references etc.
kornakar
2-Jun-10 3:47am
View
Reason for my vote of 1
This is really large issue, we can't just do the work for you. Do some searching first.
Oh and please look out for that caps lock next time.
kornakar
18-May-10 7:24am
View
webRequest.Proxy = WebRequest.DefaultWebProxy
Now waiting for my 20 :P
kornakar
17-May-10 6:24am
View
I don't understand why my answer was voted as 1. It works perfectly. The other answer voted 5 loads a GIF file and saves it as JPG with random name :(
Show More