Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ho can I get a Link to use myTarget ?
Message
De
18/07/2003 15:07:26
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Ho can I get a Link to use myTarget ?
Divers
Thread ID:
00811624
Message ID:
00811624
Vues:
47
I'm using VFP 7.0
How do I get a link to use myTarget?
local loIE, loDoc, loLink, loIE2, luTarget
loIE2 = createobject('InternetExplorer.Application')
loIE2.visible = .f.
* luTarget = loIE2                     << doesn't work
* luTarget = loIE2.HWND                << doesn't work
luTarget = loIE2.FULLNAME              << doesn't work

loIE = createobject('InternetExplorer.Application')
loIE.Navigate( 'mySite' )
loDoc = loIE.Document
for each loLink in loDoc.Links
  if loLink.href = 'myLink'
    loLink.target = luTarget          << I can't get anything to work
    loLink.click
    exit
  endif
endfor
More specifically, I'm looking to click on the link and open it in another window that's invisible.
Bill Morris
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform