Hello,
Thanks for trying to help me. I am creating hyperlinks within the drawings and publishing them to the dwfs. I have 2 types of links.
1. The first type of link simply navigates to other dwf files. For example I have an isometric view in the lower corner of the drawing that allows the user to click on different floor levels. Once clicked, they see the other floors.
2. This 2nd link actually points to an html page that then links to a database and shows information about a piece of equipment or room information.
That is why I am creating differend DwfURL locaitons within the If statement in order to tell it where to go to.
So the first thing I go is create this Hlink variable. After that I go into the If statement and concatenate the Hlink variable with different web addresses. In most cases it uses the DwfURL created under the Else statement. But NavigateToURL, and SourcePath make 7.0 lockup, but not 6.5. If I use window.navigate(DwfURL), this work on 7.0, but only the first time. This actually opens a new page and then my code to trap when the users clicks goes away, and then it no longer works.
Hlink = piAdPageLink.Link(nIndex)
If (window.location.protocol = "https:") Then
If left(Hlink,9) = "/projects" then
'msgbox left(Hlink,1)
'window.navigate(DwfURL)
pHandled.State = true
DwfURL = "https://www.entecheng.com/aoc" & lcase(Hlink) 'Get the Link URL