Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: The embbed program cannot start

  1. #1
    Low Bitrate
    Join Date
    Aug 2006
    Location
    Hong Kong
    Posts
    69

    The embbed program cannot start

    Hi all,

    I try to do a Zeitornix Datalogger skin, but I am a beginner, so I make a simple one, just create a skin and launch the program into skin.

    However, the skin file is shown but the application didn't launch, could you know what mistake I have.

    The skin result
    Name:  20111129174531.png
Views: 276
Size:  74.5 KB

    my zeitronix skin file
    RideRunner Skin
    RRScreen zeitronix
    generic_off.png,generic_off.png,generic_on.png,gen eric_down.png
    INC,Bottomtext.txt
    IMG,87,18,250,38,"Zeitronix.png",out
    B,11,9,75,52,"MINIMIZE",
    B,674,9,118,52,"ESC",
    L,346,23,220,27,255,255,255,18,"Arial:B","TRACKNAM E","SCROLLCENTER",,"DS=2,2,0,0,0"
    I,624,9,47,53,"PHONE_CONNECTED_PHOCO"
    I,578,12,44,45,"ONLINE"

    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip
    A01,0,73,802,471,
    C01,0,73,802,471,

    /, B, x, y, w, h, Command;COMMANDCODES, Tooltip

    /, Y, Back Slider file path

    /, S, x, y, w, h, x1, y1, w1, h1, O, Style, Pointer file path, h2, Code;SLIDERCODES, Tooltip

    END
    Use Winspector to capture the classname of Zeitronix Data Logger is "AfxFrameOrView90su"
    Name:  20111129173532.png
Views: 253
Size:  10.5 KB

    Update the ExecTBL.ini file
    "SetAppLabels","SETVAR;ButtonLabel;=MUSIC<<=RADIO< <=VIDEO<<=DVD<<=XM RADIO<<=SIRIUS<<=PHONE<<=WEATHER<<=PICTURES<<=BROW SER<<=PLUGIN MGR<<=DIMMER<<=CAMERA<<=MAPPOINT<<=GARMIN<<=iGO<<= iGUIDANCE<<=LAUNCH<<=DVB<<=MJS LED<<=MJS IO<<=WEB RADIO<<=ZEITRONIX<<=UnUsed<<=UnUsed<<=UnUsed<<=UnU sed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<< =UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUsed<<=UnUs ed<<=UnUsed<<=UnUsed<<=UnUsed"

    "MyApp23","LOAD;ZEITRONIX.skin;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe;!AfxFrameOrView90su"

    "SetCommandLabels23","SETVAR;MyApp23LB;ZEITRONIX|| SetCommandLabels24"
    I enable the debug mode, the log file shown that command is executed.
    2011/11/29 下午 05:28:12: Que Exec: True, menu2.skin, "MyApp23", False
    2011/11/29 下午 05:28:12: EXECTBL Translation: MyApp23 -> LOAD;ZEITRONIX.skin;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe;!AfxFrameOrView90su
    2011/11/29 下午 05:28:12: Executing: LOAD;ZEITRONIX.skin;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe;!AfxFrameOrView90su
    2011/11/29 下午 05:28:12: Shell: "!AfxFrameOrView90su"
    2011/11/29 下午 05:28:12: Que Exec: True, zeitronix.skin, "ONSCREENCHANGE", False
    2011/11/29 下午 05:28:12: Leave Exec: False, zeitronix.skin, ONSCREENCHANGE, False
    2011/11/29 下午 05:31:19: Enter Exec: False, zeitronix.skin, , False
    2011/11/29 下午 05:31:19: Que Exec: True, zeitronix.skin, "OFFLINE", False
    2011/11/29 下午 05:31:19: Leave Exec: False, zeitronix.skin, OFFLINE, False
    Last edited by WolfSkin; 11-29-2011 at 04:52 AM. Reason: attached image cannot show

  2. #2
    Variable Bitrate Dartman_71's Avatar
    Join Date
    Feb 2009
    Location
    Finland
    Posts
    425
    Try like this...

    "MyApp23","LOAD;ZEITRONIX.skin;;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe;!AfxFrameOrView90su"

  3. #3
    Low Bitrate
    Join Date
    Aug 2006
    Location
    Hong Kong
    Posts
    69
    Thank you very much. I am missing one semicolon between skin and program.

    The program can launch now, but still not embbed, do you know why? I run both winspector and FindWindowInfo, they shown that the class name is "AfxFrameOrView90su".

    Moreover, how can I close the embbed program after press the "BACK" button. Thank you very much
    Name:  20111130103419.png
