1. Questions/Problems

* How does one close a DOS box after it's "Finished" - behaviour of
"system_exec()"
* The icon I assign in an exw, setIcon(), doesn't display in the switch
application dialog, ie, using ALT-TAB.  What do I do to fix this?
* Is it possible to embed an icon into an exe?
* Anybody create an installation program in euphoria?  If not, what is a
good installation program to distribute apps?
* Dragging an ".EXW" file on top of a "EXW.EXE" shortcut on the desktop
doesn't produce the bitmap for a button, yet,  running "EXW.EXE" from an
MS-DOS prompt does.  Anything I should concern myself with?
* deleteItem() does return a value, contrary to the win32lib HTML help . . .
I was pulling my hair out on this one!!! blink

new topic     » topic index » view message » categorize

2. Re: Questions/Problems

Ok, I'll answer what I can...

> * How does one close a DOS box after it's "Finished" - behaviour of
> "system_exec()"

After what's finished? Your program?

> * The icon I assign in an exw, setIcon(), doesn't display in the switch
> application dialog, ie, using ALT-TAB.  What do I do to fix this?
> * Is it possible to embed an icon into an exe?

David Cuny wrote a program to bind files to your exe:

http://www.rapideuphoria.com/cgi-bin/search.cgi?keywords=Resource+Binder

> * Anybody create an installation program in euphoria?  If not, what is a
> good installation program to distribute apps?

There is one for dos:

http://www.rapideuphoria.com/cgi-bin/search.cgi?keywords=EuSetup+Install+Program

But assuming you want windows then I'd recommend GKSetup:

http://www.gkware.com/

I've used it and it's very easy to use, works well and is free :)

Also, I've heard a lot of good things about Inno setup, it allows you
to create much more complicated setups then gksetup:

http://www.jrsoftware.org/isinfo.htm

> * Dragging an ".EXW" file on top of a "EXW.EXE" shortcut on the desktop
> doesn't produce the bitmap for a button, yet,  running "EXW.EXE" from an
> MS-DOS prompt does.  Anything I should concern myself with?
> * deleteItem() does return a value, contrary to the win32lib HTML help . . .
> I was pulling my hair out on this one!!! blink

Can't help you with these two, sorry :|

Thomas Parslow (PatRat) ICQ #:26359483
Rat Software
http://www.rat-software.com/
Please leave quoted text in place when replying

new topic     » goto parent     » topic index » view message » categorize

3. Re: Questions/Problems

----- Original Message ----- 
From: <jjnick at cvn.com>

> * Anybody create an installation program in euphoria?  If not, what is a
> good installation program to distribute apps?

Setup Generator from http://www.gentee.com works great, and is free!

Regards,
Irv

new topic     » goto parent     » topic index » view message » categorize

4. Re: Questions/Problems

Good morning!  (Well, in my dusty little corner of the planet, anyway ...)


>* How does one close a DOS box after it's "Finished" - behaviour of
>"system_exec()"

Have you tried free_console()?

>* The icon I assign in an exw, setIcon(), doesn't display in the switch
>application dialog, ie, using ALT-TAB.  What do I do to fix this?

Each window actually has two icons, a "large" icon, and a "small" icon.  At
present,
win32lib.ew only sets one of these, which is why you see the standard
IDI_APPLICATION icon in ALT
+ TAB.  To fix this, be sure to use setIcon() first.  Then:

object xVOID

    xVOID = sendMessage(yourWindow, 127, 0, 0)     -- 127 = WM_GETICON
    xVOID = sendMessage(yourWindow, WM_SETICON, 1, xVOID)

That will synchronize them.


>* Is it possible to embed an icon into an exe?

bindw has a flag -icon, which embeds the icon onto the bound executable.  More
information about
this is in the standard documentation file, bind.htm.

>* Dragging an ".EXW" file on top of a "EXW.EXE" shortcut on the desktop
>doesn't produce the bitmap for a button, yet,  running "EXW.EXE" from an
>MS-DOS prompt does.  Anything I should concern myself with?

When you go to the .exw file using the prompt, you probably *cd* there, which
makes your exw
file's directory the current directory.  However, when dropping the file onto
the exw shortcut,
more than likely the current directory is then c:\windows.  Thus, if setBitmap()
for the button
uses a relative filename, the file might not be found.

Using the command_line() function, and looking at the path on the running file's
name (the second
element of the sequence returned by command_line()), you can figure out the
running file's home
directory and then use chdir() to make it the current directory.

>* deleteItem() does return a value, contrary to the win32lib HTML help . . .
>I was pulling my hair out on this one!!! blink

That happens a lot in win32lib.ew.  Derek, why is this a function, and what is
the return value?

-- Travis --

new topic     » goto parent     » topic index » view message » categorize

5. Re: Questions/Problems

----- Original Message ----- 
From: "Travis Beaty" <travisbeaty at arn.net>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Questions/Problems


> 
> >* How does one close a DOS box after it's "Finished" - behaviour of
> >"system_exec()"
> 
> Have you tried free_console()?

;-P````, No!!! Thanks alot . . .

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu