Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
hbj hbj is offline
external usenet poster
 
Posts: 35
Default Distributed excel apps with add-ins

I plan to distribute Excel apps in LAN. The apps on the file server
should be accessible from work stations. What would be the best way to
include user xla add-ins. I would prefer to store the add-ins to the
server, to enable me to update them without the trouble to reinstall
them in each workstation.

I have tested one solution, which seems to work: Each application
consists of a list of required add-ins including server path and a
routine which installs and loads them on opening, and unloads before
closing the app. Not yet tested with UNC path.

Ideas appreciated
Håkan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default Distributed excel apps with add-ins

hbj used his keyboard to write :
I plan to distribute Excel apps in LAN. The apps on the file server
should be accessible from work stations. What would be the best way to
include user xla add-ins. I would prefer to store the add-ins to the
server, to enable me to update them without the trouble to reinstall
them in each workstation.

I have tested one solution, which seems to work: Each application
consists of a list of required add-ins including server path and a
routine which installs and loads them on opening, and unloads before
closing the app. Not yet tested with UNC path.

Ideas appreciated
Håkan


I've done this before on a corporate LAN and the only issue I found was
that when the addin is first installed via the Addins dialog on the
workstation Excel prompts the user to copy it to a location on that
workstation. DO NOT DO IT! This way the addin is always stored/run from
the UNC path, making it easier to maintain there rather than having to
update every workstation on the LAN.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


  #3   Report Post  
Posted to microsoft.public.excel.programming
hbj hbj is offline
external usenet poster
 
Posts: 35
Default Distributed excel apps with add-ins

On Dec 29, 8:35*pm, GS wrote:
hbj used his keyboard to write :

I plan to distribute Excel apps in LAN. The apps on the file server
should be accessible from work stations. What would be the best way to
include user xla add-ins. I would prefer to store the add-ins to the
server, to enable me to update them without the trouble to reinstall
them in each workstation.


I have tested one solution, which seems to work: Each application
consists of a list of required add-ins including server path and a
routine which installs and loads them on opening, and unloads before
closing the app. Not yet tested with UNC path.


Ideas appreciated
Håkan


I've done this before on a corporate LAN and the only issue I found was
that when the addin is first installed via the Addins dialog on the
workstation Excel prompts the user to copy it to a location on that
workstation. DO NOT DO IT! This way the addin is always stored/run from
the UNC path, making it easier to maintain there rather than having to
update every workstation on the LAN.

--
Garry

Free usenet access athttp://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


Thank you Garry for your quick reply!
One more question - as you have done this before...
Is it possible to use UNC path (\\myserver\addinpath\myaddin.xla) in
the script to refer to the add-in to install and load? At the moment I
have no server available on which I could test. And, would it require
r/w access or only read access to the server path.

--
Håkan
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default Distributed excel apps with add-ins

hbj presented the following explanation :
On Dec 29, 8:35*pm, GS wrote:
hbj used his keyboard to write :

I plan to distribute Excel apps in LAN. The apps on the file server
should be accessible from work stations. What would be the best way to
include user xla add-ins. I would prefer to store the add-ins to the
server, to enable me to update them without the trouble to reinstall
them in each workstation.


I have tested one solution, which seems to work: Each application
consists of a list of required add-ins including server path and a
routine which installs and loads them on opening, and unloads before
closing the app. Not yet tested with UNC path.
Ideas appreciated
Håkan


I've done this before on a corporate LAN and the only issue I found was
that when the addin is first installed via the Addins dialog on the
workstation Excel prompts the user to copy it to a location on that
workstation. DO NOT DO IT! This way the addin is always stored/run from
the UNC path, making it easier to maintain there rather than having to
update every workstation on the LAN.

--
Garry

Free usenet access athttp://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


Thank you Garry for your quick reply!
One more question - as you have done this before...
Is it possible to use UNC path (\\myserver\addinpath\myaddin.xla) in
the script to refer to the add-in to install and load? At the moment I
have no server available on which I could test. And, would it require
r/w access or only read access to the server path.


I'd use..

sFilename = ThisWorkbook.Path & "\AddinToOpen.xla"

...and make sure all the other addins opened by the main addin are
stored in the same folder as the main addin. This way, it still works
if you decide to relocate/rename the unc folder.

Also, you might not need to actually use XLAs for the sub-addins
because you can save workbooks hidden with their IsAddin property set
to 'True' (similar to what John Walkenback does for his PUP utility
addin which opens/closes files as required when menuitems are clicked).
I use addins with my main addins that work like 'Plugins' that enhance
a core addin app with user-specific features. These are XLAs usually,
but not always. These 'Plugins' are stored in the app XLA's folder and
the app XLA uses ThisWorkbook.Path as described above.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,514
Default Distributed excel apps with add-ins

Correction:
My 'Plugins' are stored in "Drive:\AppFolder\Plugins" and the apps just
iterate that folder to open each file found there. Usually it's just
one file but I have had occasion to use more than one depending on user
permissions to access extra features.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup! comp.lang.basic.visual.misc




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help - Alt-E hotkey does not work in MSOffice apps, no prob in other apps Bob Newheart Excel Discussion (Misc queries) 4 July 28th 08 03:57 PM
How to Enhance Excel as a Distributed Application? Johnno Excel Programming 6 October 31st 07 11:35 AM
Distributed Excel Application Jason Excel Discussion (Misc queries) 1 August 7th 06 06:46 PM
Distributed Excel Application Jason Excel Programming 1 August 7th 06 06:46 PM
Updating distributed Excel applications Michael Malinsky[_3_] Excel Programming 2 May 25th 04 12:47 PM


All times are GMT +1. The time now is 02:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"