Jump to content

Integrating With Vb


Zepo.

Recommended Posts

I want to integrate my register and login pages with vb's so when you register on my registration it also adds you to vb's and same with the logins. I cant seem to find any tutorials on this anywhere so i guess ill start here.

Link to comment
Share on other sites

Quite simply - yes you can (well sort of), via the "ScriptControl" and Windows Script host. This basically allows you to execute scripts from within your VB app, be they JScript, VBScript, PHP, Python or whatever has been registered with WSH.

 

For a hint, check this out.

 

Basically you'd need a recent PHP 5 version plus the "Collection of PECL modules for PHP 5.0.5" ZIP that comes as an extra download - you need the "php5activescript.dll" in this. You'll need to run "regsvr32 php5activescript.dll" from the command line, once you got PHP installed correctly (php.ini config etc.), which will register PHP with WSH.

 

This presentation will give you some hints: http://netevil.org/talks/PHP-and-COM-2005.pdf - scroll to the page starting IActiveScript - the next few pages from there.

 

Otherwise this (first useful link from Google) tutorial seems to show executing VBScript from VB http://www.thescarms.com/VBasic/WshRegWait.asp - swap the VBScript for PHP and you're there ;-) (and you're on your own BTW)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.