Print Page | Close Window

Dynamicaly add CalendarControl

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=20368
Printed Date: 04 December 2024 at 9:12pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Dynamicaly add CalendarControl
Posted By: michals9
Subject: Dynamicaly add CalendarControl
Date Posted: 03 December 2012 at 11:44am
Hi, I'm using VB6 and I want to dynamically add CalendarControl to one of SSTab control tabs.
Here's my code.

Dim WithEvents CalendarControl1 As CalendarControl


Then in Form_Load()

Set CalendarControl1 = Controls.Add("CalendarControl", "CalendarControl1", SSTab1)
CalendarControl1.Visible = True


It works for standard controls, but not for ActiveX. I've also tried adding license:
Licenses.Add
CalendarGlobalSettings.License


I would be grateful for any help




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