|
Eikthrynir wrote: But is there a way to enumerate the users that are NOT logged on?
Such as NetUserEnum() ?
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
I think this is what I have been looking for. Thanks a lot!
|
|
|
|
|
are you talking about single computer or domain?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
Single computer.
Anyway, I that NetUserEnum does the job.
|
|
|
|
|
Hi,
I want my ownerdrawn Controls, to look in the correct way.
But if call IsThemeActive() on XP I get always "TRUE", what do I wrong?
The standardcontrols look differen, wheter I have an .exe.manifest or not.
What have I to do, so that my ownerdrawn controls are drawn correctly?
|
|
|
|
|
Hai!
I have an MFC application. i build it in both release and debug build. it generates an .exe file. Can i get the name of this .exe programmatically.
within my application.
what i actually need is the name of the exe. If it has been renamed manually then i need the changed name
Thanks!
|
|
|
|
|
See GetModuleFileName()[^]
Usage:
TCHAR szPath[_MAX_PATH];
GetModuleFileName(NULL, szPath, _MAX_PATH);
AfxMessageBox(szPath);
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Hey kid, you're too fast (and actually complete).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Well, you just need a faster internet connection.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
You're are wrong: I need a faster neuron connection
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Actually, I have ten monkeys (me not included) to assist me search MSDN. Because, I only have paper-printed version. They're like FASSTTT... You know?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
I guess this is good enough to start the new quarter [^].
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Me and the monkeys on the same line... Now, that's a honor.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
need 11th?
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
As a matter of fact, *I am* the 11th one.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Good!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
CPallini wrote: I need a faster neuron connection
Yeah, because 22 mintues to write a two lines reply is a looooong time
|
|
|
|
|
I didn't get you. Actually I'm still interpreting "Yeah"...
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
No, you need to quit your job so you cna spend all day scanning the CP forums, so you can react the quickest
Do it long enough and you might start posting answers before the questions appear....
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Stuart Dootson wrote: No, you need to quit your job so you cna spend all day scanning the CP forums
Actually that's exactly what I'm doing... (just kidding, boss!).
Stuart Dootson wrote: Do it long enough and you might start posting answers before the questions appear....
Well, that's actually pretty easy, for instance:
- "We don't make homework for you".
- "Please don't use
CString::GetBuffer() ". - "Urgentz questions go immediately at the bottom of the stack"
are already in the ready-answers-for-incoming-questions queue.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
hwta about fast finger
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow Never mind - my own stupidity is the source of every "problem" - Mixture
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
There is no such function like PathStripPath () in MFC can you please help me some other similiar function
Thanks
|
|
|
|
|
Well there is in Win32 API [^]. Are you aware MFC applications may actually access Win32 API ?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
It's an API function and if your compiler says there's no such function, you're probably using a very old SDK.
You can either download the latest SDK, or use PathFindFileName()[^].
Note: You must link to shlwapi.lib and include shlwapi.h to use this function.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
GetModuleFileName [^].
Then you've just to extract the filename from the full path.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|