|
Oh, I figured as much. I was wondering if the OP knew what he was talking about. Apparently not...
|
|
|
|
|
hi
my programme's name is speeder xp. this programme makes cpu faster.
i will build a programme which makes speeder xp,etc stop. and it is said that is connected with bios clock.
thats why i ask you that question .
sorry for my english.
thanks.
|
|
|
|
|
Speeder XP (as I guessed) Overclocks the CPU. Be very VERY careful with this, it can damage your PC by causing your processor to overheat. It is recommended NOT TO OVERCLOCK your PC without the proper cooling modifications!
As for your OP, you did not ask any .net related question.
This has NOTHING to do with time or the system clock, this is configuring your processor to operate above the normal safety specifications!
USE IT AT YOUR OWN RISK
|
|
|
|
|
thank you.
how can i fix this ?? how can i control this settings in c# ??
|
|
|
|
|
Hi,
what I would like to do is this:
I want to create a C# programm which runs in the background. Then, when I press e.g. Alt+F12 from anywhere in Windows, it should maximize (!) that programm.
Anyone knows how to do something like that? I was searching hours for hotkey generators but didn't find anything good. So I figured might be better to programm the whole thing myself.
Would be happy about some help .
Sincerely,
Christian K.
|
|
|
|
|
You might have to use a global keyboard hook to process the keys, otherwise your .net application will only have scope over the keyboard for when your application has focus.
|
|
|
|
|
thanks! don't really know what you mean with global keyboard hook ... do you have any kind of link or tutorial where could read myself into that topic?
thanks again!
ck
|
|
|
|
|
|
You don't need global hook for hotkeys. You can do it using a little bit of P/Invoke and your application will be notified whenever the hotkey is pressed. See here: Hotkeys[^]
|
|
|
|
|
Sorry, not familiar with that method, definitely going to check it out.
|
|
|
|
|
This article[^] is good for global keys and mouse hooks.
Be careful, there is no Undo Button(Ctrl+Z) in life.
|
|
|
|
|
You don't need global hook for hotkeys. You can do it using a little bit of P/Invoke and your application will be notified whenever the hotkey is pressed. See here: Hotkeys[^]
|
|
|
|
|
You don't need global hooks for hotkeys. Here is a working application written in c# that provides hotkeys: Hotkeys[^]
|
|
|
|
|
Thanks for all the answers!
Putting hotkeys into place works now more or less. But I still didn't manage to maximize only a certain program (out of the tray). It's always like "maximize all" or "minimize all". Any ideas?
ck
|
|
|
|
|
The article I linked to in previous post shows how to maximize and minimize any window.
|
|
|
|
|
Wow you seem to've summoned a univotor.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
If you can't use the help I offered, don't vote down my posts, just say so.
|
|
|
|
|
I didn't vote down your post. I'm still reading through the article. Why would I vote somebody down who wants to help me?
|
|
|
|
|
Well, at first someone voted 5 to all the replies and then changed to 1.
|
|
|
|
|
Well, that wasn't me. I don't need to lie here. If I would have voted it down I would say so.
|
|
|
|
|
Hi everyone!
I had a little argument with a colleague about namespaces. He is affirming, that one should use namespaces as less as possible.
In my opinion, namespaces not only exist for controlling "the scope of class and method names in larger programming projects" (MSDN quote), but also for somehow organizing my classes in order to have some functional grouping.
Now my question is: How do you use namespaces personally? Only one or two per project, or one for each little functional group? Is there any "best practice" you follow?
Thank you,
Phil
I won’t not use no double negatives.
|
|
|
|
|
Philip F. wrote: How do you use namespaces perso
Typically I create a namespace for each group of classes that are related in functionality (for example for entities or UI etc..) so yes, I do use quite a lot namespaces.
Philip F. wrote: one for each little functional group
This depends on the definition of little, but I wouldn't use namespace for a very small set of classes (like two or three) unless there's a very good reason. Typically in my projects we have 10-100 classes per namespace.
|
|
|
|
|
Philip F. wrote: He is affirming, that one should use namespaces as less as possible.
That's not true. Namespaces helps to organize the code. It is very useful in practice. If there was no namespace concept, programmers will run out of names for the methods and variables.
Philip F. wrote: How do you use namespaces personally?
I use namespaces extensively. Here[^] is a discussion of namespaces and folder structure which you may be interested.
|
|
|
|
|
Thanks for your answers!
Phil
I won’t not use no double negatives.
|
|
|
|
|
Hi, I am working in a destopk application and I wish known how to show a little information text when the mouse cursor moves over a picture. All as same way as it works in the Windows toolbar.
Thank you
|
|
|
|