Discussion:
Office Add-Ins (Word)/Templates/Excel?
(too old to reply)
DMc2004
2007-10-29 09:07:00 UTC
Permalink
Hi

Currently trying to develop some Addins/Templates for Microsoft Word.
Basically I am having problems with getting the ideal functionality that I
would like to use.

I am using Microsoft Office 2003 Professional and Visual Studio Tools for
Office 2005 on a Windows XP Professional System.

I know how to create templates within Microsoft Word and also know how to
create Add-Ins for Microsoft Excel using VBA.

My first question is why can you code events with Add-Ins with Excel, for
example as soon as the workbook opens you activate a form. But with Templates
within Microsoft Word none of the Document_Open and AutoExec events seem to
work?

My next question relates to Visual Studio Tools for Office. I have tried to
develop an Add-In for Word and when I try to register the DLL I get the error
message:

demo.dll was loaded, but the DllRegisterServer entry point was not found.
This file cannot be registered.

What exactly is wrong?
Doug Robbins - Word MVP
2007-10-29 09:47:39 UTC
Permalink
To have something happen when a document is created from a template, the
macro needs to be named Autonew. Or, in the Document_New event.
--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
Post by DMc2004
Hi
Currently trying to develop some Addins/Templates for Microsoft Word.
Basically I am having problems with getting the ideal functionality that I
would like to use.
I am using Microsoft Office 2003 Professional and Visual Studio Tools for
Office 2005 on a Windows XP Professional System.
I know how to create templates within Microsoft Word and also know how to
create Add-Ins for Microsoft Excel using VBA.
My first question is why can you code events with Add-Ins with Excel, for
example as soon as the workbook opens you activate a form. But with Templates
within Microsoft Word none of the Document_Open and AutoExec events seem to
work?
My next question relates to Visual Studio Tools for Office. I have tried to
develop an Add-In for Word and when I try to register the DLL I get the error
demo.dll was loaded, but the DllRegisterServer entry point was not found.
This file cannot be registered.
What exactly is wrong?
DMc2004
2007-10-29 10:06:00 UTC
Permalink
This is okay but....

