Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Report control’s ProgID
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Report control’s ProgID

 Post Reply Post Reply
Author
Message Reverse Sort Order
Flamer View Drop Down
Newbie
Newbie
Avatar

Joined: 15 January 2005
Location: Netherlands
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote Flamer Quote  Post ReplyReply Direct Link To This Post Topic: Report control’s ProgID
    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>")

Back to Top
pstack View Drop Down
Newbie
Newbie


Joined: 05 October 2004
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote pstack Quote  Post ReplyReply Direct Link To This Post Posted: 22 January 2005 at 1:36am

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