Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DDE over a server? or from a different computer?

Status
Not open for further replies.

bebandit

Programmer
Jul 3, 2003
4
US
I am trying to DDE to a PT company(kent2000) on the server. Our PT data and company(kent2000) is located on the server but I get the error:
Foriegn application won't perform DDE application or method

I am using the following code:

quotepage.TextBoxLink.LinkMode = 0
quotepage.TextBoxLink.LinkTopic = "\\Server\C\PEACHW" & "|" & "KENT2000"
quotepage.TextBoxLink.LinkMode = 2
quotepage.TextBoxLink.LinkItem = "PASSWORD"
quotepage.TextBoxLink.Text = "GROVE\PASSWORD" 'a user ID (admin) and its password (peach) in BCS
quotepage.TextBoxLink.LinkPoke

iF ANYONE HAS SUCCESSFULLY DDE 'd over a network or from a different computer, please let me know.
Thanks,
Bebandit
 
I have found that when I use DDE I have to have Peachtree open and the company I want to work with active. I normally use Visual Foxpro so my code is different. I haven't needed to put in more then directory name for the data when opening.

Thinking about it I wrote an assembly management program for a customer in which the data resides on the server and the application runs of work stations. I believe they always did the DDE on the same work station, but it should have worked on any of them.

Bill Couture
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top