On Thu, 16 Apr 2009, Leigh J Halliwell wrote:
> Dear J Forum:
>
> Yesterday I presented this problem, and Bill Lam tried to be helpful, but to
> no avail. Below is the bare bones of my VBA code in an Excel module. When
> I register J601 (jreg.bat) this works perfectly: J is activated and the ijx
> window is visible. And when I close Excel, J closes too. But when I
> register J602, J is activated, but invisibly. And when I close Excel, the J
> session is still invisibly active. What is different in 602, and what code
> will do what I get it to do in 601? Thanks for your help.
>
> ====================
> Public js As Object
>
> Private Sub auto_open()
> Set js = CreateObject("jexeserver")
> js.Do "0!:0 <1!:45''"
> js.Show 1
> js.Log 1
> End Sub
> ====================
In addition to Chris' suggestion, and if you want a quickfix or the
computer doesn't get the full J installation. This is a quick hack
based on minijx (untested)
replace the line
js.Do "0!:0 <1!:45''"
with this (as a single line)
js.Do "11!:0 'pc ijx closeok;xywh 0 0 300 200;
cc e editijx ws_hscroll ws_vscroll es_nohidesel rightmove bottommove;
pas 0 0;pgroup jijx;pshow'"
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩039 李白 子夜四時歌 春歌
秦地羅敷女 采桑綠水邊 素手青條上 紅妝白日鮮 蠶飢妾欲去 五馬莫留連
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm