Re: User functions not working on Task Form

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



i could not find a page open event so have
done this via a command button, but a page open event would be
preferable if this is possible.

Use the Item_Open() event handler.

The second more crucial problem is that the command buttons do not
work. i have published the form in a shared folder

A shared folder in another user's mailbox? Code won't run there by default. See http://www.outlookcode.com/d/secforms.htm#mailboxscript

P.S. i am also trying to add a new folder to the inbox via the command
buttons but can only find DefaultFolder(10) which appears to be
contacts, i have tried olInbox but this doesn't work, thanks again

When in doubt, check the object browser: Press ALt+F11 to open the VBA environment in Outlook, then press F2. Switch from <All Libraries> to Outlook to browse all Outlook objects and their properties, methods, and events -- including all constant enumerations.
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"DrewP" <drewpro@xxxxxxxxxxx> wrote in message news:1153831602.713068.316600@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello

i am using Outlook 2003, i have edited the task form and added some
user funcitons, a couple of command buttons and combobox.

The combobox is populated by the names of sub-folders in a public
folder on my hard drive, i could not find a page open event so have
done this via a command button, but a page open event would be
preferable if this is possible.

The second more crucial problem is that the command buttons do not
work. i have published the form in a shared folder and can be seen by
all. the form fires up no problem and the controls are there but when
clicked they do not do anything. if i move to design the form and then
run it without do anything thenall of the buttons work.

If anyone has any idea what is going on i would be most grateful, i
have a bit of VBA experience but am new to outlook(VBScript) so sorry
if i missed anything.

Drew

P.S. i am also trying to add a new folder to the inbox via the command
buttons but can only find DefaultFolder(10) which appears to be
contacts, i have tried olInbox but this doesn't work, thanks again

.



Relevant Pages

  • Re: Copying file names
    ... If you have Microsoft Excel then perhaps you have Microsoft ... Office and have installed Microsoft Outlook and its Integrated ... Outlook Bar, click My Computer, and navigate to the "directory ... (or keyboard command: CTRL+A) ...
    (microsoft.public.windowsxp.basics)
  • Re: Organisational Forms Library
    ... I have used the code sample that you supplied attached to a Command ... Author of Configuring Microsoft Outlook 2003 ... When I said Customer I'm talking about internal ... -- For collaboration via the Internet, publish your form to your Personal Forms library. ...
    (microsoft.public.office.developer.outlook.forms)
  • Re: Organisational Forms Library
    ... Author of Configuring Microsoft Outlook 2003 ... I have used the code sample that you supplied attached to a Command ... When I said Customer I'm talking about internal ... -- For collaboration via the Internet, publish your form to your Personal Forms library. ...
    (microsoft.public.office.developer.outlook.forms)
  • Re: Organisational Forms Library
    ... Author of Configuring Microsoft Outlook 2003 ... I have used the code sample that you supplied attached to a Command ... When I said Customer I'm talking about internal ... -- For collaboration via the Internet, publish your form to your Personal Forms library. ...
    (microsoft.public.office.developer.outlook.forms)
  • Re: Searching shared folders with "net view" (or other command) + login/password possible ?
    ... System error 5 has occurred. ... However I can access every shared folder as long as I know its name in advance by ... Unfortunately the "net view" command does not accept parameters for login resp. ... If you want to solve the problem, though, start from my diagnostics article. ...
    (microsoft.public.windowsxp.network_web)