Dear List Member,
We are trying to reading certain cells(e.g.R1C1) of the Excel file (ddetest.xls) in a Visual basic application's Textbox through DDE. I have defined the LinkTopic as Excel |Sheet1 and LinkItem as R1C1 we have not been successful in getting the value through DDE in the VB application. The error indicated is "NO FOREIGN APPLICATION RESPONDED TO A DDE iNITIATE".
Can anybody provide us any pointers in this direction? Are we missing out any settings in the EXCEL or VB applications
Any help in this is highly appreciated.
Thanks & Regards
Sandeep Shroff
___________________________________
Sandeep Shroff
Sr. Consultant
Remote & Embedded Technologies
rapidEffect (P) Ltd. 25, Napier Road, Pune 411001, India
Tel./Fax. +91-20-6363250
www.rapideffect.com
__________________________________________________
Web-intelligent solutions for enhanced ROI - get WISER with rapidEffect!
We are trying to reading certain cells(e.g.R1C1) of the Excel file (ddetest.xls) in a Visual basic application's Textbox through DDE. I have defined the LinkTopic as Excel |Sheet1 and LinkItem as R1C1 we have not been successful in getting the value through DDE in the VB application. The error indicated is "NO FOREIGN APPLICATION RESPONDED TO A DDE iNITIATE".
Can anybody provide us any pointers in this direction? Are we missing out any settings in the EXCEL or VB applications
Any help in this is highly appreciated.
Thanks & Regards
Sandeep Shroff
___________________________________
Sandeep Shroff
Sr. Consultant
Remote & Embedded Technologies
rapidEffect (P) Ltd. 25, Napier Road, Pune 411001, India
Tel./Fax. +91-20-6363250
www.rapideffect.com
__________________________________________________
Web-intelligent solutions for enhanced ROI - get WISER with rapidEffect!
Sandeep,
Try this:
Private Sub Form_Load()
Text1.LinkTopic = "Excel|Sheet1"
Text1.LinkItem = "R1C1"
Text1.LinkMode = vbLinkAutomatic
End Sub
As a side note, I would highly advise against using VB's built-in support for DDE. I have found it to be very unreliable and unsuitable
for industrial applications. I have had very good luck using an ActiveX control from RHA Minisystems to handle DDE.
Refer to "http://www.angelfire.com/biz/rhaminisys/":http://www.angelf ire.com/biz/rhaminisys/ , which also has an excellent DDE FAQ. (I am not affiliated with RHA Minisystems in any way.)
Good luck!
Brady A. Johnson
Software Engineer
baj@abedeensw.com
Aberdeen Software Works
www.aberdeensw.com
Try this:
Private Sub Form_Load()
Text1.LinkTopic = "Excel|Sheet1"
Text1.LinkItem = "R1C1"
Text1.LinkMode = vbLinkAutomatic
End Sub
As a side note, I would highly advise against using VB's built-in support for DDE. I have found it to be very unreliable and unsuitable
for industrial applications. I have had very good luck using an ActiveX control from RHA Minisystems to handle DDE.
Refer to "http://www.angelfire.com/biz/rhaminisys/":http://www.angelf ire.com/biz/rhaminisys/ , which also has an excellent DDE FAQ. (I am not affiliated with RHA Minisystems in any way.)
Good luck!
Brady A. Johnson
Software Engineer
baj@abedeensw.com
Aberdeen Software Works
www.aberdeensw.com
Hi !
I just want to tell you that in VS.NET they have removed DDE. So if you want your app to evolve try something else. But on the other hand a DDE comm. is very simple to set up !
/Mathias
I just want to tell you that in VS.NET they have removed DDE. So if you want your app to evolve try something else. But on the other hand a DDE comm. is very simple to set up !
/Mathias
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2010 Nerds in Control, LLC. All rights reserved.
Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.
Fortune
Signs of crime: screaming or cries for help.
-- from the Brown Security Crime Prevention Pamphlet







