Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Error SetTheme
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error SetTheme

 Post Reply Post Reply
Author
Message
Ingrid View Drop Down
Newbie
Newbie


Joined: 20 December 2006
Location: United Kingdom
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingrid Quote  Post ReplyReply Direct Link To This Post Topic: Error SetTheme
    Posted: 26 July 2007 at 9:18am
Hello
CalendarVersion 11.1.03
The calendar lällst itself in the Office2007 opinion does not indicate gets this error.

Error 5
     Invalid Prozeduraufruf or invalid argument

This is my Code:
   Dim objThemeOfice2007 As CalendarThemeOffice2007
   Set objThemeOfice2007 = CC.Theme

   If objThemeOfice2007 Is Nothing Then
     Set objThemeOfice2007 = New CalendarThemeOffice2007

     CC.SetTheme objThemeOfice2007
    End If

Thanks
Back to Top
cjprb View Drop Down
Newbie
Newbie


Joined: 08 June 2007
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote cjprb Quote  Post ReplyReply Direct Link To This Post Posted: 26 July 2007 at 10:03am
Try this
 
 Dim objThemeOfice2007 As CalendarThemeOffice2007 
 Set objThemeOfice2007 = New CalendarThemeOffice2007 
 CC.SetTheme objThemeOfice2007

regards
 
Claus Pedersen
Back to Top
Ingrid View Drop Down
Newbie
Newbie


Joined: 20 December 2006
Location: United Kingdom
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingrid Quote  Post ReplyReply Direct Link To This Post Posted: 27 July 2007 at 6:09am
Thanks for Help but not Function

Sorry

The error is functioned not still there and.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.219 seconds.