Author Topic: Creating VSLs  (Read 11060 times)

0 Members and 1 Guest are viewing this topic.

caolen

  • Newbie
  • *
  • Posts: 6
Creating VSLs
« on: September 02, 2014, 03:05:52 PM »
Has anyone seen any training for creating VSLs for Visio 2013 using C++ in Visual Studio 2013?  I'm looking for a template and some step-by-step instructions.

Nikolay

  • Hero Member
  • *****
  • Posts: 1285
    • UnmanagedVisio
Re: Creating VSLs
« Reply #1 on: September 02, 2014, 04:27:50 PM »
Why would you need a VSL in year 2014?
As far as I understand, it has no advantages over the other approaches (COM / VSTO)
I.e. in the times of Visio 2000 a VSL could do something COM couldn't but that's not the case anymore, as far as I know.

Anyways, the one from the Visio 2010 SDK still can be compiled with Visual Studio 2013

Nikolay

  • Hero Member
  • *****
  • Posts: 1285
    • UnmanagedVisio
Re: Creating VSLs
« Reply #2 on: September 05, 2014, 12:42:36 AM »
If you are not fixed on VSL, but want an Add-in written in C++ (in Visual Studio 2013) then you can give a try to my project template:

http://visualstudiogallery.msdn.microsoft.com/a9d68071-a0b8-40d1-8ada-fb0f6891c9cb

To install from within Visual Studio 2013:
Tools -> Extensions and updates -> Online -> C++ Visio COM Addin -> Install.


Yacine

  • Hero Member
  • *****
  • Posts: 3210
Re: Creating VSLs
« Reply #3 on: September 05, 2014, 12:58:32 AM »
WiX does unfortunately not run on Studio Express Editions.
Yacine

Nikolay

  • Hero Member
  • *****
  • Posts: 1285
    • UnmanagedVisio
Re: Creating VSLs
« Reply #4 on: September 05, 2014, 02:12:18 AM »
How do you create a setup in VS Express 2013?
(I don't have express, so I'm not quite sure)

Does the Visual Studio Installer project work in 2013 Express, i.e. does this one work in Express?
http://visualstudiogallery.msdn.microsoft.com/9abe329c-9bba-44a1-be59-0fbf6151054d

Yacine

  • Hero Member
  • *****
  • Posts: 3210
Re: Creating VSLs
« Reply #5 on: September 06, 2014, 01:10:35 AM »
Quote
How do you create a setup in VS Express 2013?
I don't. Full edition is required.
I tried playing around with NetOffice (https://netoffice.codeplex.com/), but it does not yet support Visio.
So I'm still stuck with VBA.

The visual installer doesn't work neither with the express edition.
Yacine

Nikolay

  • Hero Member
  • *****
  • Posts: 1285
    • UnmanagedVisio
Re: Creating VSLs
« Reply #6 on: September 06, 2014, 04:25:30 AM »
Hi Yacine.

In principle it is possible to build the installer with WIX without Visual Studio installed at all, i.e. VS is not required to build installer..
You could simply run MSBUILD for the solution from the command line, and that's it.

The template could be improved to not require WiX to be installed in VS, but use whatever installer VS got..

Anyways,
I think ideal to solve this problem with installations "once and for all" :) could be something like WebApps in JavaScript/HTML and store online.
So that the app

- can be modified centrally for all users.
- (almost) no installation
- will be compatible with online version of the Visio (if it ever comes, yea)
- it is easy to build rich user interface with HTML

What would you think about this idea (it's about macroces, but I think it wold be better to speak about "web-based" apps - like in a panel in Visio for example)?
http://visguy.com/vgforum/index.php?topic=5238.msg20657

Yacine

  • Hero Member
  • *****
  • Posts: 3210
Re: Creating VSLs
« Reply #7 on: September 06, 2014, 07:42:49 AM »
Sounds nice, but is as inaccessible as the professional version of visual studio, because VSTO is also not in the express edition.
Yacine

Nikolay

  • Hero Member
  • *****
  • Posts: 1285
    • UnmanagedVisio
Re: Creating VSLs
« Reply #8 on: November 16, 2014, 12:22:10 PM »
Just to inform: from now on, the Visual Studio Professional (under the name "Community Edition") is available for free:
www.visualstudio.com/en-us/products/visual-studio-community-vs

Means, one can use any VS extensions (like WiX or Deployment project) for free. Thanks M$ :)

Yacine

  • Hero Member
  • *****
  • Posts: 3210
Re: Creating VSLs
« Reply #9 on: November 16, 2014, 12:58:08 PM »
Does this mean, VSTO is included??? Haleluja! Wix! all the good stuff  :o !
« Last Edit: November 16, 2014, 01:02:12 PM by Yacine »
Yacine

Nikolay

  • Hero Member
  • *****
  • Posts: 1285
    • UnmanagedVisio
Re: Creating VSLs
« Reply #10 on: November 16, 2014, 02:09:49 PM »
Wix/Setup project/Resharper are working. Did not find the VSTO though :-\

Yacine

  • Hero Member
  • *****
  • Posts: 3210
Re: Creating VSLs
« Reply #11 on: November 17, 2014, 01:42:35 PM »
Guess you did not need to download yourselves. There many packages missing. Installed it partially yesterday evening.
Will try to find the missing packages on the net.
Yacine

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3371
    • Paul Herber's website
Re: Creating VSLs
« Reply #12 on: November 17, 2014, 02:22:11 PM »
When I had the full VS2010 installed it slowed my laptop down so much. Uninstalling it was like a breath of fresh air!
Electronic and Electrical engineering, business and software stencils and applications for Visio -

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

Yacine

  • Hero Member
  • *****
  • Posts: 3210
Re: Creating VSLs
« Reply #13 on: November 17, 2014, 03:07:32 PM »
Yes, quite heavy package ... of which one would use only a tiny bit.
Yacine