Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / January 2004

Tip: Looking for answers? Try searching our database.

error message

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mohan - 07 Jan 2004 23:19 GMT
hello sir
 in my one of the form i designed 2  list box with item selection option
like >> and << buttons.in script editor through item inspector like
"Set cb1 = Item.GetInspector.ModifiedFormPages("Resource
Request").CommandButton1"

this i coded .when i run  my form it prompt me to enable/disable the
form.when i enable the form i got a error msg like

"object does not support this property or method:
item.getinspector.modifiedformpages(...).commandbutton1"

how can i solve the problem.so kindly help me to get through.

thx

mohan
Sue Mosher [MVP] - 07 Jan 2004 13:32 GMT
Wrong syntax. See http://www.slipstick.com/dev/propsyntax.htm#unbound. Use
this instead:

Set objPage = Item.GetInspector.ModifiedFormPages("Resource Request")
Set cb1 = objPage.Controls("CommandButton1")

Signature

Sue Mosher, Outlook MVP
Author of
    Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx

> hello sir
>   in my one of the form i designed 2  list box with item selection option
[quoted text clipped - 13 lines]
>
> mohan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.