Views: 216
Size:  211.7 KB

  4. #4
    Variable Bitrate Dartman_71's Avatar
    Join Date
    Feb 2009
    Location
    Finland
    Posts
    425
    If program doesn't embbed then window name is incorrect. Perhaps someone wiser can help you with window name.
    You can close embbed program with button command CLOSE.

  5. #5
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,629
    Just use Zeitronix as the window name or you could try the whole 'untitled - Zeitronix Data logger v3.1.5' but just something unique in the title line is enough, hence 'Zeitronix'

  6. #6
    Low Bitrate
    Join Date
    Aug 2006
    Location
    Hong Kong
    Posts
    69
    Quote Originally Posted by Dartman_71 View Post
    If program doesn't embbed then window name is incorrect. Perhaps someone wiser can help you with window name.
    You can close embbed program with button command CLOSE.
    Thank you very much. After I fixed the embbed issue by Dartman_71, the default command of ESC will close the program automatically.

  7. #7
    Low Bitrate
    Join Date
    Aug 2006
    Location
    Hong Kong
    Posts
    69
    Quote Originally Posted by Enforcer View Post
    Just use Zeitronix as the window name or you could try the whole 'untitled - Zeitronix Data logger v3.1.5' but just something unique in the title line is enough, hence 'Zeitronix'
    Thanks, It can embbed, now I use "Zeitronix Data Logger".

  8. #8
    Low Bitrate
    Join Date
    Aug 2006
    Location
    Hong Kong
    Posts
    69
    I am sorry that I had new question now.

    I want the Zeitronix Data Logger start when the RR is start, and close it when the RR is closed (like Winamp). I try to add the Windows Title "Zeitronix Data Logger" into General -> Embedded Apps and select "Close Embedded Applications When RR Exits" in RRConfig, but the program will not auto start.

    Moreover, after I entry the skin and back to main skin, the program will be clsoe automatically, how can I keep the program run when back? I currently use "ESC" for the BACK button, I searched Skin Command.txt but still not find related command.

    I am sorry for my poor english, if you want to screen dump, please let me know, I will dump the related screen for your reference. Thanks!
    Last edited by WolfSkin; 12-01-2011 at 01:32 AM.

  9. #9
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,629
    To start the program when RR starts, look in RRConfig General-->Page 2-->StartCommand

    put

    run;C:\Program Files\Zeitronix\Zeitronix Data Logger v3.1.5\zdl.exe


    Use EXIT instead of ESC for the back button

  10. #10
    Low Bitrate
    Join Date
    Aug 2006
    Location
    Hong Kong
    Posts
    69
    Thanks!

    The program can start when the RR is running, but the program show in front of the RR.
    Moreover, I change the back button from "ESC" to "EXIT", but the program still close after back. I check with Skin Commands.txt, it said the ESC is same as CANCEL or EXIT, and CANCEL is sames as EXIT. I also change the command to "CANCEL", the result is same.
    Name:  20111202093928.png
Views: 171
Size:  54.1 KB

    Thank you very much.

Page 1 of 3 123 LastLast

Similar Threads

  1. Start Program Automatically w/ RR
    By bratnetwork in forum Road Runner
    Replies: 8
    Last Post: 11-14-2008, 05:07 PM
  2. Best way to embbed DVD
    By qleyo in forum RR Skins
    Replies: 0
    Last Post: 09-24-2005, 07:57 PM
  3. How to embbed any Application in RR ?
    By guino in forum RR FAQ
    Replies: 0
    Last Post: 03-20-2005, 01:35 PM
  4. Program won’t start…. Help me please…
    By Jagger in forum MediaCar
    Replies: 2
    Last Post: 02-17-2005, 09:01 PM
  5. How do i start a program when windows starts its shutdown rutines
    By darkwingduck in forum General Hardware Discussion
    Replies: 0
    Last Post: 12-10-1999, 07:28 AM

Bookmarks

Posting Permissions

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