Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Shortcut Bar
  New Posts New Posts RSS Feed - Dynamic Creation
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dynamic Creation

 Post Reply Post Reply
Author
Message
m0nstrum View Drop Down
Newbie
Newbie
Avatar

Joined: 15 October 2014
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote m0nstrum Quote  Post ReplyReply Direct Link To This Post Topic: Dynamic Creation
    Posted: 15 October 2014 at 10:02am
Hi,

Im trying to create shortcut bars dynamically and the following code works for version 9.70

    Licenses.Add "XtremeSuiteControls.ShortcutBarCtrl", _
                 "Suite Controls Copyright (c) 2003-2005 Codejock Software" & vbCrLf & _
                 "PRODUCT-ID: XSP-ESD-ACTX-9700-RC1" & vbCrLf & _
                 "VALIDATE-CODE: "
   
    Set xtpShortcutBarControl = Controls.Add("XtremeSuiteControls.ShortcutBarCtrl", "xtpShortcutBarControl")

Ive upgraded to version 16 and the following code doesn't work:

Licenses.Add "Codejock.ShortcutBar.16.3.1", _
                 "ShortcutBar Control Copyright (c) 2003-2013 Codejock Software" & vbCrLf & _
                 "PRODUCT-ID: Codejock.ShortcutBar.ActiveX.v16.3" & vbCrLf & _
                 "VALIDATE-CODE: "


    Set xtpShortcutBarControl16 = Controls.Add("Codejock.ShortcutBar.16.3.1", "xtpShortcutBarControl")


I get an error that the 'component not registered correctly'

Can you no longer create dynamic controls in version 16?

Thanks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.