• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

VBS function into ActiveX ??

P

p byers

#1
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 Computer

M

mayayana

#2
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 Computer

P

p byers

#3
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/library/07zhfkh8(VS.85).aspx
>
> Building Windows Script Components
> http://www.4guysfromrolla.com/webtech/050400-1.shtml
 

My Computer

P

p byers

#4
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/library/07zhfkh8(VS.85).aspx
> >
> > Building Windows Script Components
> > http://www.4guysfromrolla.com/webtech/050400-1.shtml
 

My Computer

P

Paul Randall

#5
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/library/07zhfkh8(VS.85).aspx
>>
>> Building Windows Script Components
>> http://www.4guysfromrolla.com/webtech/050400-1.shtml
>
 

My Computer

Users Who Are Viewing This Thread (Users: 1, Guests: 0)