Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2005
    Posts
    2

    video detect at startup

    First off. Ty all for posting such wonderful replies to everyone's questions. This program has been a lifesaver and the developer's assistance is unmatched.

    MY NOT SO UNIQUE PROBLEM: I have 2 projects of duplicate contents. One is 800X600, the other is 1024X768

    I aim to include them both into my CD under \\%cdroot%\800 and \\%cdroot%\1024 and have the program auto detect the endusers video settings and launch the appropriate sized app.

    From what I gather,
    1) I create an empty am5 project, the large project and an exact copy under small settings
    2)enter somewhere for it to autodetect the video settings in the empty am5 project
    3)it will then launch the right app and close itself down

    I have read the threads on this but I still can't seem to see what the advice is pointing to.

    Can anyone give me an exaple of this empty am5 file that I can edit please.

    Thank you

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    Hello,

    The attached example will test your screen resolution and put the result onscreen.

    Publish your 2 projects to separate exe's and then put those in the docs folder of your loader app and after testing the screen resolution just run the appropriate one. Using code something like -

    Code:
    if width<1024 then 
    result = File.Run("AutoPlay\\Docs\\800Res.exe", "", "", SW_SHOWNORMAL, false);
    else
    result = File.Run("AutoPlay\\Docs\\1024Res.exe", "", "", SW_SHOWNORMAL, false);
    end
    Application.Exit()
    Instead of the code that sets the label text in my example.

    Hope that makes sense
    Last edited by longedge; 06-01-2005 at 02:44 PM.

  3. #3
    Join Date
    May 2005
    Posts
    2
    Thank you thank you thank you. Worked first time.

    Again, Thank you.

  4. #4
    Join Date
    Aug 2003
    Posts
    2,427
    You're welcome - glad it worked OK for you.

Similar Threads

  1. Could someone help with video code snippet?
    By sue in forum AutoPlay Media Studio 5.0
    Replies: 10
    Last Post: 05-25-2005, 02:10 PM
  2. project size same after deleting startup video?
    By rdf in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 10-12-2004, 09:44 PM
  3. Getting a associate video file to open and begin playing.
    By JBS in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 06-04-2004, 09:15 PM
  4. Online Video Tutorials and CD-ROM Training Series
    By Ted Sullivan in forum AutoPlay Media Studio 5.0
    Replies: 0
    Last Post: 05-10-2004, 12:05 PM
  5. Playing a Video using the Embedded Video Object
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-26-2003, 12:36 PM

Posting Permissions

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