Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / October 2004

Tip: Looking for answers? Try searching our database.

Can I trap Publisher 2003 mailmerge events from within a VB.NET application??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark - 18 Oct 2004 17:09 GMT
I'd like to develop a VB.NET application that creates a Publisher 2003
application object, opens a document and performs a mailmerge.  However, I
need to update a database for each record that is "mailmerged".  Is this
possible?  Does publisher throw an event for each record that is merged?  Or
am I on the wrong track.

The reason VB.NET is part of the equation is because I want them to do this
from within their main application (which is written in VB.NET).

Thanks for any assistance.

Mark
Wei-Dong XU [MSFT] - 19 Oct 2004 06:40 GMT
Hi Mark,

"However, I need to update a database for each record that is "mailmerged"."
Could you be so kind to tell me more detailed inforamtion regarding what
you are going to do? Appreciate in advance!

For performing the Event sink with Office application in VB.net, I'd
suggest this kb article will provide some assistance for you.  
302816 How To Handle Events for Microsoft Word Using Microsoft Visual Basic
.NET
http://support.microsoft.com/?id=302816

In addition, there are two events from Publisher regarding the Mailmerge
record:   MailMergeBeforeRecordMerge  and  MailMergeAfterRecordMerge Event.
If they are fit for your scenario, you can sink them and perform the
corresponding operation.

Please feel free to let me know if you have any question.

Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Signature

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Yan-Hong Huang[MSFT] - 21 Oct 2004 04:20 GMT
Hello Mark,

I was reviewing the issue thread. Is the problem resolved? If there is any
unclear, please feel free to post in the group and we will follow up.

Thanks very much.

Best regards,
Yanhong Huang
Microsoft Community Support

Get Secure! ?C www.microsoft.com/security
Register to Access MSDN Managed Newsgroups!
-http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.as
p&SD=msdn

This posting is provided "AS IS" with no warranties, and confers no rights.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.