Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need some help with WSH
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00565026
Message ID:
00565474
Vues:
24
>>
>>Now the user views the info, then closes the browser, I can't issue another navigate because RPC Server is unavaliable, but I can't test if it is closed because TYPE( "oIE" ) still returns "O". How do I get around that? I'd really rather not CREATEOBJECT() the same object over and over again. Thanks Larry,
>>jfh
>
>Okay, I found a way around it, but it is very kludgy and I don't like it that much, but anyway, this test works
>
>
>IF TYPE( "oIe.Visible" ) <> "L"
>     oIe = CREATEOBJECT( "InternetExplorer.Application" )
>ENDIF
>
>oIe.Navigate( "c:\test.htm#q1" )
>oIe.Visible = .T.
>
>
>Now, I can't seem to find the Object model document for IE. How do I maximize the IE window if the user minimized it? Thanks,
>jfh

You could try:

oIe.TheaterMode = .t.

That will maximize the browser and bring it to the front.
Bill Mittenzwey
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform