Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving a template onto a network part 2

Status
Not open for further replies.

dunce

Automotive
Aug 28, 2004
3
Many thanks to Laffalot for your tip, I have tried saving the template onto a floppy disc and loading it onto one of the other pc's on the network and it came up with a file/path error. So I thought I would be clever and E mail it as an attachment to the other pc's. When I opened the mail on one of the other pc's I discovered the control toolbox was open again and the template was in design mode! I have also discovered if I just copy the template from the template folder of my pc onto the desktop of my pc, again the control toolbox opens in the copy, but not when opened from the template folder. I have also e mailed it as an attachment to my home pc and it works perfectly! I cannot understand why a copy opens the control toolbox but the original doesnt, even on the same pc and yet if I e mail it to my home pc it works! Any more suggestions would be very welcome.
 
Replies continue below

Recommended for you

Hello Again,

I still think the problem is a path error.
As it works only from the template directory of your machine and not from the desk top then it may well be relative instead of absolute addressing.

In case you're not familiar with this then a quick explanation.
Absolute addressing :- gives the full path from the root drive to the actual file.
Relative addressing :- gives the address of the file relative to the position from where the calling file is.
As an example if a file in the c:\abc directory wanted to access a file called xyz.dll in the c:\abc\123 directory,
absolute addressing would be c:\abc\123\xyz.dll. Relative address in would just be \123\xyz.dll.
Now if your using relative addressing and you move it to any other directory (even the desktop on your own machine) then you'll get file not found blah blah blah and the PC will go into the design mode and point to the errant piece of code. Have a look and see what piece of code is causing the problem.

If this is the case then make sure all references use absolute addressing when pointing/ calling other files that way they'll be machine independent.

I suspect when you can get the template to work on your own machine from the desktop it will work on the other machines.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor