Page 1 of 1 1
Topic Options
#163550 - 2006-06-23 05:12 AM Share the Employee List
Ashpoint Offline
Starting to like KiXtart

Registered: 1999-08-27
Posts: 192
Loc: Sydney, NSW, Australia
My client has created a Staff List of names, phone numbers, addresses and we store that as an Excel (2003) file in the Netlogon share on the server.

In Kix, I have a line (that works) that places the shortcut to the Excel file on each desktop

Code:
 

;******************** System Wide Staff List *********************
COPY "\\" + $HomeServer + "\Netlogon\" + $StaffListLnk $DocsPath + $UserID + $DeskTop + $StaffListLnk




In use, however, the users get a message that "Excel cannot access "Stafflist.xls". The document may be read only or encrypted"

Clearly there is a sharing error with the file and probably an Excel problem - not a Kix one.

However, I am sure others may have had a similar situation (publishing an employee directory) and I would be really interested in comment.

Top
#163551 - 2006-06-23 06:27 AM Re: Share the Employee List
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Quote:

My client has created a Staff List of names, phone numbers, addresses and we store that as an Excel (2003) file in the Netlogon share on the server.





If memory serves, it is considered poor practice in placing the Excel file on the NetLogon Share unless you want to grant rights to the users.. It would be better to be copied to an Application Server. One of the things that Excel does when you open it with Excel, is that it creates copies of the file you are working on in the same directory you are working in, especially when saving. If you ever have an Excel file crash, there is an opportunity to get the file it was working with, rename it and use it (I have personally seen this!) So, placing this on the Netlogon of the login server won't work.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#163552 - 2006-06-23 08:08 AM Re: Share the Employee List
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
In one of my former employments we had the same concept, and I placed it in a read only share on the file server, and made sure that the backup folder for excel was set to something they had rights to (generally speaking //home/excel)

Another option would be to put it in their home folder and then "robocopy" the master each night, so no matter what they got a copy of the master.

Many different options, just depends what works for you.
_________________________
Today is the tomorrow you worried about yesterday.

Top
#163553 - 2006-06-23 08:38 AM Re: Share the Employee List
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
In your short cut, try the following excel switches:
/r Open the file in read only
/p "%TEMP%" Set the CWD to %TEMP%

Top
#163554 - 2006-06-23 02:39 PM Re: Share the Employee List
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Richard,
To use those switches you need to actually link directly to the \Program Files\...\excel.exe which can get dicey if the shortcut is just copied and not generated individually for each machine.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#163555 - 2006-06-23 03:22 PM Re: Share the Employee List
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
True - if the technique works you'd need to modify/create the shortcut to open the file using the local install path of excel rather than just copying a static link file.
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
1 registered (mole) and 2107 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.057 seconds in which 0.026 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org