Print Page | Close Window

[SOLVED] MarkupLabel createObject

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=15116
Printed Date: 23 November 2024 at 2:44am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] MarkupLabel createObject
Posted By: chrisABC
Subject: [SOLVED] MarkupLabel createObject
Date Posted: 04 September 2009 at 2:46am
Where can I find information about CreateObject with the Markup Control?
In sample code I can see (example)  CreateObject("Codejock.MarkupLabel.13.1.0")
but where does this information come from?

Nothing I can find in the Help system.
Using the Object Browser does not show anything like this.






-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



Replies:
Posted By: JantjeKeizer
Date Posted: 04 September 2009 at 3:07am
CreateObject is a VB6 function. You can find info about it in your VB6 helpfile.
"Codejock.MarkupLabel.13.1.0" is the PROGID


Posted By: chrisABC
Date Posted: 04 September 2009 at 3:22am
Originally posted by JantjeKeizer JantjeKeizer wrote:

CreateObject is a VB6 function. You can find info about it in your VB6 helpfile.
"Codejock.MarkupLabel.13.1.0" is the PROGID

Thank you for the superquick reply.

I understand the CreateObject function, but I am asking where I can find about the PROGID.  Looking in the Object Borwser for example I see nothing like Codejock.MarkupLabel.




-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6


Posted By: JantjeKeizer
Date Posted: 04 September 2009 at 4:53am
The object browser doesn't show that
You might want to take a look at this small tool
http://forum.codejock.com/forum_posts.asp?TID=11194&KW= - clicky
It will copy manifest info to your clipboard which contains the CLSID's and PROGID's for all createable classes in a COM file


Posted By: chrisABC
Date Posted: 04 September 2009 at 5:52am
Thanks again for reply.

I downloaded and ran the        20080702_043418_Manifest_helper.zip

> Run the exe and then select a dll or ocx you want to use.
> It will copy all necessary data to the clipboard, which you can paste into the manifest skeleton.
>  Simply replace the 'file name' block with your own file(s)

but when I select ANY dll or ocx (eg CodeJock controls) it just says "xxxx  is not a valid file"  :-(


-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6


Posted By: JantjeKeizer
Date Posted: 04 September 2009 at 6:04am
make sure tlbinf32.dll is registered on your system


Posted By: chrisABC
Date Posted: 04 September 2009 at 6:22am
Originally posted by JantjeKeizer JantjeKeizer wrote:

make sure tlbinf32.dll is registered on your system


It wasn't.  But it is now. And now your program works!! :-)  Thank you.


-------------
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6



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