Print Page | Close Window

Error SetTheme

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=7674
Printed Date: 06 October 2024 at 6:50pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Error SetTheme
Posted By: Ingrid
Subject: Error SetTheme
Date 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



Replies:
Posted By: cjprb
Date Posted: 26 July 2007 at 10:03am
Try this
 
 Dim objThemeOfice2007 As CalendarThemeOffice2007 
 Set objThemeOfice2007 = New CalendarThemeOffice2007 
 CC.SetTheme objThemeOfice2007

regards
 
Claus Pedersen


Posted By: Ingrid
Date Posted: 27 July 2007 at 6:09am
Thanks for Help but not Function

Sorry

The error is functioned not still there and.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net