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 Add-Ins / November 2003

Tip: Looking for answers? Try searching our database.

XP Style

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael King - 25 Nov 2003 14:39 GMT
Has anybody used XP styles with their vb add-in?  The common method for a
stand alone exe is to add a .manifest file to the resource or in the
application path, but this does not seem to work for my Outlook add-in

http://www.vbaccelerator.com/home/VB/Code/Libraries/XP_Visual_Styles/Using_XP_Vi
sual_Styles_in_VB/article.asp


Thanks,

Mike
Ken Slovak - [MVP - Outlook] - 25 Nov 2003 14:59 GMT
So far from VB we've only been able to add a global manifest file to
Outlook and not a local manifest for a DLL or OCX in a COM addin or as
an entry in a Resource file.

If you create a global manifest file (outlook.exe.manifest) and place
it in the same folder as outlook.exe all addins will show WinXP
styles, which could create a problem with other addins you didn't
write. If they display radio buttons in a frame control the button
text will be one long unreadable blob.

Dmitry has been able to use Delphi and create a local manifest file as
a resource that doesn't create this problem but we've been unable so
far to replicate his efforts in VB. To do so you would have to paint
each form and control you used in the forms instead of letting VB
create them for you. That would demand Win32 API access to the forms
and controls and as I mentioned so far we've not been able to get
everything to work correctly.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Has anybody used XP styles with their vb add-in?  The common method for a
> stand alone exe is to add a .manifest file to the resource or in the
> application path, but this does not seem to work for my Outlook add-in

http://www.vbaccelerator.com/home/VB/Code/Libraries/XP_Visual_Styles/U
sing_XP_Visual_Styles_in_VB/article.asp

> Thanks,
>
> Mike
Michael King - 25 Nov 2003 16:29 GMT
Ken,

Thanks for the quick reply.

I definately don't want to create a global manifest file.  Is there a place
where I might find the answer when someone figures it out?

Mike

> So far from VB we've only been able to add a global manifest file to
> Outlook and not a local manifest for a DLL or OCX in a COM addin or as
[quoted text clipped - 34 lines]
> >
> > Mike
Ken Slovak - [MVP - Outlook] - 25 Nov 2003 19:30 GMT
If and when we do figure out how to do it in VB we'll probably publish
it on Slipstick, Microeye or on my Web site.

However I wouldn't hold my breath, at the moment I don't have the
bandwidth to work on it and the other people that were working on it
with me are also very busy right now.

What I'm doing for the moment in my addins is supplying a global
manifest with instructions and caveats in a readme file. The user can
move it to the outlook.exe folder if the want and if any of their
addins misbehave they can remove it. Only 1 global manifest is
required for any or all addins, BTW, it doesn't matter which addin the
manifest references it affects all of them.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Ken,
>
[quoted text clipped - 4 lines]
>
> Mike
Michael King - 26 Nov 2003 03:02 GMT
Thanks for your help.  Same situation here as bandwidth goes.

Mike

> If and when we do figure out how to do it in VB we'll probably publish
> it on Slipstick, Microeye or on my Web site.
[quoted text clipped - 27 lines]
> >
> > Mike
 
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.