A
AdishTiwari
I am having a old application built in VB6.0 and Access and this application
reads the MS Word electronic claim forms.
I have Office 2007, Now problem is when the electronic claim form is on my
machine, any where on hard drive or memory stick the data transfer is fine.
But , when the electronic claim form is on network location, I get "error 282
- No foreign application responded to DDE initiate". I searched a lot about
this but could not find any concrete solution. It looks like a Office 2007
specific issue because it works fine with 2003 and lower versions.
The piece of code throwing error 282 is :
With frm_Msg.lb_MSWLink
..LinkMode = 0
..LinkTimeout = 100 'set timeout period to 10 seconds
..LinkTopic = "Winword|" & frm_MDIQLAS.cd_datasource.FileName 'set up dde
link to Word document
..LinkItem = sBookMark 'link to Word bookmark
..LinkMode = vbLinkManual 'set up data transfer mode
..LinkRequest 'request data from Word form
..LinkMode = 0
..Caption = Trim(.Caption) 'Unfilled bookmarks come through as spaces. We
don't want them.
End With
Any help on this will be highly appreciated
Thanks
reads the MS Word electronic claim forms.
I have Office 2007, Now problem is when the electronic claim form is on my
machine, any where on hard drive or memory stick the data transfer is fine.
But , when the electronic claim form is on network location, I get "error 282
- No foreign application responded to DDE initiate". I searched a lot about
this but could not find any concrete solution. It looks like a Office 2007
specific issue because it works fine with 2003 and lower versions.
The piece of code throwing error 282 is :
With frm_Msg.lb_MSWLink
..LinkMode = 0
..LinkTimeout = 100 'set timeout period to 10 seconds
..LinkTopic = "Winword|" & frm_MDIQLAS.cd_datasource.FileName 'set up dde
link to Word document
..LinkItem = sBookMark 'link to Word bookmark
..LinkMode = vbLinkManual 'set up data transfer mode
..LinkRequest 'request data from Word form
..LinkMode = 0
..Caption = Trim(.Caption) 'Unfilled bookmarks come through as spaces. We
don't want them.
End With
Any help on this will be highly appreciated
Thanks