class id error

K

KB

wondering why I keep getting a class id error with this code,

Set myControl = Me.MultiPage1.Pages.Add.Controls.Add("MSFORMS.TextBox.1", "MyBox", Visible)

--
K.Brown
/*****************************************************************************
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
******************************************************************************/
 
W

Word Heretic

G'day "KB" <[email protected]>,

You can't .Add.Something.Whatever

You must

Set aThing =yeahbaby.add
aThing.Something.Whatever


Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


KB reckoned:
 
Top