Sign in to follow this  
Followers 0
ReFran

$oFlexGrid = ObjCreate("MSFlexGridLib.MSFlexGrid.1")

3 posts in this topic

#1 ·  Posted (edited)

Hi,

does someone know how to use MSFlexGrid or even better MSHFlexGrid.

If I look into the Registry it seems all things there:

Microsoft FlexGrid Control, version 6.0

TypLib = {5E9E78A0-531B-11CF-91F6-C2863C385E30}

ProgId = MSFlexGridLib.MSFlexGrid.1

InprocServer = C:\WINDOWS\system32\msflxgrd.ocx

But if I use objCreate or objGet and check with isObj nothing is created.

I know there has been a (unsolved) question in the past:

http://www.autoitscript.com/forum/index.php?showtopic=42959&st=0&p=382560&hl=MSFlexGrid&fromsearch=1&#entry382560

but there are much improved commands and knowledge on this forum sincethan.

If I look into this ..ocx, there are so much nice functions, methods, .. in,

so it would really good to find a way to use it. Any Chance??

Thanks for your interest,

Reinhard

Edited by ReFran

Share this post


Link to post
Share on other sites



Hi,

does someone know how to use MSFlexGrid or even better MSHFlexGrid.

If I look into the Registry it seems all things there:

Microsoft FlexGrid Control, version 6.0

TypLib = {5E9E78A0-531B-11CF-91F6-C2863C385E30}

ProgId = MSFlexGridLib.MSFlexGrid.1

InprocServer = C:\WINDOWS\system32\msflxgrd.ocx

But if I use objCreate or objGet and check with isObj nothing is created.

I know there has been a (unsolved) question in the past:

http://www.autoitscript.com/forum/index.php?showtopic=42959&st=0&p=382560&hl=MSFlexGrid&fromsearch=1&#entry382560

but there are much improved commands and knowledge on this forum sincethan.

If I look into this ..ocx, there are so much nice functions, methods, .. in,

so it would really good to find a way to use it. Any Chance??

Thanks for your interest,

Reinhard

The autoitObject UDF may help you with this. If the flexgrid isn't iDispatch, you may be able to add your own wrapper clases, using the autoitObject UDF to expose the functions, etc, that are used within the flexgrid ocx. Give it a look, and see. I havn't checked what interfaces flex grid uses, but i'm highly impressed by what the autoitObject UDF can do, and this seems like a good method to get around that.

Hooking into the iDispatch (if you search for that phrase) should give you a good idea how to hook into other interfaces, aside from iDispatch, which may help you get the grid to work as well. I'm intrigued by what flexgrid can do, so i'm gonna look into it too. But give the object one a try, see if you can get it to work, and if you do, post here.


-_-------__--_-_-____---_-_--_-__-__-_ ^^€ñ†®øÞÿ ë×阮§ wï†høµ† ƒë@®, wï†høµ† †ïmë, @ñd wï†høµ† @ †ïmïdï†ÿ ƒø® !ïƒë. €×阮 ñø†, bµ† ïñ§†ë@d wï†hïñ, ñ@ÿ, †h®øµghøµ† †hë 맧ëñ§ë øƒ !ïƒë.

Share this post


Link to post
Share on other sites

... Hooking into the iDispatch ...

I'm afraid the object is only usable from VB6, like the Adobe Acrobat Type lib, you get fully installed already with Adobe Reader only, but you can use it - or better all of it - only with a full Adobe Acrobat installation.

However, by time I will look deeper into this.

Thanks for your responds,

Reinhard

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0