FP2000 VBA

J

Joe Bass

I am using withevents in FP2000 VBA and the events kick
off as they should. The problem is when I publish to the
server it does not work.
Is there a way to Enable Events on the server or run my
macro when the first page opens?
 
L

Lisa Wollin \(Microsoft\)

Joe,

Macros are stored locally on FrontPage users' machines. If what you want
really is a macro and you want to share it among others who are also working
with a FrontPage Web site, you will need to copy the macro file to each
users' machine. You can do this by copying the file in which the macro is
stored to each machine on which you want it available. The following
paragraph (taken from the FP 2002 SDK) tells you the filename and location
for FrontPage macros.

<quote>
Macros are stored on your local computer, so when you close FrontPage, any
macros that you were working on are saved to a file called Microsoft
FrontPage.fpm in the FrontPage macros folder. On computer running Microsoft
Windows 2000, this is usually C:\Documents and Settings\[user
name]\Application Data\Microsoft\FrontPage\Macros.
</quote>

Keep in mind that if any user already has this file and has created their
own macros, replacing their file with yours will cause them to lose their
own macros. A better alternative might be to package the macro in an addin.
For more information about how to do this, see the FrontPage 2002 SDK at
http://msdn.microsoft.com/library/d...en-us/fpsdk2002/html/GettingStarted_About.asp.

Lisa
Programmer Writer
Microsoft Corporation
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top