Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 10,512 of 10,840    |
|    Dean Earley to Peter Webb    |
|    Re: shape index values - how do I get th    |
|    04 Sep 07 14:43:09    |
      From: dean.earley@icode.co.uk              Peter Webb wrote:       > Yeah ... I want to control powerpoint with Excel, drawing slides using       > powerpoint.       >       > I've got the graphics happening in Excel, but I want them on slides.       >       > Now I have a different problem, which (I'm sorry I have nowhere else to       > turn) is as follows.       >       > I include the powerpoint class libraries, and they have their own shape       > libraries, which are exactly the same except they draw on a slide.       > However, I now have two subtly different classes, both called "shape".       > When I key in       >       > Dim abc As Shape       >       > I get two choices for "Shape", and I seem to have no idea which class I       > have created. Is there some way to force it to use the class I want?              You will need to qualify them with a library name, which I THINK (I       don't use Office or VBA) are Excel and PowerPoint.              Dim abc As Excel.Shape              --       Dean Earley (dean.earley@icode.co.uk)       i-Catcher Development Team              iCode Systems              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca