forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


DDE Internet Explorer Question

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Tue Oct 04, 2005 2:06 am    Post subject: DDE Internet Explorer Question Reply with quote

Hi,

I have been trying to use the DDE request WWW_RegisterURLEcho of Internet Explorer and also the WWW_URLEcho.

In order to make this DDE event work my VDS app needs to be DDE server.

I cant seem to make this work. Normally I am trying to receive an event ddemacro() when a new URL is being entered in IE.

Here is the code I have so far, the first few comments are the help about the DDE command and event

Code:
# Help from Microsoft Below
#RegisterURLEcho
#RegisterURLEcho requests that ApplicationName be notified of URLEcho events
#whenever a URL gets loaded. Multiple servers can be registered to get these
#notifications:

#  topicName: *WWW_RegisterURLEcho*
#  itemName: ApplicationName (enclosed in double quotes)
#  returnValue: Non-Zero for success, 0 for failure

#ApplicationName is a DDE server that is registered to receive WWW_URLEcho
#notifications from the browser with the following information:

#  topicName (hsz1): WWW_URLEcho
#  itemName  (hsz2): URL,MIMEType,WindowID
 # <Example: "http://www.home.com <http://www.google.com/url?sa=D&q=http://www.home.com>","text/html",-1>
 # Transaction: XTYP_POKE

  Title ddetest
  DIALOG CREATE,ddetest,-1,0,455,324,DDESERVER WWW_URLEcho
 #DIALOG CREATE,ddetest,-1,0,455,324,DDESERVER WWW_RegisterURLEcho
  DIALOG ADD,LIST,LIST1,46,38,374,218
  DIALOG ADD,BUTTON,BUTTON1,287,67,,,BUTTON1
  DIALOG ADD,BUTTON,BUTTON2,287,140,64,24,BUTTON2
  DIALOG SHOW
  #%%rq = "ddetest"
  # %%app = @ddeitem(%%rq)
  #  DDE link,ddetest,WWW_URLEcho
  DDE LINK,IExplore,WWW_RegisterURLEcho
  DDE POKE,"ddetest",0
  #requestdata
  # DDE LINK,IExplore,system
  # %T = @ddeitem(topics)
  # wait 1
  # info bb %t



:Evloop
  wait event
  goto @event()

:DDEMACRO
  info @ddemac()
  DDE LINK,IExplore,WWW_GetWindowInfo
  %%rq = "0xFFFFFFFF,sURL"
  list add,list1,@ddeitem(%%rq)
goto evloop
:BUTTON1BUTTON
   
 
:BUTTON2BUTTON
 
  goto evloop
:Close
 
  exit



Anyone has ideas?

Thank you Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Wed Oct 19, 2005 10:25 am    Post subject: Reply with quote

Anybody??? Pleeeeeaaaasse Very Happy Any DDE experts here? Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group