borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (E-Mail w/o Client)Next Topic (Sendng Email,FAX in ASP) New Topic New Poll Post Reply
AndreaVB Forum : Network : XML,pHp,VB, combined problem...any idea BigBrains
Poster Message
sanc1
Level: Sage

Registered: 30-09-2003
Posts: 56

icon XML,pHp,VB, combined problem...any idea BigBrains

Hi Bigbrains!
                  Please help me out...as fast as possible
This morning I've been told by my BOSS...to make a stuff punched with XML,pHp,VB & search engine like www.google.com

Here what I really need!

## One VB application with 1 form, 1 textbox & 1 command button [This will run in client side]
## My VB form will take a value in textbox, when the user clicks the command button it will pick up the textbox value & it will convert the stuff in XML.
## Now the value will be parsed through pHp code & will go to the server.
## Now the server will pick up the value & will put the value in the searchengine's search box like we have in www.google.com.
## Now suppose user's entered value in my VB application is "Hello" ...what I've to do is put that value in google's (searchengine's search box)
## Now suppose user clicked searchengines search or go button...results came out
## Now I've to pick few information like....result number...like we usually see...after clicking the search engine...if something is found...they show [ Results 1-10 of 2220.]
## I've to pick up the value 2220...nothing else...from searchengine page
## parse that value 2220 through pHp code...and from server...send it to my VB application by converting the stuff through XML...and show the value in message box in my VB application.........

This is what I've to do....& as fast as possible...I need ideas & help...in this real time...or else I'll be fired ( i guess)

Tragic Part is that I don't know XML & Php much...please help me Guys...Please   

____________________________
Bite the bit
sanc1@rediffmail.com

21-10-2003 at 02:30 PM
View Profile Send Email to User Show All Posts | Quote Reply
JLRodgers
Level: Moderator

Registered: 04-04-2002
Posts: 1616
icon Re: XML,pHp,VB, combined problem...any idea BigBrains

Kind of a lot to ask on short notice (your boss that is)...

Well, just for a really simple thing you can look at:
http://www.w3schools.com/xml/default.asp

Here's a simple XML/XSL coding (XSL is the format for how it's displayed):

XML:

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="xsl.xsl"?>

<database>
<word>
<display>Alpha</display>
</word>
<word>
<display>Beta</display>
</word>
</database>


XSL:

<?xml version="1.0" encoding="ISO-8859-1"?>

<html xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/TR/xhtml1/strict">

<body style="font-family:Arial,helvetica,sans-serif;font-size:12pt;background-color:#EEEEEE">
<xsl:for-each select="database/word">
<div style="background-color:teal;color:white;padding:4px">
<span style="font-weight:bold;color:white">
<xsl:value-of select="display"/>
</span>
</div>
</xsl:for-each>
</body>
</html>


If you put two files in the same folder on your computer, and name the XSL file "xsl.xsl" you can get an idea of what it looks like.

If the data's just stored in a XML file, you'd just have to add the data to the end (well, maintaining proper format). Not sure why the VB has to interact with other things.

[Edited by JLRodgers on 21-10-2003 at 01:33 PM GMT]

____________________________
Everywhere's Local (classifieds, job postings, & more for everycity in the world - user entered)

21-10-2003 at 07:33 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
sanc1
Level: Sage

Registered: 30-09-2003
Posts: 56
icon Re: XML,pHp,VB, combined problem...any idea BigBrains

Thanx a lot Mr. JLRodgers for the quick tips...

Well there is a point to be noted is that through DOCUMENT OBJECT MODEL (DOM) we can trace any page of any website...(although I tested that on offline webpages)... through VB...

Now how to incorporate the same thing in pHp...and XML...as I described above I need to work with XML,pHp,VB,DOM...all of them.... as fast as possible...huh!

Can we work with dll file in XML or pHp...if I make the stuff! in complete VB and I make it dll & by any way can I call the dll from pHp & XML...I don't know...I'm badly confussed

Please do help me out!

The link is really informative...Thanx a lot

with regards


    

____________________________
Bite the bit
sanc1@rediffmail.com

22-10-2003 at 01:49 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Network : XML,pHp,VB, combined problem...any idea BigBrains
Previous Topic (E-Mail w/o Client)Next Topic (Sendng Email,FAX in ASP) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder