ActiveX and Forms

  • Thread starter Thread starter Alexey Yukhovich
  • Start date Start date
A

Alexey Yukhovich

Hello All.

I need help:
I woud like add activeX form to Task from.
How I make it ?
 
You can add an ActiveX *control* to any of the customizable pages P.2 - P.6.
 
My code for add TextBox to Page P.2 :

Dim objTextBox
Dim objP2Page

Function Item_Open()

Set objTextBox = Nothing
Set objTextBox = CreateObject("Forms.TextBox.1")
' objTextBox.Location = new Point(25,25)
Set objP2Page = Item.GetInspector.ModifiedFormPages("P.2")
objP2Page.Controls.Add( objTextBox )
End Function



it do not work.

When i make mistake ?


help me.
 
What in particular doesn't work? Has P.2 previously been modified? Why are
you trying to add a control programmatically (which will one-off the form
unless you republish it)?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top