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
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