469,342 Members | 5,623 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,342 developers. It's quick & easy.

ASP and VBSCRIPT

I've got an ASP page and I want to make a reference to the kernel32 library.
I VB6 I do:
Declare Public Func ...

Please help
Jul 19 '05 #1
2 1870
MeAndI wrote on 04 nov 2003 in microsoft.public.inetserver.asp.general:
I've got an ASP page and I want to make a reference to the kernel32
library. I VB6 I do:
Declare Public Func ...


response.write "This is a reference to the kernel32 library."

More seriously:

Whether you use VBscript on that asp page ot Jscript, it is always a
scripting language and using a library of a compiling language is illogical
and impossible.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 19 '05 #2
You cannot use functions from a windows DLL from VBScript. You will need to
create a COM object that provides the same function as a member function.
Simplest way is usually to create a VB ActiveX DLL to "wrap" the desired
kernal32 function.

There may already be commercial components to do what you need. What
Kernal32 functions do you want to call?

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"MeAndI" <se******@libero.it> wrote in message
news:mt*********************@twister1.libero.it...
I've got an ASP page and I want to make a reference to the kernel32 library. I VB6 I do:
Declare Public Func ...

Please help

Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

29 posts views Thread by Christopher Brandsdal | last post: by
20 posts views Thread by Harag | last post: by
16 posts views Thread by Mike Schinkel | last post: by
5 posts views Thread by gpence | last post: by
6 posts views Thread by rishabhshrivastava | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.