Closes a DDE channel.
DDETerminate ( channel )
(i) channel: same integer that was returned by DDEInitiate.
(i) always 1.
This function closes a communications channel that was opened with DDEInitiate.
url = '' If AppExist('iexplore') browser = 'iexplore' channel = DDEInitiate(browser, 'WWW_GetWindowInfo') ;Initialize DDE If channel != 0 ;If DDE OK Execute DDE Command url = DDERequest( channel,-1) DDETerminate(channel) EndIf Else Pause('','No active IE browser') Exit EndIf Message('Active URL in ':browser, url) Exit