msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Run Word Mailmerge from vb6

 
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE Automation
Author Message
Graywolf



Joined: 04 Oct 2007
Posts: 3

PostPosted: Tue Oct 24, 2006 3:09 pm    Post subject: Run Word Mailmerge from vb6 Reply with quote

I need to run a mailmerge in Word from VB6. My application uses an Access
database. I access the data via connection and recordset objects created in
VB6. Can I run a mailmerge using a connection and recordset created in VB6 as
the datasource for the mailmerge? If not, what would be a better way, e.g. a
query stored in Access? And does anyone have some sample code or a code
snippet that would get me started with the mailmerge? Thanks in advance for
any help.

Archived from group: microsoft>public>vb>ole>automation
Back to top
View user's profile Send private message
Dmitriy Antonov



Joined: 04 Oct 2007
Posts: 431

PostPosted: Wed Oct 25, 2006 3:42 am    Post subject: Re: Run Word Mailmerge from vb6 Reply with quote

"Graywolf" wrote in message@microsoft.com...
>I need to run a mailmerge in Word from VB6. My application uses an Access
> database. I access the data via connection and recordset objects created
> in
> VB6. Can I run a mailmerge using a connection and recordset created in VB6
> as
> the datasource for the mailmerge? If not, what would be a better way, e.g.
> a
> query stored in Access? And does anyone have some sample code or a code
> snippet that would get me started with the mailmerge? Thanks in advance
> for
> any help.


Check here, maybe this is what you are asking for:
http://support.microsoft.com/kb/285332

Check References within that article for more links.

Dmitriy.
Back to top
View user's profile Send private message
Graywolf



Joined: 04 Oct 2007
Posts: 3

PostPosted: Wed Oct 25, 2006 12:40 pm    Post subject: Re: Run Word Mailmerge from vb6 Reply with quote

Yeah, this is a big push in the right direction. Thanks Dmitriy!!

"Dmitriy Antonov" wrote:

>
> "Graywolf" wrote in message
> @microsoft.com...
> >I need to run a mailmerge in Word from VB6. My application uses an Access
> > database. I access the data via connection and recordset objects created
> > in
> > VB6. Can I run a mailmerge using a connection and recordset created in VB6
> > as
> > the datasource for the mailmerge? If not, what would be a better way, e.g.
> > a
> > query stored in Access? And does anyone have some sample code or a code
> > snippet that would get me started with the mailmerge? Thanks in advance
> > for
> > any help.
>
>
> Check here, maybe this is what you are asking for:
> http://support.microsoft.com/kb/285332
>
> Check References within that article for more links.
>
> Dmitriy.
>
>
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group