Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

generating activex programmatically?

83 views
Skip to first unread message

jnd...@gmail.com

unread,
Feb 24, 2013, 7:11:08 PM2/24/13
to
hi,

i'm building an app which uses excel. bruno has show me how to generate the excel class/library. thru tools it goes like:

Dolphin>>Tools>>Additional Tools>>ActiveX Component Wizard

find Excel and generate.

my question, is there any way to do this progammatically? i'm trying to recreate the image after a fresh install.

john

Louis Sumberg

unread,
Feb 25, 2013, 3:48:50 AM2/25/13
to
After you have generated the Excel wrapper classes in Dolphin, you can
save them as a Package, e.g., MyExcel. In your script to recreate the
image you could evaluate:

PackageManager current install: aFilename

where aFilename is the full path to your Excel package.

bruno.b...@gmail.com

unread,
Feb 25, 2013, 7:16:29 AM2/25/13
to
Hi,

In any Smalltalk if you can do it from the a GUI then you can do it progammatically.

In you case just check:
AXComponentWizard>>generate

If we analyze the code we see that Dolphin call another #generate method for each element in the list of ActiveX Component Wizard.

I have no Office here but i will check later to do it in a Workspace.

Regards,
Bruno



jnd...@gmail.com

unread,
Feb 25, 2013, 3:31:36 PM2/25/13
to
bruno & louis,

thank you both for the quick replies. at this point i have created a new package and saved the excel stuff to it. tonight i will try my automated build from a clean image.

thank you both,

john

jnd...@gmail.com

unread,
Feb 25, 2013, 7:53:42 PM2/25/13
to
well it sounded simple. i successfully saved all the office and excel stuff to a separate package, but it's become a never ending snake....VBIDE ????

unfortunately i think my automated build will only go so far.

thanks for your help.

john

bruno.b...@gmail.com

unread,
Feb 26, 2013, 7:07:19 AM2/26/13
to
> well it sounded simple. i successfully saved all the office and excel stuff to a separate package, but it's become a never ending snake....VBIDE ????

You can track Excel prerequisites in the Package Browser select the package a go to Prerequisites tab there you will find VBIDE with other packages.

Regards,
Bruno

jnd...@gmail.com

unread,
Feb 26, 2013, 1:51:15 PM2/26/13
to
hi bruno,

thanks. i went and found that i needed office also, so office, then, vbide, then excel.

thanks again for all your help.

john
0 new messages