Thanks once again. When I call Webs.Add/Open, a WebWindow is opened automatically. I can hide it but that will cause the window to appear for a short time and then disappear. I want to avoid that if I can
Some more observations
I created a VB app that monitors OnWebOpen event of FP app. The code looks something like
=======================================
Option Explici
Dim WithEvents oApp As Applicatio
Private Sub Form_Load(
Set oApp = Applicatio
End Su
Private Sub oApp_OnWebOpen(ByVal pWeb As FrontPage.Web
Debug.Print "web open: " & pWeb.URL & " " & (pWeb.ActiveWebWindow Is Nothing
End Su
=========================
With this app running, if I double click a subweb in FP folder list, I get a WebOpen event first with no active WebWindow and then the WebWindow is opened. Similarly if I browse to a subweb in hyperlink dialog, I get a WebOpen event with no active WebWindow and no window opens. But if I open a web programmatically ( with the command1 button above ), a WebWindow opens first and then I get a WebOpen event with a active WebWindow. This forces me to think that there has to another way to open the webs. Am I correct ? Am I missing something
Thanks in advance
Regards
Abh
----- Jim Cheshire wrote: ----
Do it in a new WebWindow. Unless you explicitly make that WebWindo
visible, it won't be
--
Jim Cheshir
Jimc
http://www.jimcoaddins.co
===============================
Author of Special Editio
Using Microsoft Office FrontPage 200
5 Stars on Amazon and B&
===============================
The opinions expressed by me in th
newsgroups are my own opinions an
are in no way associated with m
employer or any other party. Jimco i
not associated in any way with any othe
entity
Abhi said:
Thanks for the feedback. I didn't realize that parameter because I a
looking at FP2k OM as I need my addin to be compatible with FP2k. How do
do it in FP2k