After browsing through the CookBook this AM on the train, I think I may have found a neat way around this (registering to get the gui).. I'm not sure whether or not I can quote it in full here, but if you have the book you can flip to page 544. Title is "Removing the DOS Shell Window with Windows Perl/Tk"

Basically, you use a seperate perl program to launch the TK window. It makes use of Win32::Process - runs the TK prog as a detached process etc.. kinda fun. I haven't tried this yet but plan to "real soon now" You could then compile into an exe and run the exe to launch the TK app.

If someone tells me that it's alright to quote the CookBook I will post the code here..

<bold>Update:</bold> It works, I have a seperate program to launch a TK app, DOS window flashes and it goes away..

In reply to Re: Re: Tk and windoze by the_slycer
in thread Tk and windoze by toadi

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.