News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

File/New: add examples and customize template folder icons

Started by scott, April 06, 2010, 08:43:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scott

Two questions about 2010 File/New:

1) The "Other Ways To Get Started" section includes a folder called "Sample diagrams". Is it possible to add additional sample drawings to this folder? If not, is it possible to create a new folder in the "Other Ways To Get Started" section?

2) The folders in the "Template Categories" section look pretty spiffy. If I add a folder to this section, it appears with a conventional-looking Windows folder icon. Can I specify my own icon for my folder? Ideally, I'd like to use the same two-page base icon that the MS supplied folders use, but I'll be happy with creating one from scratch, if required.

Thanks,
Scott

Nikolay

#1
+1

Also interested in getting answer to this question :D


It seems that this is possible:
E.g. Visio 2010 SDK (beta) does this (custom group "SDK" with custom image):


It would be also great to get some info on backstage customization (in general)!
Though the article Introduction to the Office 2010 Backstage View for Developers is at least more than nothing, it would be great to have some information specific to Visio.



BTW, setup "created" by Visio 2010 SDK (beta) Publishing Tool does not work in the following configuration: Visio 2010 x86 installed on x64 system.
The problem is caused by the custom action "VisSolPublish_BumpVisioChangeId" that is written into MSI by the publishing tool:


Dim WshShell, visChangeId
Set WshShell = CreateObject("WScript.Shell")
visChangeId = WshShell.RegRead ("HKLM\Software\Microsoft\Office\Visio\ConfigChangeID")
WshShell.RegWrite "HKLM\Software\Microsoft\Office\Visio\ConfigChangeID", visChangeId + 1, "REG_DWORD"


I believe this is wrong for x64-bit system with Visio x86 installed - there is no such key in this case. This causes installer created by the publishing tool to fail in this configuration :(
Maybe it was fixed already, but in case wasn't I just mention this bug here.

Paul Herber

Quote from: Nikolay on April 08, 2010, 08:42:42 AM

BTW, setup "created" by Visio 2010 SDK (beta) Publishing Tool does not work in the following configuration: Visio 2010 x86 installed on x64 system.
The problem is caused by the custom action "VisSolPublish_BumpVisioChangeId" that is written into MSI by the publishing tool:

I believe this is wrong for x64-bit system with Visio x86 installed - there is no such key in this case. This causes installer created by the publishing tool to fail in this configuration :(
Maybe it was fixed already, but in case wasn't I just mention this bug here.

Hi Nikolay, the installations I create using the latest publishing tool seems to work quite correctly now for Visio 2010 x86 on Win 7 x64. The installers I've created using VS and VSPT work for Visio 2003/2007 and 2010. I haven't tried with Visio 2010 x64 though.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

Roger Billsdon

Quote from: scott on April 06, 2010, 08:43:17 PM
The folders in the "Template Categories" section look pretty spiffy. If I add a folder to this section, it appears with a conventional-looking Windows folder icon. Can I specify my own icon for my folder?

Hi all
Just wondered if anyone had found a method of replacing the folder icon.
Many thanks
Roger Billsdon

perry59

I have a similar interest.
My addin includes stencils and templates, but when I browse for them it shows a generic folder icon. I'd like to have something a little nicer!
what, me worry?

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 240 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1151KB.
Tokens: post-login.
Cache hits: 14: 0.00309s for 26,721 bytes (show)
Cache misses: 4: (show)
Queries used: 16.

[Show Queries]