Community discussion forum

Relinking videos in Powerpoint

Tags: vb6 Turkey
  • 6 months ago

    Hi,

    I am trying to write a small script in Powerpoint to relink the videos whose path is outdated. While this was an inbuilt function in previous Powerpoint version, Powerpoint 2007 doesn't seem to have it. I wrote a small algorithm that will do it but as I am new to VB I am unable to write the program itself. Could someone please help me out?

    'Define the Slide, Shape as variables
    'For each slide in the presentation
    '   For each shape
    '           If this shape is a movie Then
    '               Relink this movie to the target location and get a return status.
    '               If the return status is 0 then prompt to user if he wants to enter some other target directory because the file was not found else continue
    '               If this return status is 1 then increment a counter
    '           End if
    '   Next
    'Next
    'Pop a box to confirm completion
    'End Sub

     

     

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 6 months ago

    Someone please?

Post a reply

Enter your message below

Sign in or Join us (it's free).