By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,282 Members | 1,275 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,282 IT Pros & Developers. It's quick & easy.

win32com.client.Dispatch('InternerExplorer.Applica tion')

P: 2
hi guys, how can i to get an imagine form :
Expand|Select|Wrap|Line Numbers
  1. ie  = win32com.client.Dispatch('InternerExplorer.Application')
  2. ie.Navigate(url)
  3. ie.Document.images[x] ----- this return an object i want this imagine!!!!!!!
  4.  
Thank a lot, see You
Aug 20 '07 #1
Share this Question
Share on Google+
2 Replies

bartonc
Expert 5K+
P: 6,596
hi guys, how can i to get an imagine form :
Expand|Select|Wrap|Line Numbers
  1. ie  = win32com.client.Dispatch('InternerExplorer.Application')
  2. ie.Navigate(url)
  3. ie.Document.images[x] ----- this return an object i want this imagine!!!!!!!
  4.  
Thank a lot, see You
Maybe:
Expand|Select|Wrap|Line Numbers
  1. ie  = win32com.client.Dispatch('InternerExplorer.Application')
  2. ie.Navigate(url)
  3. theImage = ie.Document.images[x] # Don't forget to assign the object to a variable
  4.  
It works just as it would in VB. Don't forget to assign the object to a variable.
Aug 20 '07 #2

P: 2
Maybe:
Expand|Select|Wrap|Line Numbers
  1. ie  = win32com.client.Dispatch('InternerExplorer.Application')
  2. ie.Navigate(url)
  3. theImage = ie.Document.images[x] # Don't forget to assign the object to a variable
  4.  
It works just as it would in VB. Don't forget to assign the object to a variable.
the problem isnot the assignament to the variable but riferiment to object.
I try this:
ie.Navigate('http://www.thecrims.com/captcha.php?action=show&n=single_phrase')
theImage = ie.Document.images[0]
but is not work.
thank you in advance
Aug 21 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.