Right way of working with connectMode for VS add-ins - visual-studio

Can someone point me to a guide on how to interpret the connectMode parameter that gets passed when a VS add-in is loaded?

I'd suggest checking out Carlos Quintero's article discussing this as well as the documentation on the enumeration.

Related

Visio 2016 - Creating a Site Map

I've used Visio for many years now and having just installed Visio 2016 Professional, I tried to create a sitemap in the normal way but couldn't find the option to specify a URL/address to use - the wizard isn't automatically invoked, etc. It's definitely the "Professional" edition so the option should be available unless Microsoft have "streamlined" the product still further.
Does anyone know how to access/enable this feature or if it's even included any more?
The online help is utterly useless and I can only find one relevant article via Google which, unfortunately, doesn't provide a solution.
Thanks for looking :)
For anyone with the same issue, downloading and installing the Visio 2016 SDK was the solution. Now, when I select "Web Site Map", under "Software", the wizard automatically runs and I'm able to enter a URL and generate a sitemap.

Is SparkViewEngine dying?

I am building a email service based on templates. I thought of using the spark view engine but it seems that It doesn't get much updates anymore.
Support on .NET4.0 is not even yet complete and it fails at runtime when used in a console app.
The little Intellisense support that was there in VS2008 doesn't seem to work on VS2010 (from the information I have found)
Should I avoid it?
What do you think?
There has also been talk, from Phil Haack and Louis Dejardin (both on the ASP.NET team) about getting some form of support "in the box" for Spark. That "support" may just be intellisense.
Louis Dejardin, the author is speaking about the view engine at NDC2010, in Norway. I guess it's far from being a dying project then :) good.
If you need to do email based on templates, DotLiquid (http://dotliquidmarkup.org) could be a nice solution, expecially if you need your end users to edit templates without tampering your system.

Create a windows service in vb6

Is it possible to create a windows service in vb6? if yes, how?
I've never tried it, but Desaware offer a commercial package, the NT Service Toolkit that claims to allow you to host a VB6 DLL inside a Windows Service. Desaware was founded (and I think is still owned by) VB6 guru Dan Appleman, which is a good recommendation.
Microsoft created a control to allow you to create services in VB6.
http://support.microsoft.com/default.aspx/kb/170883
http://support.microsoft.com/kb/175948/EN-US/
Yes, it works, is it the best way to create a service, no, but if VB6 is a requirement (you have a bunch of code you have to re-use), then I can state from experience that it works. We have the original control from the January 1997 MSDN, however you can easily find it on the net if need be ( http://www.google.ca/search?q=ntsvc.ocx+download )
Like gouging your own eyes out with a spoon, it is technically possible but I wouldn't recommend it.
Yes, you can. Just follow the directions in this tutorial:
http://www.vbrad.com/article.aspx?id=92
To answer your question, yes it is possible to create a Windows service with VB6. To offer you advice, there are much better tools to use. I did it once as a proof of concept project, but never liked it well enough to try to use it for anything that we used in the company. A co-worker did do this for a production app and it was error prone. After he left we found out just how hard he was working to keep his service running and ended up replacing his app without reviewing his code. So my advice is, if you want to do it as an exercise go ahead, but if you are looking at this for a workable solution you should consider other tools. Here is a link to one way to do it.

Does anyone has any suggestions on WEbAii, Watin and Selenuim

Please give me your valuable suggestions regarding the WebAii, Watin and Selenuim.
Actually i have been using WebAii and its working fine for me but at the same time i have not used other frameworks to test Ajax supported web applications.
Please share your thoughts or issues you faced while using one of these frameworks.
We used both watir, watin, and webaii and have opted for webaii because of it's predictability in dealing with AJAX.
The webaii framework is priced right :) but it would have made some people on the team more comfortable if it had been open source.
Even after the merger with Telerik. WebAii is still free. It can be downloaded from here:
http://www.telerik.com/community/free-products.aspx

Looking for VB6 online help

I can no longer find the CD that had the MSDN help for VB6, but I have a subscription to MSDN. The current MSDN library obviously does not have the VB6 online help.
What is the last MSDN library that includes the VB6 help?
Also available online on the MSDN Library.
No wonder you're the 'AngryHacker'.
I believe that was Oct 2001.
You can easily download the proper copy of MSDN that works with Visual Basic 6 (VB6) but you need a MSDN subscription to do. If you have that subscription, here is a step-by-step description of how to find, download, extract, install and test the correct MSDN library that works with VB6 (using the F1 context sensitive help method of VB6 /studio):
http://www.kimgentes.com/worshiptech-web-tools-page/2014/9/18/finding-downloading-and-installing-msdn-library-for-vb6-on-m.html

Resources