M
Mahesh_D
Hi All,
In word-2003 and word-2007 Addin for handling compare functionality, i have
added code like this
pseudo code:
Dim dlg as Word.dialog =
Application.Dialogs(WdWordDialog.wdDialogToolsCompareDocuments)
Dim userAction as Long = dlg.Display()
If (userAction <> 0) Then
' User has clicked OK button
' Do some checks and processing on filenames obtained
dlg.Execute()
End if
Affter popping up the dialog box (wdDialogToolsCompareDocuments) in
Word-2003, Only one file input is required and this file is compared with
existing open document.
After user inputs are given, then in variables (dlg.Name - i get the entered
filename) and so further i can do the processing as i got input information.
While in Word-2007 , it takes 2 files as input it doesn't required any
document to be opened.
After user inputs are provided about 2 filenames, then in variables
(dlg.Name - i am not getting any file names ) , and comparison of files is
shown.
So, the problem is after taking user inputs, i am not getting the input
information in Word-2007.
Any pointers will be helpful.
Thanks
Mahesh
In word-2003 and word-2007 Addin for handling compare functionality, i have
added code like this
pseudo code:
Dim dlg as Word.dialog =
Application.Dialogs(WdWordDialog.wdDialogToolsCompareDocuments)
Dim userAction as Long = dlg.Display()
If (userAction <> 0) Then
' User has clicked OK button
' Do some checks and processing on filenames obtained
dlg.Execute()
End if
Affter popping up the dialog box (wdDialogToolsCompareDocuments) in
Word-2003, Only one file input is required and this file is compared with
existing open document.
After user inputs are given, then in variables (dlg.Name - i get the entered
filename) and so further i can do the processing as i got input information.
While in Word-2007 , it takes 2 files as input it doesn't required any
document to be opened.
After user inputs are provided about 2 filenames, then in variables
(dlg.Name - i am not getting any file names ) , and comparison of files is
shown.
So, the problem is after taking user inputs, i am not getting the input
information in Word-2007.
Any pointers will be helpful.
Thanks
Mahesh