--- In [EMAIL PROTECTED], "Unicorn.PC.Support"
<[EMAIL PROTECTED]> wrote:
> HouseDad,
>
> Check your modified path.... Make sure it really exists.
> Run the program in IDE with Break on all errors set.
> Run is the IDE with full compile.
> Matt
Hello Matt!
I was able to get the program semi-functional by removing a
form1.show instruction. I remember having to put that there before
to avoid an error! But, it did the trick, at least partially.
The error showed it's face again, when exiting the program, and
was causing the statistics report that is generated not to be
written. Hours later, I was able to get it to work by inserting a
form1.hide. I wish I had tried it first! These two modifications
alone did not totally solve the problems. I had to move chunks of
code out of the form.initialize routine, set arguments to bypass the
field.change routine anytime fields where changing on the form (not
due to user input), and some other stuff to painful to remember!
The end result is a program that is functional, but you can't
start a new job within the program. You have to exit and relog into
it for every new job (file).
This is where I stopped. This experience has me almost
convinced I need to totally re-write my program using what I have
learned since I initially wrote it. For the purposes of the current
problematic program, it will function, but ALL my other programs of
this type are the SAME program, with only the number of fields
changed, which is the objects on the form.
This "marvelous brainchild" of mine was born after I first
joined this group, and was finding myself writing change and setfocus
routines, among others, for every single field on the form. Most of
the help I got encouraged this behavior, but for the purposes of my
employment that is an unsuitable amount of time. So, I solved the
amount of time it took to have a new program for a new job ready by
taking a new approach. Basically, I use a textbox array and single
routines for change, setfocus, keypress, etc., for the array. So,
the next field is selected by simply adding 1 to the array, previous
field -1, and so on. Field types and ranges are denoted in the TAG
property of the field. It's really a great system that lets me have
a new job ready, in many cases, in under two hours, with the same
great dependability it has shown on previous jobs. The last one had
almost 90 fields. No problem. The "problematic one" has only
three. And only two of those are part of the array. That's the only
big difference I can see offhand between this program and the others.
I have to say again, even to the dismay of some in this group
because of its redundance, I REALLY appreciate the help and advice I
have received from this group. Advice Shawn has given me about
the "dangers" of different OS's behaving differently has showed signs
of surfacing, for instance "freaky" filenames appearing on W95 that
don't on other version of WIN. Also, I am sure some problems I have
encountered has been due to my use of the DATA1 control. The fact of
the matter is, because of the way my job is, I just haven't had the
time to LEARN better ways to program. I program by the seat of my
pants, because that's what I had to do to get a C64 program out of a
magazine to run on a TRS-80 MC-10 that didn't have a single freakin'
software title available to buy for it, ok, it had THREE! THREE! I
had to make my own word processor in a version of basic that didn't
even support ELSE or let you edit a line! You had to retype the
whole line if you made a mistake! Anyway, I haven't even made it all
the way through VB for dummies yet. I checked it out from the
library twice, but I am responsible for several jobs at one time, and
I don't have the time to devote to "learning" unless it's learning
why a specific thing isn't working and how to fix it. I see there's
a discussion involving SQL going on. I know I should rewrite my
programs. But, I don't get any kind of support from my job as for
taking classes or getting paid to learn. I have deadlines. Lots of
them. They come fast and are due fast, and I have to have the
program ready, no time for a class on the theory of how to approach
it. I have you guys! And YOU'RE AWESOME! All of you!
[C]
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~->
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/