CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2000
    Location
    Arizona, USA
    Posts
    493

    Using A DLL In An ASP Page

    I know next to nothing about ASP. I created a DLL in VB that works great. I can use it on an HTML
    page using VBScript just fine also. I want to keep the DLL on the server only. I am thinking I
    need to do this in ASP with the Server.CreateObject method. I can't seem to make
    it work though. Here is the ASP code

    Dim olMeetReq

    '//Create Appointment Task
    Set olMeetReq = Server.CreateObject("OutLookForm.clsOutLook")

    '//Show Meeting Request Dialog
    olMeetReq.ShowMeetingRequest 'I GET AN ERROR HERE

    Set olMeetReq = Nothing



    Here is my VBScript code that works fine

    Sub OpenMeeting1_OnClick
    Dim olMeetReq

    '//Create Appointment Task
    Set olMeetReq = CreateObject("OutLookForm.clsOutLook","\\phx1u\www\Controls\ActiveX")

    '//Notify User That "TO" Field Should Be "Sedona"
    MsgBox "Make Sure 'TO' Field Is Set To 'Sedona'",,"Meeting Request"

    '//Show Meeting Request Dialog
    olMeetReq.ShowMeetingRequest

    End Sub

    Can anyone tell me how to do this? Thanks!!!



    Kris
    Software Engineer
    Phoenix,AZ
    Kris
    Software Engineer
    Phoenix, AZ USA

  2. #2
    Join Date
    Mar 2000
    Location
    Arizona, USA
    Posts
    493

    Re: Using A DLL In An ASP Page

    Anyone Have Any Ideas?

    Kris
    Software Engineer
    Phoenix,AZ
    Kris
    Software Engineer
    Phoenix, AZ USA

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

Featured