Re: How can I create multiple instance of PowerPoint by VB6's 'CreateO

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thank you , John.

Great. But , as you've said , it may be not useful.
Anyway, I'll check to see if it is possible.



"John Wilson" <john AT technologytrish.co DOT uk> wrote in message news:8CC03937-98F1-42C0-97DB-9C6045D688BA@xxxxxxxxxxxxxxxx
The only way I know (and its not that useful) is to open another powerpoint
as a different user

eg If you have a user named "extra" from your usual account a cmd line
instruction runas /user:extra "c:\program files\microsoft
office\office11\POWERPNT.EXE" will open a new instance.
--
email john AT technologytrish.co.uk

"Glass" action buttons - http://www.technologytrish.co.uk/pptbuttons.html
Personalised calendars - http://technologytrish.co.uk/calendars



"Zoo" wrote:

Hi,
I want to create multiple instance of PowerPoint by VB6's 'CreateObject'.

Sub Test()
Set p1 = CreateObject("PowerPoint.Application")
p1.Visible = True

Set p2 = CreateObject("PowerPoint.Application")
p2.Visible = True
End Sub

In this case, p1 is equal to p2. This means the number of instance is 1.
I know PowerPoint is the application which does not support multiple
instance.
But , is there workaround?



.


Quantcast