Cy
Fri Apr 06 02:14:34 CDT 2007
Gene Wirchenko wrote:
>> Isn't that what testing is supposed to catch before you send the product
>> on to the users? Refox can show you the contents of the exe without
>
> No. Testing can show the presence of bugs, but it can not show
> their absence.
Exactly my point. If you have changed the way the program is being run,
it is YOUR responsibility as the developer to test the application in
the configuration is it expected to run before passing it on to your
users. Frankly every time I have NOT made sure to test the way it will
be run, there has been at LEAST one problem I didn't anticipate that
simply running through the functions just once would have caught and
prevented.
>
> In addition, my user often recompiles though we are moving away
> from that slowly.
>
Having users recompile is IMHO always a bad idea. As a rule of thumb
the user shouldn't even have access to the code, as it just provides to
much chance for them to screw it up. And if there is one thing I have
heard from my/our customers over the years is "don't let us screw it
up". Our customers need to be able to create their own screens. Did we
give them access to the screen builder? No! We took the time to build
our own screen builder and rendering engine. Does it do everything the
VFP does? Of course not, but it also doesn't let them do something that
they shouldn't.
>> actually unpacking them if you want. But other than that if it were an
>> app I believe you can open it as a table (I think?) although I have
>> never tried. I do know that the components are actually in a table in
>> the app or exe but I don't know if VFP can see them as that.
>
> I tried, but did not see anything allowing me to figure out what
> was in the .exe.
If I want to see what's in the EXE I use Refox to open the EXE, it shows
me exactly what actually got into the EXE, no matter what the project
contains or claims.
>
> The problem was due to a difference between running off separate
> files and having a .exe. copy file does not work with files included
> in the project. Instead, I opened the report with use and copied it
> with copy to.
>
[snip]
As I said, exactly the kind of issue that good testing would have caught
before you turned it over. It took me years, but I have finally gotten
my boss to understand that we can spend the time to test it before it
goes out, or spend many times as much time on TA and bug fixes. It's
far more efficient to spend the time on properly testing the code in a
simulated production environment before release than just toss it from
the development machines to the users. Any time we shortcut the process
it comes back to bite us (just like it does every time MS rushes
something out).
Cy Welch
Senior Programmer
MetSYS Inc
http://www.metsysinc.com