Print Page | Close Window

[SOLVED] Reference RC in VB6 ActiveX DLL

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=17389
Printed Date: 15 November 2024 at 3:53pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] Reference RC in VB6 ActiveX DLL
Posted By: mstuart
Subject: [SOLVED] Reference RC in VB6 ActiveX DLL
Date Posted: 06 October 2010 at 10:58pm
Hi all,
I need to reference and use the ReportControl in a VB6 ActiveX DLL project, and use this dll in another application.

Here's what I'm trying to do:
In my Magic eDeveloper software, I can reference a dll and interact with it, much as I do now with the Codejock Suite controls.
Since I've discovered that sending data/records from a ReportControl to Excel is a lot easier to do in VB6 than in eDeveloper, I'm wanting to create a dll that the eDeveloper program can reference and send the ReportControl object to and have VB6 cycle thru the ReportRecords object and send the data/records to Excel.
That's the plan.

But I'm stuck on how to do this in VB6. The Codejock ReportControl needs to be referenced in the VB6 project, and the ReportRecords, ReportRecord and ReportRecordItem need to be Dim'd in the project.
So you have a dll that's referencing another dll.

[SOLVED] I needed to "Browse..." to the ReportControl ocx and select it in the Project > References dialog.

Anybody have an example of how to do this in VB6?

Thanx,
Mark Stuart


-------------
Regards,
Mark Stuart

Product: Xtreme SuitePro (ActiveX) v13.2.1
Platform: WinXP (32bit)/Win7 (64bit)
Language: VB6 (SP6), Magic eDeveloper v9.4, uniPaaS v1.9



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