Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General PowerPoint Questions / August 2008

Tip: Looking for answers? Try searching our database.

ActiveX control resize problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
russell.thamm@dsto.defence.gov.au - 08 Dec 2006 00:13 GMT
Hi,

I am having problems with PowerPoint resizing ActiveX controls.

I have two controls on a slide. When I "show the slide", the controls
are enlarged (but not in proportion to the slide). So one control
covers the other and often one or both extend past the slide bounds.

Even worse, when the slide show ends, the controls do not return to the
correct size. On each successive showing, the controls get bigger and
bigger.

I can use Basic code to set the controls to the correct size and
position on the slide, but am unsure on where to put the code. The code
needs to be executed when the slide is shown. Neither of the two
automatically generated functions appear to be the place for putting
the code.
Is there an equivalent to OnSlideInit() that I can hook into?

I've seen suggestions that ActiveX controls should be placed in a User
Form rather than a slide, but when I try this PowerPoint just crashes.

I'd be grateful for any pointers

cheers
Russell Thamm
Steve Rindsberg - 08 Dec 2006 17:26 GMT
What specific ActiveX control are you using?  If it's crashing PPT when placed
on a user form, I'd be just a wee bit suspicious of it.

This explains how you can work with events in PPT:

Make PPT respond to events
http://www.pptfaq.com/FAQ00004.htm

> Hi,
>
[quoted text clipped - 22 lines]
> cheers
> Russell Thamm

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
russell.thamm@dsto.defence.gov.au - 11 Dec 2006 04:19 GMT
I am using TeeChart controls from Steema.
Steve Rindsberg - 11 Dec 2006 16:57 GMT
> I am using TeeChart controls from Steema.

I just had a quick look at their site and didn't see any specific mention of
support for Office/VBA in the info about their ActiveX control.

There are some differences between VB and VBA; not all controls are compatible
with both.  I'd check with Steema to find out whether theirs is supported in
VBA.

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
Narcís Calvet - 12 Dec 2006 09:54 GMT
Hi Russell,

There is an incompatibility with TeeChart sizing and Powerpoint that makes
sizing difficult to manage on a PPT page. The cleanest solution is to
compile TeeChart into a UserControl and place the UserControl in the page.

Steps to take:

1. Make VB UserControl project.
2. Compile and register project (can be registered via last option in import
control list in Powerpoint if preferrable)
3. Make Powerpoint example using the UserControl. The usercontrol can be
found in the list of ActiveX controls after it is registered

The example project included will work to show all the steps.

Please note that if you make changes to the UserControl after having used it
in Powerpoint you should delete the temporary file (.exd) created by
Powerpoint in the following folder:

C:\Documents and Settings\Administrator\Local Settings\Temp\PPTxx.x

Signature

Best Regards,

Narcis Calvet
Steema Support Central
http://support.steema.com

"Important note: If you are a TeeChart registered customer, please post your
support questions at Steema's Support monitored Forums for customers:
http://support.steema.com for a prompter reply."

> I am using TeeChart controls from Steema.
Steve Rindsberg - 12 Dec 2006 16:41 GMT
Narcis,

Thanks for picking up on this so quickly and thoroughly.

> Hi Russell,
>
[quoted text clipped - 17 lines]
>
> C:\Documents and Settings\Administrator\Local Settings\Temp\PPTxx.x

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
George Birbilis - 28 Feb 2007 21:30 GMT
> There is an incompatibility with TeeChart sizing and Powerpoint that makes
> sizing difficult to manage on a PPT page. The cleanest solution is to
[quoted text clipped - 17 lines]
>
> > I am using TeeChart controls from Steema.

I don't think it's a problem with TeeChart, some clients of mine are having
the exact same problem with my QTVRControlX control (can download it from
http://qt4all.onestop.net). It seems to be caused by PowerPoint2003 (and
maybe not all installations of it???). When they navigate back-forward from
slide to slide the QTVRControlX controls placed in there grow bigger and
bigger and after exiting slideshow mode they've stayed bigger!
George Birbilis - 28 Feb 2007 21:39 GMT
> There is an incompatibility with TeeChart sizing and Powerpoint that makes
> sizing difficult to manage on a PPT page. The cleanest solution is to
[quoted text clipped - 15 lines]
>
> C:\Documents and Settings\Administrator\Local Settings\Temp\PPTxx.x

