ShellWindows under Terminal Services for non-admin user




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
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,

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question