Results 1 to 10 of 10

Thread: [CLOSED] Powerpoint slide inside VB

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2004
    Posts
    60

    Thumbs down [CLOSED] Powerpoint slide inside VB

    i have searched and i have not found anything conclussive to help me with what i need to pull off

    i know it is doable because the technician pulled it off with vb6 about 6 months ago

    this is what i need to do
    load a slide show inside the vb window and then exit out in 7 seconds
    in FULL screen mode
    also there can be no interaction (kiosk mode) no right clicking, no controls shown

    what this is being used for is to show advertisment at logon

    any help is much appricated, thx
    Last edited by PaPPy; Mar 14th, 2006 at 05:32 PM.

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Powerpoint slide inside VB

    Is this for use on your own system or ?

    Yes, it can be done but PowerPoint needs to be installed on the system.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2004
    Posts
    60

    Re: Powerpoint slide inside VB

    this will be done on a domain level with every computer SHOULD have powerpoint installed
    but some have to login and install it off of a shared location

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Powerpoint slide inside VB

    All you have to do is create a standalone powerpoint slideshow and execute that. The fullscreen settings and right click are handled in PP.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Member
    Join Date
    Oct 2004
    Posts
    60

    Re: Powerpoint slide inside VB

    and then just at 7 seconds just use a sendmessage to close the window?

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Powerpoint slide inside VB

    No its all configurable in PP. You can set your slideshow timings and stuff in PP before exporting it as a standalone.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    Member
    Join Date
    Oct 2004
    Posts
    60

    Re: Powerpoint slide inside VB

    im trying but not finding these options under setup show

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Powerpoint slide inside VB

    Here is some code that will show a show and end it.
    VB Code:
    1. With ActivePresentation.SlideShowSettings
    2.         .ShowType = ppShowTypeKiosk
    3.         .LoopUntilStopped = msoTrue
    4.         .ShowWithNarration = msoTrue
    5.         .ShowWithAnimation = msoTrue
    6.         .RangeType = ppShowSlideRange
    7.         .StartingSlide = 1
    8.         .EndingSlide = 1
    9.         .AdvanceMode = ppSlideShowUseSlideTimings
    10.         .PointerColor.RGB = RGB(Red:=255, Green:=0, Blue:=0)
    11.         .Run
    12.     End With
    13.     SlideShowWindows(Index:=1).View.Exit
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9

    Thread Starter
    Member
    Join Date
    Oct 2004
    Posts
    60

    Re: Powerpoint slide inside VB

    still no working. im saying powerpoint sucks and just taking a screen shot of the slide and displaying it full screen in the program and having the program exit after 7 secs

  10. #10

    Thread Starter
    Member
    Join Date
    Oct 2004
    Posts
    60

    Re: [CLOSED] Powerpoint slide inside VB

    work decided to buy a program that does this and produces an exe with the slide full screen display for x seconds and exit

    so im placing my problem as being closed (unfortunitly)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width