Open in existing explorer window not new

M

Mark Foley

Hi,

Is there a way from a C program to open a url in an existing window, if it
exists instead of always opening a new one?

I'm using winexec iexplore.exe -nohome "url"

Thanks
 
A

Alan Illeman

Mark Foley said:
Hi,

Is there a way from a C program to open a url in an existing window, if it
exists instead of always opening a new one?

I'm using winexec iexplore.exe -nohome "url"

Thanks

You could use EnumDesktopWindows(..) to check.
 

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

Similar Threads


Top