Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / November 2004



Tip: Looking for answers? Try searching our database.

Why can I not set the focus?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dave - 20 Nov 2004 11:36 GMT
Hi,

I shell to internet explorer to open a URL.  I use the windowstate parameter
vbMaximizedFocus but the window does not get the focus, I get the organge
flashing icon in the task bar.  Any ideas why the window does not get the
focus?  I am doing  nothing special in the window calling Shell.

The line I use is:

Shell "C:\Program Files\Internet Explorer\iexplore.exe " & Chr(34) & pURL &
Chr(34), vbMaximizedFocus

Dave
nrford - 20 Nov 2004 14:04 GMT
> Hi,
>
[quoted text clipped - 9 lines]
> &
> Chr(34), vbMaximizedFocus

If you already have IE open and minimized to the task bar,
try closing it first and see if you have the same problem.

NFord
Dave - 20 Nov 2004 15:09 GMT
> > Hi,
> >
[quoted text clipped - 14 lines]
>
> NFord

No, IE was not open.
Dave
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.