Windows Vista Forums

VBS function into ActiveX ??

  1. #1


    p byers Guest

    VBS function into ActiveX ??

    Hi Folks
    Is it technically possible to take one or more VBS functions
    and put them into an ActiveX DLL.


    If so, where can I find the documentation to show me how to
    do it ??


    Classic that is, NOT dotNET

    Thanks in anticipation
    Pete (Northolt UK)



      My System SpecsSystem Spec

  2.   


  3. #2


    mayayana Guest

    Re: VBS function into ActiveX ??

    Yes, you can sort of do it. But why would
    you want to? Maybe it'd help if you explained
    what you want to accomplish.

    You can probably put actual script into a DLL
    using the script control, but that wouldn't make
    much sense. The point of using a DLL would be
    to provide script with something that it can't
    normally do, by writing VB code and giving script
    a way to run it via public methods.

    > Hi Folks
    > Is it technically possible to take one or more VBS functions
    > and put them into an ActiveX DLL.
    >
    >
    > If so, where can I find the documentation to show me how to
    > do it ??
    >
    >
    > Classic that is, NOT dotNET
    >
    > Thanks in anticipation
    > Pete (Northolt UK)
    >
    >


      My System SpecsSystem Spec

  4. #3


    p byers Guest

    Re: VBS function into ActiveX ??

    Sadly both of these links relate to dotNET

    At the moment, I do NOT want to move to dotNET

    Thanks for the reply though

    McKirahan wrote:

    > "p byers" <pb@xxxxxx-ltd.co.uk> wrote in message
    > news:48371D51.5BCD480E@xxxxxx-ltd.co.uk...

    > > Hi Folks
    > > Is it technically possible to take one or more VBS functions
    > > and put them into an ActiveX DLL.
    > >
    > >
    > > If so, where can I find the documentation to show me how to
    > > do it ??
    > >
    > >
    > > Classic that is, NOT dotNET
    >
    > "Windows® Script Components provide you with an easy way to
    > create powerful, reusable COM components in script. You create
    > script components using any scripting language that supports the
    > Microsoft® ActiveX® Scripting interfaces. Script languages that
    > support these interfaces include JScript, Microsoft® Visual Basic®
    > Scripting Edition (VBScript), PERLScript, PScript, and Python."
    >
    > Introducing Windows Script Components
    > http://msdn.microsoft.com/en-us/libr...h8(VS.85).aspx
    >
    > Building Windows Script Components
    > http://www.4guysfromrolla.com/webtech/050400-1.shtml

      My System SpecsSystem Spec

  5. #4


    p byers Guest

    Re: VBS function into ActiveX ??

    Correction - I did it using "Windows Script Component Wizard" by
    following the 4GuysFromRolla tutorial

    Brilliant !!!

    Thanks very much for the advice

    Sorry to have doubted you !!



    p byers wrote:

    > Sadly both of these links relate to dotNET
    >
    > At the moment, I do NOT want to move to dotNET
    >
    > Thanks for the reply though
    >
    > McKirahan wrote:
    >

    > > "p byers" <pb@xxxxxx-ltd.co.uk> wrote in message
    > > news:48371D51.5BCD480E@xxxxxx-ltd.co.uk...

    > > > Hi Folks
    > > > Is it technically possible to take one or more VBS functions
    > > > and put them into an ActiveX DLL.
    > > >
    > > >
    > > > If so, where can I find the documentation to show me how to
    > > > do it ??
    > > >
    > > >
    > > > Classic that is, NOT dotNET
    > >
    > > "Windows® Script Components provide you with an easy way to
    > > create powerful, reusable COM components in script. You create
    > > script components using any scripting language that supports the
    > > Microsoft® ActiveX® Scripting interfaces. Script languages that
    > > support these interfaces include JScript, Microsoft® Visual Basic®
    > > Scripting Edition (VBScript), PERLScript, PScript, and Python."
    > >
    > > Introducing Windows Script Components
    > > http://msdn.microsoft.com/en-us/libr...h8(VS.85).aspx
    > >
    > > Building Windows Script Components
    > > http://www.4guysfromrolla.com/webtech/050400-1.shtml

      My System SpecsSystem Spec

  6. #5


    Paul Randall Guest

    Re: VBS function into ActiveX ??

    Comment inline

    "p byers" <pb@xxxxxx-ltd.co.uk> wrote in message
    news:4837E38B.CD80F860@xxxxxx-ltd.co.uk...

    > Sadly both of these links relate to dotNET
    >
    > At the moment, I do NOT want to move to dotNET
    >
    > Thanks for the reply though
    That box on so many of the MSDN web pages is misleading. It says:
    This page is specific to .NET Framework 3.0
    Other versions are also available for the following:
    Microsoft Visual Studio 2005/.NET Framework 2.0

    It is not the information on the page that is specific to .NET.
    Perhaps there is something about the HTML that is specific to .NET.
    If you take the link to the 'Other versions', you get the same
    information, and a similar box leading back to this .NET Framework 3.0
    page. I think the box is just a disinformation scheme.

    -Paul Randall

    > McKirahan wrote:
    >

    >> "p byers" <pb@xxxxxx-ltd.co.uk> wrote in message
    >> news:48371D51.5BCD480E@xxxxxx-ltd.co.uk...

    >> > Hi Folks
    >> > Is it technically possible to take one or more VBS functions
    >> > and put them into an ActiveX DLL.
    >> >
    >> >
    >> > If so, where can I find the documentation to show me how to
    >> > do it ??
    >> >
    >> >
    >> > Classic that is, NOT dotNET
    >>
    >> "Windows® Script Components provide you with an easy way to
    >> create powerful, reusable COM components in script. You create
    >> script components using any scripting language that supports the
    >> Microsoft® ActiveX® Scripting interfaces. Script languages that
    >> support these interfaces include JScript, Microsoft® Visual Basic®
    >> Scripting Edition (VBScript), PERLScript, PScript, and Python."
    >>
    >> Introducing Windows Script Components
    >> http://msdn.microsoft.com/en-us/libr...h8(VS.85).aspx
    >>
    >> Building Windows Script Components
    >> http://www.4guysfromrolla.com/webtech/050400-1.shtml
    >


      My System SpecsSystem Spec


VBS function into ActiveX ??
Similar Threads
Thread Forum
function to delete a function PowerShell
Activex Vista security
ActiveX Vista mail
BUG: Redirecting function contents to a file truncates function lines at the width of the console PowerShell
ActiveX Control prompt "An ActiveX control on this page might be u Vista General