I just can't pin this one down.
I have a vb6 app that connects and throws data at a MS Word doc template
that I've pre-created. The doc population works fine (ie a copy of the
template is used and values put into it) and at the end of the process the
doc is displayed to the user, but when the user tries to close the doc or
quit the Word app then **some** users seem to get into a little loop of
asking if they want to update the normal.dot file. They click cancel to the
Save As window, try to close and asked about it again.
This doesn't seem to be version specific, because I've seen the same
app/word template setup on numerous WinXP/Vista/7 machines using Office
2000/2003/2007/2010 and it works fine, but I've got a large preportion of
users who get this annoying loop everytime they call it.
Now from my point of view the only thing I can think it is is that I use a
WordBasic line to manipulate the filename that is displayed when you go to
File/Save As.
This obviously manipulates the properties window and might twiddle the
normal.dot props as well, but why??
I've got access to 3 machines and none of them have generated this kind of
problem.
Is there any sure fire way of stopping this normal.dot cafuffle or should I
drop the WordBasic line to give the PC a chance?
Thanks
The usual reason when someone says "*they* have trouble and I do not",
is that *they* don't have full permissions (can't locate) to find the
default normal.dot and thus creates a new one, but doesn't have
permission to save ... and on it goes.
Have "them" reconfigure the Tools Options in Word - File Locations.
-ralph
"ralph" <nt_cons...@yahoo.net> wrote in message
news:lorer6d3dgvjg2aha...@4ax.com...
>
> The usual reason when someone says "*they* have trouble and I do not",
> is that *they* don't have full permissions (can't locate) to find the
> default normal.dot and thus creates a new one, but doesn't have
> permission to save ... and on it goes.
>
> Have "them" reconfigure the Tools Options in Word - File Locations.
>
Doesn't the Word object model have a property (or something) to basically
tell Word "don't prompt to save the template file"?
I thought it did, but maybe I'm mistaken.
--
Mike
P.S. How the hell do people (original posters) include
microsoft.public.vb.general in their newsgroup list? I always get prompted
that it can't be resolved (but can post regardless). OK, so I sorta answered
my own question, but c'mon OPs...enable that option in your newsreader (and
if your newsreader doesn't have that option, get a better newsreader).
>
>
>"ralph" <nt_cons...@yahoo.net> wrote in message
>news:lorer6d3dgvjg2aha...@4ax.com...
>>
>> The usual reason when someone says "*they* have trouble and I do not",
>> is that *they* don't have full permissions (can't locate) to find the
>> default normal.dot and thus creates a new one, but doesn't have
>> permission to save ... and on it goes.
>>
>> Have "them" reconfigure the Tools Options in Word - File Locations.
>>
>
>
>Doesn't the Word object model have a property (or something) to basically
>tell Word "don't prompt to save the template file"?
>
>I thought it did, but maybe I'm mistaken.
Yes it does and might help.
I was addressing only the situation where a distributed solution
appears to only effect "some users" and is cyclic.
-ralph