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

Dynamicaly add CalendarControl

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


Joined: 03 December 2012
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote michals9 Quote  Post ReplyReply Direct Link To This Post Topic: Dynamicaly add CalendarControl
    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

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.172 seconds.