The ScriptingContext may only exist in Visual Studio languages as it is 
a very special way to program in the IIS with VB (and a way that i can't 
recommend at all due to speed, readability and portability problems).

I personnaly would place all the business logic inside the VB Component 
and would leave for the PHP/ASP the task of making the presentation of 
all the data.

A much cleaner design, and you can split the development of the things 
between two programmers of diferent background... if needed...

Cheers,
Luis Ferro
TelaDigital

P.S.- You will find out that it is easier to debug manually then thru 
the iis/vb/asp(or php in this case) layer... because when things get 
wrong, the error it will return will probably be error 
#ffffffffffffff.... without any more info...

Franky wrote:

>I try to use a simple COM write in VB ...
>======================================================
>Option Explicit
>
>Dim sc As ScriptingContext
>
>
>Sub OnStartPage(AspSC As ScriptingContext)
>    Set sc = AspSC
>
>End Sub
>
>Public Function ecrire()
>    sc.Response.Write "Voici mon super texte"
>End Function
>=======================================================
>
>...but it doesn't work!  Is run in ASP put when i try in php the parameter
>is not good.  I supose is the ScriptingContext variable but I don't know is
>value?!
>
>Somebody can help me Please?
>
>
>Franky
>[EMAIL PROTECTED]
>
>
>
>  
>



---
[This E-mail scanned for viruses by Declude Virus]


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to