Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Call Flash

Call Flash

Scheduled Pinned Locked Moved C#
adobequestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Amauw Scritz
    wrote on last edited by
    #1

    Hi ! I wont to call a flash exe inside a form I've created. How can I do this. (ps: I've heard there is a ocx that can be added but i dont know the name) Thanx in advance

    T S 2 Replies Last reply
    0
    • A Amauw Scritz

      Hi ! I wont to call a flash exe inside a form I've created. How can I do this. (ps: I've heard there is a ocx that can be added but i dont know the name) Thanx in advance

      T Offline
      T Offline
      Torsten Mauz
      wrote on last edited by
      #2

      Is it an exe you want to call? if so just use System.Diagnostics.Process.Start if it's a swf file or a dcr (i think that's the director extension) then there are a couple of ocx's available "Shockwave flash object" which is a file called flash.ocx and "Shockwave activex control" which is a file called SwDir.dll depending on the type of movie you want to show, you should add these to your project and use as required.

      A 2 Replies Last reply
      0
      • T Torsten Mauz

        Is it an exe you want to call? if so just use System.Diagnostics.Process.Start if it's a swf file or a dcr (i think that's the director extension) then there are a couple of ocx's available "Shockwave flash object" which is a file called flash.ocx and "Shockwave activex control" which is a file called SwDir.dll depending on the type of movie you want to show, you should add these to your project and use as required.

        A Offline
        A Offline
        Amauw Scritz
        wrote on last edited by
        #3

        Sorry my mistake I want to call a swf not and exe .... Thanx for the reply

        1 Reply Last reply
        0
        • T Torsten Mauz

          Is it an exe you want to call? if so just use System.Diagnostics.Process.Start if it's a swf file or a dcr (i think that's the director extension) then there are a couple of ocx's available "Shockwave flash object" which is a file called flash.ocx and "Shockwave activex control" which is a file called SwDir.dll depending on the type of movie you want to show, you should add these to your project and use as required.

          A Offline
          A Offline
          Amauw Scritz
          wrote on last edited by
          #4

          Sorry my mistake I want to call a *.swf file... not an *.exe file. Thanx for the reply.

          1 Reply Last reply
          0
          • A Amauw Scritz

            Hi ! I wont to call a flash exe inside a form I've created. How can I do this. (ps: I've heard there is a ocx that can be added but i dont know the name) Thanx in advance

            S Offline
            S Offline
            Stephane Rodriguez
            wrote on last edited by
            #5

            -Bring the Toolbox Window, right-click and choose Customize Toolbox -Select "Shockwave Flash Object" from the COM components tab. This will automagically build all interop libraries for the ActiveX control. -Drop the control on your Form -Depending on whether you want to dynamically set the .swf url or not :   -Static url : bring the Properties Window. On the top is a "Property pages" button. Set the url there. This will show the .swf movie at design-time.   -Dynamic url : once you have dropped the control, it creates a new member in your form, for instance axShockwaveFlash1. Just add this code : axShockwaveFlash1.Movie = "http://....swf";

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups