Re: code to copy files
From: Charles Kenyon (msnewsgroup_at_remove.no.spam.addbalance.com)
Date: 02/13/04
- Next message: Jezebel: "Re: Preventing doc closing"
- Previous message: Word Heretic: "Re: Q: Application.GetAddress"
- Maybe in reply to: zSplash: "Re: code to copy files"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 12 Feb 2004 19:34:43 -0600
This is better done in the (Windows?) network login script. That will be
executed before Word is loaded. Put your Add-In in a network folder (not the
Workgroup Templates folder!) to which users have read-only access. The
script should automatically copy it to the local startup folder each time
the user logs into the network - if the network copy is newer than the
stored copy. I don't know how to write these scripts, just know they exist.
In a batch file, the DOS XCOPY or XXCOPY commands can handle this easily.
-- Charles Kenyon See the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "zSplash" <zNOSPAMSplash@ gci.net> wrote in message news:OGVBuonyDHA.2568@TK2MSFTNGP09.phx.gbl... > MyAddin is stored on a server, but is copied to an Addin directory on each > PC. I want to be able to copy MyAddin using VBA code, but when I try to do > it using the VB editor, everything I do when I minimize the Word app is > "ignored". (I always cheat and use the editor to "get the hang" of what I'm > trying to code.) > > In olden times, I woulda written a shell script, made it executable, and > then just executed it. Can I do something similarly in VBA code? > > TIA > >
- Next message: Jezebel: "Re: Preventing doc closing"
- Previous message: Word Heretic: "Re: Q: Application.GetAddress"
- Maybe in reply to: zSplash: "Re: code to copy files"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|