Embedde webbrowser error

Hi,

I have got a user x who only have following access control on my mail file . read documents, write public document, copy or replicate document

My mail file is customized where a celndar entry form has embeded web browser.

Now , when user x tries to open an appointment and tries to get the browser control, it throws an error.“you are not authorised to perform the opeartion”

Dim ObjCntl As Variant

Function hsOpenBrowser(apptHierarchy As ApptHierarchy, hsuidoc As NotesUIDocument, hsNewInstance As Boolean, hsEditSeries As Boolean, hsPageLoaded As Boolean, viewHSPage As Boolean)

Dim hsdoc As NotesDocument, activeDoc As NotesDocument

Dim dts1 As NotesDateTime, dte1 As NotesDateTime

Dim o As Variant, returnAttendees As Variant, selectedDate As Variant, initDateSeries As Variant, pSDates As Variant, pEDates As Variant

Dim uniqueStr As String, url As String, recurrenceChk As String

Dim changeVar() As changeDetail

Dim bookingSet As String, initDatesStr As String, pSDatesStr As String, pEDatesStr As String

Dim i As Integer, startIndex As Integer, endIndex As Integer

Dim EmailLookup As String

Dim EmailAddress As String

Dim RecurrProp As String

Set hsdoc = hsuidoc.Document

If IsEmpty(ObjCntl) Then

Set ObjCntl = hsuidoc.GetObject( “Microsoft Web Browser” ) 'i got an error here

End If

I am not sure if there is a minimum permission required to do this operation. Does anybody have any idea?

Thanks

Subject: notessession.createobject method is not definred

is createobject method defined for notesession class? i was reading documentation but no such method exists…

Subject: NotesSession.CreateObject(“Microsoft Web Browser”) instead?

EDIT: Duplicate post when I hit ‘Save’ …

Subject: NotesSession.CreateObject(“Microsoft Web Browser”) instead?

“You are not authorised to perform the operation” suggests that GetObject is hitting the ‘No Access’ ACL level on the mail file and ignoring the public read/write setting.

Create the object via NotesSession instead, maybe?

Just a thought.

Subject: it works with read only permission

Yes, if i change the permission level to Read Only , then it works.

Also, i found that when i got an error the ACL was set to NO access.

i am not sure if setting delegate permission should elevate the permission, but its definitely not doing for me

Subject: My mistake …

The CreateObject function (as opposed to the uidocument method) returns a variant.

e.g Set xlApp=CreateObject(“Excel.Application”)

Subject: createobject open browser as a seperate application

Ok, i have tried this . but it seems like it will open browser as a separate application. But as per our design we need to show it as embedded browser and make it look like its a part of calendar entry form.

Subject: If you change the ACL permissions does it work?

If you restrict your ACL permissions does it work? Would be a simple test.

Also I wonder if maybe it is related to 32 bit notes and a 64 bit IE?

Also on the off chance you’re one of the Nitin Chopra’s that works for IBM, you might want to ask in the internal IBM forums.