Re: Figured it out: Re: Perplexing Problem with DDE

Tech-Archive recommends: Speed Up your PC by fixing your registry




"Bob Butler" <tiredofit@xxxxxxxxxxx> wrote in message news:uG$4QbgJHHA.1424@xxxxxxxxxxxxxxxxxxxxxxx
"Steve Easton" <admin@xxxxxxxxxxxxx> wrote in message
news:eIrkdWgJHHA.1280@xxxxxxxxxxxxxxxxxxxx
Hi Bob,

Tried what you suggested.

No luck.

Bugs me that it worked repeatedly before and then just stopped
working.

My only suggestions were on the syntax since you said you'd already found
the solution. What are you actually trying to accomplish? DDE support is
not a long-term viable solution.


Hi Bob,
Actually I am still having issues, after reading your post I did a little more digging in MSDN
and found that I needed to close the DDE connection after the LinkRequest. So,
With Label1
DoEvents
.Caption = ""
.AutoSize = True
.LinkMode = vbLinkNone
.LinkTopic = "IExplore|WWW_GetWindowInfo"
.LinkItem = "0xFFFFFFFF"
.LinkMode = vbLinkManual
.Linkrequest
.LinkMode = vbLinkNone
End With

Sometimes works and sometimes doesn't.
frustrating..

Interesting thing is, if I open the object browser and click label, it
shows that LinkRequest should be: Sub LinkRequest()

So, I'm still poking around

Curious as to why you say DDE isn't a long term solution??
Because of Vista??
All I'm doing is grabbing the url and title of the most recently opened
IE window.

Regards
--
Steve Easton


.



Relevant Pages