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 

History of Word documents

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise
Author Message
John



Joined: 04 Oct 2007
Posts: 12

PostPosted: Sun Sep 21, 2003 6:35 am    Post subject: History of Word documents Reply with quote

Hi

My users have option to open word documents from within my vb app. Is it
possible to make an entry into one of my backend access tables if the user
saves the word document?

Thanks

Archived from group: microsoft>public>vb>enterprise
Back to top
View user's profile Send private message
xyz



Joined: 04 Oct 2007
Posts: 12

PostPosted: Mon Sep 22, 2003 3:36 pm    Post subject: Re: History of Word documents Reply with quote

Yes,

Decalre your (Word) variable WithEvents
(Private WithEvents obj As Word.Application)
You'll now have the events:

Private Sub obj_DocumentBeforeSave(ByVal Doc As Word.Document, SaveAsUI As
Boolean, Cancel As Boolean)

End Sub

Private Sub obj_DocumentChange()

End Sub

and much more..

Kope it helps,


"John" wrote in message#fDHA.2352@TK2MSFTNGP09.phx.gbl...
> Hi
>
> My users have option to open word documents from within my vb app. Is it
> possible to make an entry into one of my backend access tables if the user
> saves the word document?
>
> Thanks
>
>

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise 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