ShellWindows under Terminal Services for non-admin user

  • Thread starter Thread starter Jyotin
  • Start date Start date
J

Jyotin

Hi

I am not sure whether this is the right forum or not, but I am facing
problem with VB Application that I have written running under Terminal
Services.
Any help will be greatly appreciated. Thanks.


I have written a VB app, which launches the IE URL in same IE session (first
time luanch IE with URL and subsequently launch URLs in same IE Sessions).
For this I am using "Microsoft Internet Control (shdocvw.dll)".

I have following code:


set obShellWnds = new SHDocVwCtl.ShellWindows
..... (use GetWindowTheadProcessID to map window handle to previously
launched IE session)


This works fine for all scenario, but gives error ("Out of memory") when I
run application to under non-admin user account under Terminal Services.
I suspect as under Terminal Services, non-admin user doesnt have rights to
list all processes.

Please help ASAP.

Thanks & Regards,
Jyotin.
 
Back
Top