15,921,028 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 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 Redgum (Top 4 by date)
Redgum
23-Dec-15 11:29am
View
Nathan is correct - you'd need to write a tandem set of services where one watches the other. (These are popular with malware writers) Also, you've told us what your solution is, but not what the problem you're addressing it with. Lots of intelligent folks on here - try submitting or editing with the description of the problem you're trying to solve. e.g. Why are you changing the system time? NTP is very simple to setup. If you can't get it to work, W32TM service might not be running due to GPO policy - check the CPO policy under Windows System Settings and make sure it's enabled.
Redgum
25-Nov-14 16:37pm
View
WPF dispensed with the nice little Screen.AllScreens helper found in Windows.Forms and unless you like the resulting namespace collisions, I might suggest looking into rolling your own screen class. To get you started: http://wpftutorial.net/ScreenResolutions.html and then take a look at: http://stackoverflow.com/questions/1927540/how-to-get-the-size-of-the-current-screen-in-wpf Between these, should get you enough information to know a viable direction to take.
Redgum
20-Nov-14 19:00pm
View
First question needed to be asked is 'What problem are you trying to solve?'
If you are simply looking to replace strings within a file(s) there are far more elegant and less dangerous ways to do this in code. While interesting that you've embedded Notepad++ into a WinForms app, the first question needs to be asked in earnest.
Redgum
20-Nov-14 18:50pm
View
Ditto on prior comments. You can always override a drop-down or combo-box (super-class it) and add your own custom component to it. I did this with a list box control - its fairly simple. Just create a class, and inherit the control type you want to add the functionality to.