Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I Stay WITHIN PowerPoint slide and INVOKE VB6

Status
Not open for further replies.

RDC

Programmer
Jan 6, 2001
55
US
I present weekly slides to a wide audience (paging through Microsoft Powerpoint document) and projecting these slides, page-by-page, on an overhead screen. Having VB loaded and running in the background and using ALT-TAB to go back and forth between the .ppt slide and the VB6 projection from the laptop is a tried and failed attempt at a solution. I have just been given the customers's urgent request/for a new and important need to have me (while still presenting the .ppt document) to be able to invoke a Microsoft Visual Basic 6 project which would allow me to type and make changes and run code on my laptop all WHILE REMAINING INSIDE THE MICROSOFT POWERPOINT with the .PPT DOC running and up on the screen at the same time. The expectation is that these two Microsoft Prodcucts DO ALLOW allow interaction between the .ppt docs and the VB6 code/executibles to work as one combined presentation. Does anyone out there have any clear and consice and informative step-by-step instructions as to what we need to make intermittent code view and processing through VB6 occur INSIDE one Powerpoint presentation.
 
hi mr.RDC,

I seem to be getting your problem.I view the problem this way.When you are giving the presentation(.ppt) if you are invoking the presentation from powerpoint designtime env you can open VB by clicking on the invoke VB editor icon present in the power point IDE.But you need to stop the presentation to switch back to the design time.

best way to solve your probelm is to invoke powerpoint thru VB.You can do this thru OLE.use a OLE control or an object to invoke powerpoint from VB.You can even make the VB project an EXE.The otherway i.e invoking VB from powerpoint becomes much tougher if u convert the ppt in exe.

i could send you the sample code for opening PPt from VB if you wish.If this seems to be the solution to your problem,reply.

Rajendra
sairajendra@hotmail.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top