Hello everyone!
Did anyone figure out how to use a DDE call to set or get a value out of SC? I know how to use the functions in SC to do things (The SetFocus function works fine), but I cant get the SetValue or GetValue functions to work.
Code is as follows:
DDE_Link = DDEInitiate("ServiceCenter", "Actions")
DDEExecute DDE_Link, "[SetFocus(""article.id"")]"
DDEExecute DDE_Link, "[SetValue(""article.id"",""123"")]"
Temp=DDEExecute (DDE_Link, "[GetValue(""article.id"")]")
msgbox Temp
DDETerminate DDE_Link
It will set the focus to the right place but then generate an error with the application. And the GetValue will not work because the program says that the DDEExecute isnt a valid function or variable. Anyone has any clue? It is version 3.0 of ServiceCenter.
Did anyone figure out how to use a DDE call to set or get a value out of SC? I know how to use the functions in SC to do things (The SetFocus function works fine), but I cant get the SetValue or GetValue functions to work.
Code is as follows:
DDE_Link = DDEInitiate("ServiceCenter", "Actions")
DDEExecute DDE_Link, "[SetFocus(""article.id"")]"
DDEExecute DDE_Link, "[SetValue(""article.id"",""123"")]"
Temp=DDEExecute (DDE_Link, "[GetValue(""article.id"")]")
msgbox Temp
DDETerminate DDE_Link
It will set the focus to the right place but then generate an error with the application. And the GetValue will not work because the program says that the DDEExecute isnt a valid function or variable. Anyone has any clue? It is version 3.0 of ServiceCenter.