html/C++/flash problem...

This is a discussion on html/C++/flash problem... within the C++ Programming forums, part of the General Programming Boards category; Is it possible to open a html document with Flash controls allready programmed into it using C++, so that the ...

  1. #1
    Registered User Finchie_88's Avatar
    Join Date
    Aug 2004
    Posts
    154

    Question html/C++/flash problem...

    Is it possible to open a html document with Flash controls allready programmed into it using C++, so that the document opens in a win 32 window, not the default browser??


  2. #2
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    You can send a specific system command using system() found in stdlib. It is often advised against but considering what I can tell from your post, I don't think it's a biggie. Just send the command to open the program and use the HTML file you want to open as the first parameter. That will work for most programs. Since Flash is a plug-in how that works is entirely dependent on the HTML.

  3. #3
    Registered User Finchie_88's Avatar
    Join Date
    Aug 2004
    Posts
    154
    rite, i understand wot ur saying, but the only problem is putting that into a windows app, how do u suggest that I do it, cos im all out of ideas...


  4. #4
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    The only way I can think of is to use the Internet Explorer ActiveX control in your windows application. This way you can embed an IE window in your app, and it will automatically have the flash plug-in already.

  5. #5
    Registered User Finchie_88's Avatar
    Join Date
    Aug 2004
    Posts
    154
    k, I get the theory, but in terms of how to write that into a program, im clueless, so if anyone can submit a small amount of source code showing how to do that, it would be very very welcome...

  6. #6
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Check msdn.microsoft.com. They have a lot of reference material and example source code for doing projects like this.

  7. #7
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,691

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help understanding a problem
    By dnguyen1022 in forum C++ Programming
    Replies: 2
    Last Post: 04-29-2009, 05:21 PM
  2. Memory problem with Borland C 3.1
    By AZ1699 in forum C Programming
    Replies: 16
    Last Post: 11-16-2007, 11:22 AM
  3. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 09:38 AM
  4. A question related to strcmp
    By meili100 in forum C++ Programming
    Replies: 6
    Last Post: 07-07-2007, 03:51 PM
  5. WS_POPUP, continuation of old problem
    By blurrymadness in forum Windows Programming
    Replies: 1
    Last Post: 04-20-2007, 07:54 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21