VB Script Function

  • Thread starter Thread starter Kuldeep
  • Start date Start date
K

Kuldeep

Hi All,

I have a VB Script function in a separate vbscript file.
How do I call this function in such a way that I can pass the necessary
arguments into it and fetch the return value.

Please Help

Regards,
Kuldeep
 
Hi Kuldeep,

I am not sure if this is relevant to .NET, it is more of ClassicASP
question.

But, you can include the VB Script file using the

<!--#include file="file_with_function.asp"-->

command and then call the function as if it was part of the page.

-AV
 
Thanks for the response Arsen.
I am trying to call the vbscript through my C#.Net code.
I am actually using the following:

Page.ClientScript.RegisterStartupScript and
Page.ClientScript.RegisterClientScriptInclude

can you give me some examples on how to use these two above given functions?

Thanks,
Kuldeep
 
Thanks for the response Arsen.
I am trying to call the vbscript through my C#.Net code.
I am actually using the following:

Page.ClientScript.RegisterStartupScript and
Page.ClientScript.RegisterClientScriptInclude

??? But that would try to run VBScript client-side!

You can't possibly mean that, surely...?
 
Back
Top