> You need to become more familiar with standard debugging techniques. Put your
> cursor in that routine, perhaps on the If statement, and press F9 to set a
[quoted text clipped - 51 lines]
> > Thanks for everything so far.
> > Aehan
Well, I'm glad it's working for you, but that doesn't actually sound like a
solution. Just something that hid the problem. I mean, odds are, if the network is
there that's where the template oughta be loaded from, right?
More likely, the "error" was that the user had a workgroup folder set for templates,
or something like that, rather than the hardcoded default you're using.
But that's really irrelevent. You don't know why the original was failing. You're
just ignoring the failure, waving your hands around a bit, and trying to divert
attention while you pull a sleight of hand trick. I stick by my original advice,
and suggest you become more familiar with debugging techniques and try to develop a
more healthy sense of curiosity. :-)

Signature
.NET: It's About Trust!
http://vfred.mvps.org
> Hi Karl
>
[quoted text clipped - 66 lines]
>>> Thanks for everything so far.
>>> Aehan
Tony Strazzeri - 21 Dec 2007 00:09 GMT
I agree with Karl on the need to actually find and fix the problem.
By swapping the order around you will never access the network drive
so why the question in the first place?
There are several ways to check for the existence of a drive or folder
in a drive have a look at the FSO (File System Object) FolderExists
Method
Looking at your code however I notice that you are not checking for
the existence of thefile you are trying to open. You are only
checking for the existence of the folder it is in. That could be your
problem.
Cheers
TonyS.
> Well, I'm glad it's working for you, but that doesn't actually sound like a
> solution. Just something that hid the problem. I mean, odds are, if the network is
[quoted text clipped - 82 lines]
> >>> Thanks for everything so far.
> >>> Aehan