Glenn,

Correct but if I put the Version Number in the name.
Which I do as I create it but I put in on the server with the root name.

I.E.  File name When the program is created = root_name.v#.#.exe
File name when put on the server = root_name.exe

Some of my users are Dialup and if I had the program read the files in this
directory and then parse the output of the exe name to determine the version
of the file.  This could cause the start up of the program to be very slow
considering it is a netbios share to the server.

If the file name is always the same then it is one cmd to the server to
retreve the info.
If I do a list of the files in the dir then it is two cmd's.
I know that this does not seem to be that much of a difference but one
command over a dialup connection is a lot faster than two.

Thanks again for the help.

Like I said below I think I will just have to keep using the File with the
Version info in it.

Jimmy

-----Original Message-----
From: Glenn Linderman [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 4:51 PM
To: Jimmy Bodkin
Cc: [EMAIL PROTECTED]
Subject: Re: GUI output and CMD line output


On approximately 2/5/2004 11:32 AM, came the following characters from
the keyboard of Jimmy Bodkin:
> Glenn,
>
> Sorry about not giving all the info.
>
> Here is the lay out of the work environment.
>
> LAN/WAN environment, individual PC's.
> Application is run local on each PC
> Latest version is on a Central Server that everyone has access to.
> Currently the application connects to the server and reads a Version file
to
> determine the latest release of Code.

Right, and a separately updated version file was avoided in my scheme of
putting the version in the filename.  This separately updated version
file sounded like it was problematical to you in one of your messages.

> If the latest version is newer than the Version the user is running they
are
> prompted with a upgrade now/cancel option.
>
>
> I have all the above working.
> The trouble I have is that I want to run the application with a -v option
> and the application will tell the user its Version number.
>
> I now believe that there is no way I can do this if I want to use
the --gui
> option to create the exe.

If you really want to tell the USER its version number, Win32::MsgBox
could be the answer, like I first suggested.

But it sounded like you wanted to tell some _program_ the version number
via STDOUT.  That may not be possible, together with the --gui option,
because --gui causes there not to be a STDOUT.

> Thanks to all for the assistance
>
> Jimmy
>
> -----Original Message-----
> From: Glenn Linderman [mailto:[EMAIL PROTECTED]
>
>
>

--
Glenn -- http://nevcal.com/
===========================
The best part about procrastination is that you are never bored,
because you have all kinds of things that you should be doing.

Reply via email to