Results 1 to 4 of 4

Thread: Is this possible?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Location
    -
    Posts
    101
    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.
    icq: 16228887

  2. #2
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    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...

    oOOo--oOOo
    __/\/\onte96
    oOOo--oOOo
    Senior Programmer/Analyst
    MCP
    [email protected]
    [email protected]


    Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Location
    -
    Posts
    101
    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]
    icq: 16228887

  4. #4

    Thread Starter
    Lively Member
    Join Date
    Oct 1999
    Location
    -
    Posts
    101

    'Got It!

    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.
    icq: 16228887

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width