N
Nency
Hi all,
I am trying to make an Outlook 2003 add-in using Visual Studio 2008 on
Windows XP SP3.
My add-in is using custom Folder Home Page which displays my custom form,
which wraps Outlook View Control.
When I try to set Folder property of the OVC, I get COM Exception with
'Unknown Error' description every time. I am using value of the
CurrentFolder.FolderPath property of the active explorer:
Outlook.Explorer currentExplorer = app.ActiveExplorer();
if (currentExplorer != null)
{
ovcWrapper.Folder = currentExplorer.CurrentFolder.FolderPath;
}
Folder is located in non-default PST file.
I must underline that everything worked just fine before I went to holiday .
Thanks,
Nenad
I am trying to make an Outlook 2003 add-in using Visual Studio 2008 on
Windows XP SP3.
My add-in is using custom Folder Home Page which displays my custom form,
which wraps Outlook View Control.
When I try to set Folder property of the OVC, I get COM Exception with
'Unknown Error' description every time. I am using value of the
CurrentFolder.FolderPath property of the active explorer:
Outlook.Explorer currentExplorer = app.ActiveExplorer();
if (currentExplorer != null)
{
ovcWrapper.Folder = currentExplorer.CurrentFolder.FolderPath;
}
Folder is located in non-default PST file.
I must underline that everything worked just fine before I went to holiday .
Thanks,
Nenad