Bill L., thanks for the pointer about the icon file directory in Inno
Setup; I looked at that file multiple times for other reasons and just
missed it.  It now works.

I tried instrumenting the code, as you suggested:

========================================================================

myapp_viewdata_button=: 3 : 0
(<'c:/temp/myapp.log') 1!:3~^:DEBUG  CRLF, 'check point 01'
viewdata''
(<'c:/temp/myapp.log') 1!:3~^:DEBUG  CRLF, 'check point 02'
wd'psel myapp;'
(<'c:/temp/myapp.log') 1!:3~^:DEBUG  CRLF, 'check point 03'
wd 'sbarset idstatusrdy 50 Ready'
(<'c:/temp/myapp.log') 1!:3~^:DEBUG  CRLF, 'check point 04'
)

------------------------------------------------------------------------

viewdata =: 3 : 0
(<'c:/temp/myapp.log') 1!:3~^:DEBUG  CRLF, 'check point 01a'
if.
(<'c:/temp/myapp.log') 1!:3~^:DEBUG  CRLF, 'check point 01aa'
(# 'datasheet' names 0)
do.
(<'c:/temp/myapp.log') 1!:3~^:DEBUG  CRLF, 'check point 01b'
grid datasheet
(<'c:/temp/myapp.log') 1!:3~^:DEBUG  CRLF, 'check point 01c'
else.
(<'c:/temp/myapp.log') 1!:3~^:DEBUG  CRLF, 'check point 01d'
wdinfo 'Alert';'Please read legacy data first.'
(<'c:/temp/myapp.log') 1!:3~^:DEBUG  CRLF, 'check point 01e'
end.
)

========================================================================

The log shows

------------------------------------------------------------------------

check point 01
check point 01a
check point 01aa
------------------------------------------------------------------------

and I got the error message.  That says the system crashed at the

(# 'datasheet' names 0)

statement.

That makes no sense to me.

BTW, I changed myapp.ijs to

========================================================================

NB. load jpath'~user\projects\dsm\cilegacy.ijs'
NB. load jpath'~user\projects\dsm\ciform.ijs'
load 'cilegacy.ijs'
load 'ciform.ijs'
ciDSM_run''

========================================================================

in the presumption that it will draw from the pwd.  That probably made
it possible for it to run on someone else's computer, but it
should have no effect on my installation.

Bill

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to