Click to See Complete Forum and Search --> : Using A DLL In An ASP Page


softweng
June 25th, 2001, 04:51 PM
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

softweng
June 26th, 2001, 12:10 PM
Anyone Have Any Ideas?

Kris
Software Engineer
Phoenix,AZ

forty7
June 28th, 2001, 04:21 PM
is this dll registered on the web server?

thanx/good luck,
adam

softweng
June 28th, 2001, 04:30 PM
Yes it is

Kris
Software Engineer
Phoenix,AZ

forty7
June 28th, 2001, 05:13 PM
Can you post the error message?
One issue that I ran into with Creating server objects was the permissions of the anoynmous user of the web server.

thanx/good luck,
adam