Code Monkey home page Code Monkey logo

visiopaneladdinvsto's Introduction

Extended Visio Addin Project

This extension contains a project template to create a extneded Microsoft Visio Addin based on Visual Tools for Office or vanilla COM Shared AddIn in C# and VB.NET

Published on: https://marketplace.visualstudio.com/items?itemName=NikolayBelyh.ExtendedVisioAddinProject https://marketplace.visualstudio.com/items?itemName=NikolayBelyh.ExtendedVisioAddinProject2017

In addition to standard functionality, the project generated with this extension features the following:

  • User interface to start with
  • A TaskPane (docking panel), and a button to control it.
  • Support for custom images for the buttons.
  • Optional support for state (enabled/disabled) for the buttons.
  • Optional support for legacy Visio version (command bar with buttons)
  • Optional support for ribbon designer

The add-in generated should work for Visio 2003 SP3 (COM addin only), 2007 SP3, 2010, 2013, 2016.

  • Both x32 and x64 Visio versions are supported (the code compiles to Any CPU).
  • Support per user/per machine install in one MSI
  • Visio files publishing functionality ("featured" Templates/Stencil on the start page and in menu)
  • Visio Addon (VSL) publishing support
  • Visio Help files (CHM) publishign support
  • Localization support (non-english UI for the installer)

visiopaneladdinvsto's People

Contributors

nbelyh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

visiopaneladdinvsto's Issues

Available creation only C# projects, but not VB.Net (28/05/2020)

I use your wonderful add-in sometimes ago and create there projects in VB.Net. Thank you !
Just now i install your template to new PC and there i can find only C# project in start menu
missed VB.Net project
Now VB.Net projects don't supperted in your template or just missed ?

wix link crashes if you set target platform of the Add-in project to X64

If you select target platform of the add-in to X64, link (wix setup build) crashes with the following message:

Build started...
------ Build started: Project: Setup, Configuration: Debug x86 ------
light.exe(0,0): error LGHT6509: Visio WiX Extension Internal Error. In case you see that please report the issue to [email protected].
Done building project "Setup.wixproj" -- FAILED.

Workaround: set targe platform to AnyCPU (this is the default, btw)
image

Related discussion:
http://visguy.com/vgforum/index.php?topic=9450

Only "WixUI_Advanced" for all Users installs correct

Starting point:

  • Created two new Extended Visio Addin Projects:
    1. WixUI_Advanced
    2. WixUI_Minimal
  • Both with option "Create new (sample) template and stencil file"
  • Did not touch the other options, did not modify the projects.
  • Build (Addin)
  • Build (Setup)
  • Removed all Addins from Visio (registered by build process)

Results:

  • Installed WixUI_Advanced only for me: only Addin registered, Template and stencil file not
  • Deinstalled
  • Installed WixUI_Advanced for all Users: Addin registered, Template and stencil file registered -> Perfect
  • Deinstalled
  • Installed WixUI_Minimal: Nothing registered
  • Deinstalled

Software versions:

  • Visio 2019 Professional 64bit
  • Visual Studio Community 2019 Version 16.8.4
  • WiX Toolset v3.11.2
  • Windows 10 Pro Version 10.0.18363 Build 18363

Meanwhile I also tested "WixUI_InstallDir".
-> Addin and Stencil / Template files are not registered.

Panel doesn't expand well in multi window/display scenario.

Hi,

When trying the panel on a multiple document window Visio instance (see image) or with multiple displays, the panel doesn't expand properly. I'm guessing that it has something to do with the CreateWindow() implementation in the PanelFrame class. I've tried to set the nTop and nLeft arguments of the Windows.Add() method to the size of the Visio document window, which does seem to help a bit. It now works properly on both displays with a single document window, but I'm still struggling to get it to work for multiple document windows in a single Visio instance. The problem is that I can't seem to figure out what determines the amount of space the panel is allowed to consume. Are you able to reproduce this issue, and do you have any ideas on how we can improve this behavior?

I do want to mention that I've modified your implementation so that it works with WPF instead of Windows Forms, but from what I've seen in my tests, switching to Windows Forms doesn't change the behavior described above.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.