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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB reference Perl

Status
Not open for further replies.

whygh

Programmer
Apr 18, 2005
16
CA
Hi,

I got a task to extract data from HTML to database,then display the data from database. This HTML is from webpage with SAVEAS file function , like *.HTM.

In Perl deal with HTML, then in VB refernence PERl.

in VB ,How can I call PERL?

 
In Perl deal with HTML, then in VB refernence PERl.

in VB ,How can I call PERL?
Do you make any sence of this? Cause i can't.


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
You can do everything you're looking to in Perl. Take a look at the modules for DBI (Database Independent module), HTML::parser, and LWP::Agent (programmatically grab a webpage and read it.

- Rieekan
 
Pengo, it's not very clear

whygh, you can shell out to a perl script using the VB shell command, though you'll need to introduce a timed loop, sleep command, or some sort of "wait for completion" routine to ensure the perl process has time to complete before allowing the VB program to proceed and pick up the results from the perl script

HTH
--Paul

cigless ...
 
Dude i wouldn't realise what the guy said not in a million years.
I hope that this is what he is trying to ask.


``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top