ActiveX Doc: can't change menu text after document is sited 
Author Message
 ActiveX Doc: can't change menu text after document is sited

I am attempting to dynamically change the menu text of menus that have been
"negotiated" into Internet Explorer (4.0) menus at runtime.  For example:

Private Sub Command1_Click()
    If mnuTest.Caption = "Test" Then
        mnuTest.Caption = "Test2"
        mnuTest.Caption = "Test"
    End If
End Sub

has no effect..  In fact, the Visible and Enabled properties don't have any
effect either..

If, however, I change the menu text in the UserDocument_Initialize event, it
works..  However, I am passing parameters via a QueryString and that isn't
available, of course, until the document is sited (and, apparently any
change after siting doesn't take effect, so I have a classic Catch-22!)

Anybody else had this problem?  Better yet, anybody else found a solution?

Applied OLAP, Inc

Thu, 04 Oct 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. ActiveX document menu's don't merge

2. 'Canned' data in VB program

3. VB6 ActiveX doc wants - no longer on ms site

4. ActiveX Doc DLL vs ActiveX Doc EXE

5. ActiveX doc calling another ActiveX doc in Internet Explorer

6. How to save word doc and not have it added to the Documents menu

7. ActiveX Document Executable, What Am I Missing?

8. Auto Download of doc files into new doc file from a web site

9. How do you drop doc files from a intranet site into a new word doc

10. Get Values In HTML Document From ActiveX Doc

11. Get Values In HTML Document From ActiveX Doc

12. Can ActiveX Doc work like OLE Embedded Document


Powered by phpBB® Forum Software