Report control’s ProgID |
Post Reply |
Author | |
Flamer
Newbie Joined: 15 January 2005 Location: Netherlands Status: Offline Points: 10 |
Post Options
Thanks(0)
Posted: 22 January 2005 at 6:19am |
Try making an UserControl with the Reportcontrol created in designtime. Next: Load your created UserControl: Set YourUserControl = frm.Controls.Add("<YourUserControl-ID-String>", "<Name>") ...And don't forget to add the License: Call Licenses.Add("<YourUserControl-ID-String>", "<LicenseKey>") |
|
pstack
Newbie Joined: 05 October 2004 Status: Offline Points: 16 |
Post Options
Thanks(0)
|
When I execute the following line of code (VB6) to dynamically add a report control to a form: Set rptControl = frm.Controls.Add("XtremeReportControl.ReportControlCtrl.9.50 ", "rptControl") I get a 'Run-time error 741' (Programmatic ID string too long 'item'. The Programmatic ID must be 39 characters or less.) Why is the ProgID for this control so long (42 chars)? This is standard VB. Does anybody know of a workaround? Edited by pstack |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |