developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks




Document Command Is Not Available
Philip Philip 05/25/2007 06:53 AM
Notes Client 6.0.2 CF2 Windows XP


Hello,

we have this code:

Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set uidoc = workspace.CurrentDocument

'a code for a messagebox is inserted here

Call uidoc.Print
End Sub

and we are getting the error "Document Command is not available" after the Call uidoc.Print row. Does anyone have an idea how to solve this?

Thanks

Go back