XP look and feel un VBA form?

  • Thread starter Mikael Sorensen
  • Start date
M

Mikael Sorensen

I'm using Windows XP Pro and Office 2003.

Is it possible to get Windows XP look and feel in a VBA (Word) form?

Currenly only the forms caption has the XP style. All other objects has the
standard Windows 2000 style.

Regards,
Mikael
 
L

Lars-Eric Gisslén

Mikael,

I suppose you mean using the theme look. I don't think that will not be
possible at all. For a normal application to be able to get the Theme 'look'
a manifest resource needs to be linked into the application. When it's a
resource I mean a Windows resource that is compiled by the resource compiler
and linked into the executable. A manifest can look like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="My.Application"
type="win32"
/>
<description>My Super Application.</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
</assembly>

As you can't link in resources into VBA projects I think you can just forget
about it.
 

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