this thread is at
http://www.teechart.net/support/viewtopic.php?t=5269&highlight=powerpoint

1) the solution suggested isn't that good, since VB UserControl wizard
doesn't have some facility to import another ActiveX control and wrap all its
properties/methods/events to expose them at the new control. Also maybe VB
runtime libraries would be needed at the client machine in this case

the .NET wizards don't have such functionality either, although when you add
"Implements xxInterface", the editor makes skeleton code that you can then
fill-in which is nice - in that case though would need to have .net on the
client machine

2) The thing is that this doesn't happen with TeeChart only (but with
ActiveX controls made with Delphi for example) when using them in
PowerPoint2003. Wonder what has changed compared to older PP versions and why
this resize is happening.

Sounds like a PowerPoint bug to me, although I've been told by customers
that for example ParallelGraphics VRML player Cortona ActiveX control doesn't
have this issue when used in PP slides
George Birbilis - 13 Apr 2007 14:52 GMT
AREN'T MANAGED NEWSGROUPS SUPPOSED TO BE MONITORED BY MS? WHERE's THEIR REPLY
ON THIS ISSUE AND THE INFO I ADDED ON IT?
Signature

George Birbilis (J# MVP)
http://www.kagi.com/birbilis

> > There is an incompatibility with TeeChart sizing and Powerpoint that makes
> > sizing difficult to manage on a PPT page. The cleanest solution is to
[quoted text clipped - 37 lines]
> that for example ParallelGraphics VRML player Cortona ActiveX control doesn't
> have this issue when used in PP slides
Steve Rindsberg - 14 Apr 2007 05:49 GMT
> AREN'T MANAGED NEWSGROUPS SUPPOSED TO BE MONITORED BY MS? WHERE's THEIR REPLY
> ON THIS ISSUE AND THE INFO I ADDED ON IT?

As far as I know, this isn't a managed newsgroup.

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
George Birbilis - 15 Apr 2007 09:40 GMT
> > AREN'T MANAGED NEWSGROUPS SUPPOSED TO BE MONITORED BY MS? WHERE's THEIR REPLY
> > ON THIS ISSUE AND THE INFO I ADDED ON IT?
>
> As far as I know, this isn't a managed newsgroup.

strange, I got here from
http://msdn.microsoft.com/newsgroups/managed
by searching for "PowerPoint ActiveX size" or something like that

Do you know if there is any PowerPoint or Office managed newsgroup then and
where I can find it?

TIA,
George
Steve Rindsberg - 15 Apr 2007 17:06 GMT
> > > AREN'T MANAGED NEWSGROUPS SUPPOSED TO BE MONITORED BY MS? WHERE's THEIR
> REPLY
[quoted text clipped - 8 lines]
> Do you know if there is any PowerPoint or Office managed newsgroup then and
> where I can find it?

MSLeftHand and MSRightHand are having a spat and not talking to one another, I
guess.  

From the same page, there's a link to this Quick List of Managed Groups:

http://msdn2.microsoft.com/en-us/subscriptions/aa974230.aspx

where the word PowerPoint doesn't even appear.

But here's a list of the managed groups that deal with general office dev:

http://msdn2.microsoft.com/en-us/subscriptions/aa974230.aspx#OFFICE

And by the way, I don't mean to suggest that there's anything wrong with
posting your question here; it's unfortunate that nobody had an answer for you
this time, but please do post here as well as in the managed groups if you
like.

-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ:  www.pptfaq.com
PPTools:  www.pptools.com
================================================
George Birbilis - 31 Aug 2008 10:54 GMT
> But here's a list of the managed groups that deal with general office dev:
>
> http://msdn2.microsoft.com/en-us/subscriptions/aa974230.aspx#OFFICE

afaik the MSDN managed groups (I found office.activedocument newsgroup there
and office.activexcontrols or something like that) are full of spam and no
body from MS seems to be monitoring them (at least the Office ones). Really
disappointing...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.