PHP.Core.ScriptContext.Friend Function IncludeScript
Posted: February 24th, 2015, 4:21 pm
I have just find out about this project. COOL all the way !
I user VB.NET and i try to call function as you did in your tutorial.
I user MVS 2008 .net 2.0 and i get :
Error 1 'PHP.Core.ScriptContext.Friend Function IncludeScript(relativeSourcePath As String, script As PHP.Core.ScriptInfo) As Object' is not accessible in this context because it is 'Friend'. C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\WindowsApplication3\WindowsApplication3\Form1.vb 16 9 WindowsApplication3
My code is :
Dim context As ScriptContext = ScriptContext.CurrentContext
context.Output = Console.Out
Dim library_representative As Type = GetType(ClassLibrary)
context.IncludeScript("Library.php", library_representative)
context.[Call]("f")
Am I doing something wrong ? Thanks in advance!
I user VB.NET and i try to call function as you did in your tutorial.
I user MVS 2008 .net 2.0 and i get :
Error 1 'PHP.Core.ScriptContext.Friend Function IncludeScript(relativeSourcePath As String, script As PHP.Core.ScriptInfo) As Object' is not accessible in this context because it is 'Friend'. C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\WindowsApplication3\WindowsApplication3\Form1.vb 16 9 WindowsApplication3
My code is :
Dim context As ScriptContext = ScriptContext.CurrentContext
context.Output = Console.Out
Dim library_representative As Type = GetType(ClassLibrary)
context.IncludeScript("Library.php", library_representative)
context.[Call]("f")
Am I doing something wrong ? Thanks in advance!