Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Programmatically Set the Workgroup Templates location

I want to create an installation program in Visual Basic.NET to install Excel
templates on a user's computer system. That's no problem, but I also need to
see if the user already has a Microsoft Office Workgroup Templates location
identified. If they do, then I want the Excel templates to be installed in
that directory. If they don't, I want to set the Workgroup Templates
location programmatically.

So, what namespace and class allows me to read and change the Workgroup
Templates location?

Thanks,
joe
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 37
Default Programmatically Set the Workgroup Templates location

Joe:

The following KB article contains information about the registry location
for the Workgroup templates.

http://support.microsoft.com/default...b;en-us;889495

Generally, although I don't know all of your specifics (version of Visual
Studio, Office, etc.), you can use the Registry Installation Editor to write
registry values , and the Launch Conditions Editor to read registry values.
The following KB article has more information.

http://support.microsoft.com/default...b;en-us;827026


--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.


"joe215" wrote in message
...
I want to create an installation program in Visual Basic.NET to install
Excel
templates on a user's computer system. That's no problem, but I also need
to
see if the user already has a Microsoft Office Workgroup Templates location
identified. If they do, then I want the Excel templates to be installed in
that directory. If they don't, I want to set the Workgroup Templates
location programmatically.

So, what namespace and class allows me to read and change the Workgroup
Templates location?

Thanks,
joe


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Programmatically Set the Workgroup Templates location

David-
I read through the articles that you referenced and I see how to proceed.
Thank you very much for your advice.
-Joe

"David Lloyd" wrote:

Joe:

The following KB article contains information about the registry location
for the Workgroup templates.

http://support.microsoft.com/default...b;en-us;889495

Generally, although I don't know all of your specifics (version of Visual
Studio, Office, etc.), you can use the Registry Installation Editor to write
registry values , and the Launch Conditions Editor to read registry values.
The following KB article has more information.

http://support.microsoft.com/default...b;en-us;827026


--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com

This response is supplied "as is" without any representations or warranties.


"joe215" wrote in message
...
I want to create an installation program in Visual Basic.NET to install
Excel
templates on a user's computer system. That's no problem, but I also need
to
see if the user already has a Microsoft Office Workgroup Templates location
identified. If they do, then I want the Excel templates to be installed in
that directory. If they don't, I want to set the Workgroup Templates
location programmatically.

So, what namespace and class allows me to read and change the Workgroup
Templates location?

Thanks,
joe



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Workgroup templates in Excel 2007 hmm Setting up and Configuration of Excel 1 May 30th 08 04:38 PM
In Excel where do i point to shared workgroup templates Peggy56 Setting up and Configuration of Excel 1 February 6th 08 08:44 PM
Excel 2003 workgroup template location Jon Brooke Excel Discussion (Misc queries) 1 June 9th 05 08:47 PM
Programmatically saving a workbook to a ftp location fails Lloyd Excel Programming 0 December 20th 04 09:17 PM
Finding out the workgroup templates path Steven Excel Programming 1 February 3rd 04 11:39 AM


All times are GMT +1. The time now is 11:44 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"