1. Li Mei Weng
  2. PowerBuilder
  3. Wednesday, 18 April 2018 10:18 AM UTC

I use opensheet() but occasionally throw runtime errors.
Closing the program and turned on, it's executed normally.

↓↓↓ My code: ↓↓↓

string ls_prog

w_sheet lw_prog

ls_prog = "w_prog"

try

    Opensheet(lw_prog, ls_prog, frame, 0, Original!)

catch (runtimeerror ex)

    Messagebox('', '['+ls_prog+'] error!')

end try

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 18 April 2018 13:43 PM UTC
  2. PowerBuilder
  3. # 1

Hi Li Mei;

  Can you tell us ....

  • PB Version & build that you are using?
  • Windows O/S version & build
  • Does this problem occur only in the App's EXE?
  • If in EXE, how is it built (m-code, p-code)?
  • What is the exact error when this problem happens?
  • How long has this problem been happening?
  • Any other relevant information?

Regards ... Chris

 

Comment
There are no comments made yet.
Li Mei Weng Accepted Answer Pending Moderation
  1. Wednesday, 18 April 2018 10:19 AM UTC
  2. PowerBuilder
  3. # 2

Not always throw runtime error.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.