Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Win32::CaptureIE , unblessed error?

Status
Not open for further replies.

1DMF

Programmer
Joined
Jan 18, 2005
Messages
8,795
Location
GB
I finanly managed to get Win32::CaptureIE installed, it seems it is dependent on Win32::Screenshot which is marked to be dependent on image-magick, so installs it, but then tries to install perl-magick.

Looks like there is a discrepancy between the name of the modules and their dependencies, so , I removed image-magic k, installed perl-magick manually, then Win32::Screenshot, then Win32::CaptureIE. phew!

but now I am guetting an error when using the example for usage
Code:
  use Win32::CaptureIE;

  StartIE;
  Navigate('[URL unfurl="true"]http://my.server/page.html');[/URL]

  my $img = CaptureElement('tab_user_options');
  $img->Write("ie-elem.png");

  QuitIE;
throws up
Can't call method "Navigate" on unblessed reference

what does this mean?

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Oh well looks like I am not able to capture a webpage as PDF,RTF,Image or anything else with PERL.

I've tried Win32::CaptureIE V1, V1.2 & V1.3 they all error with exactly the same.

You issue StartIE; and all you get is
Can't call method "Navigate" on unblessed reference at C:/Perl/site/lib/Win32/CaptureIE.pm

HTML::HTMLDoc doesn't work.
PDF::FromHTML doesn't work.
HTML::RTF doesn't work.
Win32::CaptureIE doesn't work.

Any other suggestions peeps , i'm running out of time and inclination!

"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
*bump* anyone?,

or can someone recommend an ASP or PHP way of doing it instead?


"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top