PDA

Click to See Complete Forum and Search --> : Is this possible?


rod
Nov 11th, 2000, 01:06 AM
Hi! I've created a DLL using VB6 and I want this to be registered and accessed in the Client Machine and not on
the Server.

Is this possible? If so, how can you call a function stored on that DLL in a DHTML?

Second Question:
Can I use the OPEN statement in VB which opens any file for reading and place it on a DLL which in turn will be use
by the DHTML (Client Side)?

Thanks for any help. :):);):):)

monte96
Nov 11th, 2000, 10:58 AM
Default security settings will prevent you from doing this. You can easily package a dll for internet distribution. The same way you would distribute an ActiveX control, but I think that the security settings will most likely clip it's wings...

rod
Nov 12th, 2000, 01:12 AM
The Default Security Settings wont be a problem.

The DHTML is designed to be accessed by selected clients only. It means that those clients are required to register
the DLLs that the DHTML is using. And in most cases, I might be the one to install/set those DLLs on the client.

I have already created a DLL on the Server side using VB. I know that this has no effect on the Client side because
I only need to register it on the Server. However, I need to create a DLL on the Client side for the following reason:

1.) I don't want them to see my VB Script.
2.) I need to open a file (any file/any format) and read its content (not a text file in most cases). I need to use
the OPEN statement in VB and (I Think) the only way to do this is to create a DLL. I have checked the "Microsoft
Scripting Run Time Library Features". Unfortunately, the OPEN Statement is not supported (only the OpenAsTextStream and OpenTextFile Method) and this is the reason why (I Think) I need to create a DLL.

I want to know if this is possible and if yes, how do you call a function in a DLL in your DHTML.


[Edited by rod on 11-12-2000 at 02:14 AM]

rod
Nov 13th, 2000, 05:49 AM
Whew... I finally got the answer to my questions.

If anyone out there is interested about this topic... well, the answer is yes, you can use DLL in the cLient side...

and yes, you can use the OPEN statement (actually... any VB statement) in your DLL that can be use in the DHTML.