4 Replies Latest reply on Jan 13, 2014 12:59 AM by Jeff_Young

    Win_Api_Shell.SendKeys() raised NO_DATA_FOUND

    Jeff_Young

      When I used the d2kwutil Win_Api_Shell.SendKeys() function to simultate a keybord,it always raised the error NO_DATA_FOUND,my code is as follows,


      Begin

      Go_item('CUXHR.IT_PASTE');
      win_api_shell.sendkeys(get_window_property(FORMS_MDI_WINDOW,window_handle),'^V',TRUE);

      END;

       

      A strange thing is that,the result of  " get_window_property(FORMS_MDI_WINDOW,window_handle) " is 0,which one can help me?Many thanks!