SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Sep 2004
    Location
    VA, USA
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    can\'t find OBJ in module

    Hello,

    I have a function in module as,
    public function xngLogon(in app, in userID){

    if (app == "client")
    invoke_application("XngClient", "", xngClientDir, SW_SHOW);
    else
    ...
    wait(5);
    while (win_exists("XngClientLogon", 1) != E_OK) #get obj can't find in this line.
    wait(3);
    set_window("XngClientLogon", 1);
    ...
    button_press("OK");
    }

    Then, call this function in main script as,

    XngGuiFile = "XngClientGui.gui";
    GUI_load(XngGuiFile);
    load("xngClientModule");
    xngLogon("client", "test");
    ...
    unload("xngClientModule");
    GUI_unload_all();
    ...

    When I run the script, I always get error - the object is not in GUI file.

    Could you please help me find what the problem is?

    Thank you very much!

  2. #2
    Member
    Join Date
    Sep 2004
    Location
    VA, USA
    Posts
    40
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: can\'t find OBJ in module

    found problem. Thanks

  3. #3
    Moderator
    Join Date
    Mar 2002
    Location
    Tampa Bay
    Posts
    7,673
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: can\'t find OBJ in module

    mchenreal, you seem to be a good trouble-shooter, but quick to post here before doing so (sometimes twice over).

    As a courtesy to others, perhaps you'd like to explain the solution (in each case).

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 12.50%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 01:47 AM.

Copyright BetaSoft Inc.