Loading an ActiveX DLL

Results 1 to 2 of 2

Thread: Loading an ActiveX DLL

  1. #1
    Join Date
    Dec 1969

    Default Loading an ActiveX DLL

    Why would the following code execute in VB6 but hang indefinately when<BR>exectuted in an ASP 3.0 page?<BR><BR>Set VLReceive = CreateObject("VLCTI.VLReceive")<BR><BR>This line is invoked in the following context:<BR>&#060;%<BR>Dim VLReceive<BR>Set VLReceive = CreateObject("VLCTI.VLReceive")<BR>Set VLReceive = Nothing<BR>%&#062;<BR><BR>Is it the setup of the virtual directory or something?<BR><BR>Other ActiveX DLLs can be loaded with CreateObject() and scripting is enabled.<BR><BR>Many thanks.<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Loading an ActiveX DLL

    Your code should work perfectly. Allthough its considered good practice to use the "Server.CreateObject" instead of just "CreateObject".<BR><BR>Anyway, there might be a problem in your DLL file though. Maybe its the rest of the computer config. It could be Norton Scripting protection. It could be the lack of the midas.dll.<BR><BR>Could be a number of things. Give us some more info. The ASP file seems good though.

Posting Permissions

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