In an Excel Add-In i could create a custom prodecure that could create a
toolbar as soon as the application starts and and customises itself to the
users profile. ie hiding buttons that are not needed, using dots I can not
seem to do this. (even placing in the Startup folder.
Post by Doug Robbins - Word MVP
To have something happen when a document is created from a template, the
macro needs to be named Autonew. Or, in the Document_New event.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Post by DMc2004
Hi
Currently trying to develop some Addins/Templates for Microsoft Word.
Basically I am having problems with getting the ideal functionality that I
would like to use.
I am using Microsoft Office 2003 Professional and Visual Studio Tools for
Office 2005 on a Windows XP Professional System.
I know how to create templates within Microsoft Word and also know how to
create Add-Ins for Microsoft Excel using VBA.
My first question is why can you code events with Add-Ins with Excel, for
example as soon as the workbook opens you activate a form. But with Templates
within Microsoft Word none of the Document_Open and AutoExec events seem to
work?
My next question relates to Visual Studio Tools for Office. I have tried to
develop an Add-In for Word and when I try to register the DLL I get the error
demo.dll was loaded, but the DllRegisterServer entry point was not found.
This file cannot be registered.
What exactly is wrong?
Doug Robbins - Word MVP
2007-10-29 19:37:31 UTC
Permalink
Certainly can. See the article "Toolbars and Word 2007" on fellow MVP
Graham Mayor's website at:

http://www.gmayor.com/Toolbars_in_word_2007.htm

Don't be put off by the reference to 2007 in the title. The article
contains detailed instructions for creating toolbars in earlier versions
(which can then be made use of in 2007.
--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
Post by DMc2004
This is okay but....
In an Excel Add-In i could create a custom prodecure that could create a
toolbar as soon as the application starts and and customises itself to the
users profile. ie hiding buttons that are not needed, using dots I can not
seem to do this. (even placing in the Startup folder.
Post by Doug Robbins - Word MVP
To have something happen when a document is created from a template, the
macro needs to be named Autonew. Or, in the Document_New event.
--
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
Post by DMc2004
Hi
Currently trying to develop some Addins/Templates for Microsoft Word.
Basically I am having problems with getting the ideal functionality that I
would like to use.
I am using Microsoft Office 2003 Professional and Visual Studio Tools for
Office 2005 on a Windows XP Professional System.
I know how to create templates within Microsoft Word and also know how to
create Add-Ins for Microsoft Excel using VBA.
My first question is why can you code events with Add-Ins with Excel, for
example as soon as the workbook opens you activate a form. But with Templates
within Microsoft Word none of the Document_Open and AutoExec events
seem
to
work?
My next question relates to Visual Studio Tools for Office. I have
tried
to
develop an Add-In for Word and when I try to register the DLL I get the error
demo.dll was loaded, but the DllRegisterServer entry point was not found.
This file cannot be registered.
What exactly is wrong?
Doug Robbins - Word MVP
2008-01-25 10:06:30 UTC
Permalink
That was not posted by me.
--
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
This
has been owned in awakening sinners, engaging them earnestly to seek the
same blessing, and in quickening saints. Though I have thought that a
minister declaring his judgment about particular persons' experiences,
might from these things be justified; yet I often signify to my people
how unable man is to know another's heart, and how unsafe it is to
depend merely on the judgment of others. I have abundantly insisted,
that a manifestation of sincerity in fruits brought forth, is better
than any manifestation they can make of it in words alone: and that
without this, all pretences to spiritual experiences are vain. This all
my congregation can witness. And the people in general have manifested
an extraordinary dread of being deceived; being exceeding fearful lest
they should build wrong. Some of them have been backward to receive
hope, even to a great extreme, which has occasioned me to dwell longer
on this part of the narrative.
Conversion is a great and glorious work of God's power, at once changing
the heart, and infusing life into the dead soul; though the grace then
implanted more gradually displays itself in some than in others. But a
Doug Robbins - Word MVP
2008-01-25 10:07:27 UTC
Permalink
I also did not post that.
--
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP
in my acquaintance with her since to confirm it.
Though the work was glorious, yet I was filled with concern about the
effect it might have upon others. I was ready to conclude (though too
rashly), that some would be hardened by it in carelessness and looseness
of life; and would take occasion from it to open their mouths in
reproaches of religion. But the event was the reverse, to a wonderful
degree. God made it, I suppose, the greatest occasion of awakening to
others, of any thing that ever came to pass in the town. I have had
abundant opportunity to know the effect it had, by my private
conversation with many. The news of it seemed to be almost like a flash
of lightning, upon the hearts of young people, all over the town, and
upon many others. Those persons amongst us, who used to be farthest from
seriousness, and that I most feared would make an ill improvement of it,
seemed to be awakened with it. Many went to talk with her, concerning
what she had met with; and what appeared in her seemed to be to the
satisfaction of all that did so.
Presently upon this, a great and earnest concern about the great things
of religion and the eternal world, became universal in all parts of the
town, and among persons of all degrees, and all ages. The noise amongst
the dry bones waxed louder and louder; all other talk but about
spiritual and eternal things, was soon thrown by; all the conversation,
in all companies and upon all occasions, was upon these things only,
unless
Rob Chandler [MVP]
2008-01-26 08:44:53 UTC
Permalink
Doug its happening through all the Newsgroups. We are ALL being spoofed :-(
Lets hope this guy finds something else to occupy his time soon.
Rob
--
Rob Chandler
MS Help MVP
http://helpware.net
Post by Doug Robbins - Word MVP
I also did not post that.
--
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
in my acquaintance with her since to confirm it.
Though the work was glorious, yet I was filled with concern about the
effect it might have upon others. I was ready to conclude (though too
rashly), that some would be hardened by it in carelessness and looseness
of life; and would take occasion from it to open their mouths in
reproaches of religion. But the event was the reverse, to a wonderful
degree. God made it, I suppose, the greatest occasion of awakening to
others, of any thing that ever came to pass in the town. I have had
abundant opportunity to know the effect it had, by my private
conversation with many. The news of it seemed to be almost like a flash
of lightning, upon the hearts of young people, all over the town, and
upon many others. Those persons amongst us, who used to be farthest from
seriousness, and that I most feared would make an ill improvement of it,
seemed to be awakened with it. Many went to talk with her, concerning
what she had met with; and what appeared in her seemed to be to the
satisfaction of all that did so.
Presently upon this, a great and earnest concern about the great things
of religion and the eternal world, became universal in all parts of the
town, and among persons of all degrees, and all ages. The noise amongst
the dry bones waxed louder and louder; all other talk but about
spiritual and eternal things, was soon thrown by; all the conversation,
in all companies and upon all occasions, was upon these things only,
unless
Loading...