Click here to Skip to main content
15,889,335 members
Home / Discussions / System Admin
   

System Admin

 
QuestionDetecting Version of Acrobat Reader Which is Installed at The Client Side [ in any language! ]... Pin
bijan.8k9-Aug-08 8:58
bijan.8k9-Aug-08 8:58 
AnswerRe: Detecting Version of Acrobat Reader Which is Installed at The Client Side [ in any language! ]... Pin
Mike Dimmick9-Aug-08 10:56
Mike Dimmick9-Aug-08 10:56 
QuestionWindows Server 2008 Web edition Pin
pmpdesign7-Aug-08 18:53
pmpdesign7-Aug-08 18:53 
Questionreboot solaris os from another solaris machine. How ? Pin
Sakthiu5-Aug-08 22:02
Sakthiu5-Aug-08 22:02 
AnswerRe: reboot solaris os from another solaris machine. How ? Pin
markkuk7-Aug-08 0:06
markkuk7-Aug-08 0:06 
QuestionLogOff computer by code Pin
H.R5-Aug-08 17:54
H.R5-Aug-08 17:54 
AnswerRe: LogOff computer by code Pin
John_Adams6-Aug-08 19:10
John_Adams6-Aug-08 19:10 
QuestionWin32 API - Can't get list of windows Pin
Sanctitas1-Aug-08 2:36
Sanctitas1-Aug-08 2:36 
Hello,

sorry for my bad English.
Hopefully anyone is able to help me. Thank you very much.

What I want to do
-----------------
I am writing an application using Win32 API and Visual C++ 6.0.
This application will perfrom a system warmstart,
but only if a list of programs are *not* actually running.

To do this, I have used the Win32 API-function "EnumWindows()"
to get the same list as Windows' task manager will return.

Everything is tested fine at moduel level.

Now my big problem
------------------
I have added this application as an SQL server agent job to Microsft SQL Server 7.
But now, the application does not work properly, because the list,
returned by EnumWindows(), is empty.

I am a newbie to Windows system development. But it seems, that there are access
problems between user's desktop and server agent's desktop.

How can I get this list of running applications from within running as an SQL server agent job?

I have tried enumeration of winstations, desktops and desktopwindows.
Is this the correct way to sove the problem?
I will get errors #2 (not found) and #5 (access denied).

I have poor knowledge of winstations, desktops and security.

Want I want is:
---------------
I am logged on as administrator to Windows 2000.
I am starting a sample batch (sample.cmd) with "sample.cmd" as its window title.
I can see this batch from within the task manager.
My application can see it, too, if started from inside windows explorer.
Then I start SQL Server 7, and I add my application as an SQL server agent job.
My application will start, but will *not* see "sample.cmd".
What must be done, so that my apllication running as an SQL server agent job,
will see the sample batch?

Thank you very much for any help!
QuestionMultiple users and volume permissions Pin
Waldermort1-Aug-08 1:41
Waldermort1-Aug-08 1:41 
AnswerRe: Multiple users and volume permissions Pin
Perspx1-Aug-08 2:30
Perspx1-Aug-08 2:30 
QuestionPerfMon CPU Usage not same as Task Manager reading Pin
alex120530-Jul-08 21:22
alex120530-Jul-08 21:22 
AnswerRe: PerfMon CPU Usage not same as Task Manager reading Pin
Perspx30-Jul-08 23:44
Perspx30-Jul-08 23:44 
GeneralRe: PerfMon CPU Usage not same as Task Manager reading Pin
alex12057-Aug-08 19:45
alex12057-Aug-08 19:45 
GeneralRe: PerfMon CPU Usage not same as Task Manager reading Pin
Perspx7-Aug-08 23:55
Perspx7-Aug-08 23:55 
QuestionRe: PerfMon CPU Usage not same as Task Manager reading Pin
alex120517-Aug-08 23:00
alex120517-Aug-08 23:00 
QuestionReading in a line from a text file with a batch file and getting rid of spaces Pin
stickjuice30-Jul-08 8:42
stickjuice30-Jul-08 8:42 
QuestionVPN Setup Pin
Broken Bokken29-Jul-08 3:21
Broken Bokken29-Jul-08 3:21 
AnswerRe: VPN Setup Pin
Jörgen Andersson29-Jul-08 5:27
professionalJörgen Andersson29-Jul-08 5:27 
GeneralRe: VPN Setup Pin
Broken Bokken4-Aug-08 2:37
Broken Bokken4-Aug-08 2:37 
QuestionFTP setup Pin
bkelly1328-Jul-08 9:49
bkelly1328-Jul-08 9:49 
QuestionFile synchronization programs. Pin
John M. Drescher28-Jul-08 9:30
John M. Drescher28-Jul-08 9:30 
AnswerRe: File synchronization programs. Pin
requesttimedout28-Jul-08 13:21
requesttimedout28-Jul-08 13:21 
GeneralRe: File synchronization programs. Pin
John M. Drescher28-Jul-08 16:15
John M. Drescher28-Jul-08 16:15 
QuestionHow to launch and change 'regional options' through command prompt Pin
ArjunMK28-Jul-08 3:36
ArjunMK28-Jul-08 3:36 
AnswerRe: How to launch and change 'regional options' through command prompt Pin
Luc Pattyn28-Jul-08 4:14
sitebuilderLuc Pattyn28-Jul-08 4:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.