Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Hiding console window
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 1st April 12:21
rexx guy
External User
 
Posts: 1
Default Hiding console window



I am experimenting with RexxTK and come up with a problem: Is there really
no way of hiding the ugly console window when starting a REXX program under
Regina REXX (Windows XP)?
  Reply With Quote


  sponsored links


2 1st April 12:21
mark v
External User
 
Posts: 1
Default Hiding console window



I don't know but if you find any good do***entation ("for dummies") and
examples on RexxTK and TCL, please post. I've tried and given up twice
on RexxTK but mostly because I don't know TCL.
  Reply With Quote
3 1st April 12:21
ptjm
External User
 
Posts: 1
Default Hiding console window


% I am experimenting with RexxTK and come up with a problem: Is there really
% no way of hiding the ugly console window when starting a REXX program under
% Regina REXX (Windows XP)?

The problem is that regina runs as a console app -- what you need is an
equivalent program that runs as a windows app. For instance, wegina,
which you can get from my ridiculous web page http://www.interlog.com/~ptjm.

--

Patrick TJ McPhee
East York Canada
ptjm@interlog.com
  Reply With Quote
4 1st April 12:21
rexx guy
External User
 
Posts: 1
Default Hiding console window


Only examples I have are the ones that came with the RexxTK package. So
far, things look pretty straight forward. I think the best way to get
started is to play around with the same code and mess around with it.


Me neither. In fact, I barely heard of the term "TCL" before this. I
followed this path when I started searching for an easy way for me to
write a graphics program. Landed on the ACL site but their package
requires a per-seat usage license (and a developer lic). So, I kept
looking and then found RexxTK.

But that console window is really a problem if I were to start using this...
  Reply With Quote
5 1st April 12:21
rexx guy
External User
 
Posts: 1
Default Hiding console window


Okay, so that's what wegina is....

Thanks,
  Reply With Quote
6 1st April 12:21
rexx guy
External User
 
Posts: 1
Default Hiding console window


Well, since every one-line program contains at least one bug, may be I
am encountering one here (most likely caused by Mickysoft).

I extracted the wegina.exe to the regina directory (checked and the
regina directory is in the path and regina.dll is there), named the
rexxtk file to .wex and then associate wegina.exe with the filetype
..wex. Doubled clicked on the .wex file - and violla: nothing happens. :-)

Running XP, FP1.

Regards,
  Reply With Quote
7 1st April 12:21
rexx guy
External User
 
Posts: 1
Default Hiding console window


Oh, sorry.

Removed the association again, cleaned the registry and started over
again. Now, it works. But the regina.exe console window is still
there....
  Reply With Quote
8 1st April 12:21
rexx guy
External User
 
Posts: 1
Default Hiding console window


Something is screwy with this. I assume this is something Mickymouse is
doing. If I invoke wegina.exe from the command line, works fine - no
console window, no strange behavior. But if I try to open from explorer
by file extension association, then, it either opens the wrong
application to handle it (like the editor, or even Adobe). I did get it
to start regina.exe once and then the console window is still there.
  Reply With Quote
9 1st April 12:22
ptjm
External User
 
Posts: 1
Default Hiding console window


% doing. If I invoke wegina.exe from the command line, works fine - no
% console window, no strange behavior. But if I try to open from explorer
% by file extension association, then, it either opens the wrong
% application to handle it (like the editor, or even Adobe). I did get it
% to start regina.exe once and then the console window is still there.

Have a look at the registry entry for

HKEY_CLASSES_ROOT/.wex

and see if it looks sensible. Compare it to the entry for .rex, for instance.
--

Patrick TJ McPhee
East York Canada
ptjm@interlog.com
  Reply With Quote
10 1st April 12:22
rexx guy
External User
 
Posts: 1
Default Hiding console window


The one for .wex is a single folder - no sub-branches with just:

Name: Default
Type: REG_SZ
Data: wex_auto_file

I don't have an entry for .rex and the one for .rexx is empty as well.

I do have a .wex entry in a different place. Under HKEY_USERS ...
Mickeysoft -> software, there is an entry for .rex with application
pointing to B.EXE - whatever that is...
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666