Problems with OVC

  • Thread starter Lars Thomsen Nielsen
  • Start date
L

Lars Thomsen Nielsen

Outlook2000. I have learned about OVC in the Jumpstart-book,
but I can't figure out to change the view. On a new form I
have added a OVC, so that I see my Inbox, but how can I
change it to ex. the Calendar?

I can't seem to change the name in the Properties (I get an
error). In the book it says that it should be possible to
change it through Advanced properties, but where is that
located?

Also it shold be possible to change the foldername through
code, but how? I have tried the following, but that doesn't
work:

OVCtl1.Folder = "\\Mailbox - Lars Thomsen Nielsen\Calendar"

Any suggestions?

Lars
 
S

Sue Mosher [MVP]

If the mailbox is your default store, you can just use the folder name:

OVCtl1.Folder = "Calendar"

If you continue to have problems, it might help if you explained where you're using the OVC -- in an Outlook form, in a web page, or in a VB/VBA userform. Also see http://www.slipstick.com/dev/OVCViewDemo.htm for important information on using the View property.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.slipstick.com/books/jumpstart.htm
 
L

Lars Thomsen Nielsen

Sue Mosher said:
If the mailbox is your default store, you can just use the folder name:

OVCtl1.Folder = "Calendar"

I am using a form in VBA in Outlook2000 and have actually found
what was wrong. I'm used to writing Calender when making code in
VBA, because the lanquise here is English, but in Danish it is
spelled "Kalender", so if I use the Danish word instead in my
code (or the shorter code from Sue), then it works.
important information on >using the View property.

Looks very interesting, but a bit complex for me so far, but I
might return with more questions on OVC. It looks like something
with a great potential.

PS. Sue - Great book so far :)

Lars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top