Script Error occur in VS 2012 Help Viewer - visual-studio

I am using Sandcastle Help file builder (1.9.4.0), Sandcastle (2.7.0.0) and .NET Framework 4.0 assemblies to generate the Class reference for Visual Studio.
I have used Framework version is .NET 4.0.30319 and Help File Format is MSHelpViewer and Presentation Style is vs2005 in Sandcastle Help file builder. It is working fine in VS 2010 (Help viewer 1.1). It shows Script error in VS 2012 (Help Viewer 2.0).
Shall I need to change any settings to solve this issue?

I randomly get this error. There's a lot of stuff online that requires you to mess with the registry and such. A much easier solution I found somewhere is to go to select Manage Content icon, and then make some change to the Help contents that you have selected, for example Add in some help topic that is currently not in, or Remove some topic. Then click Update, and its usually fine after that!

Related

How to Migrate from Microsoft HTML Help Workshop 1.4 (.chm) to new Help Viewer (.mshc) format, directly or indirectly

I'm working on a Windows Application that has been around more than 20 years. It has a help file (.chm) that is built manually outside of the solution (i.e. not by Visual Studio or MSBuild) by compiling it in Microsoft HTML Help Workshop 1.4 from 1999. I would like to migrate this to the latest format such that it can be built as part of the release mode build process.
Is there a way to import the project (based on .hhp file) into a tool that builds the modern .mhsc-format help files? According to this Wikipedia article there was something called Microsoft Help 2 which was "the help engine used in Microsoft Visual Studio 2002/2003/2005/2008", which came after HTML Help Workshop and was succeeded by Microsoft Help Viewer, which was supported starting with Visual Studio 2010.
Preferably, there exits a way to migrate the .hhp/.chm project directly to Help Viewer, or maybe I have to download VS2010 and do it in two steps if indeed those two migrations are themselves supported. This stuff is so old it's hard to find relevant information on it. Thanks.
MS Help Viewer (.mshc) was difficult to manage at the time. It was made mainly for companies like Microsoft who code their help from a database.
You'll find some viewers and tools like MshcMigrate e.g. getting you from .CHM and .HxS -> .mshc.
There is no longer any need to purchase a mshcMigrate licence. The licence is free to use See also free key.
If you expect the users of your application to have internet access, another approach is to publish the help as HTML pages on a web server and link directly to those from your application.
Before migrating please note (for your existing workflow) the CHM Viewer is part of the Windows OS. A special viewer isn't required.

Unable to open designer for DevExpress version 8.2 in Visual Studio

I've inherited an old project which uses Devexpress 8.2.4 - so i went and installed an appropriate DXperience Subscription v8.2.4. Now, when I try to open the designer through Visual Studio 2019, I get a:
"This method explicitly uses CM policy, which has been obsoleted by the .NET Framework. In order to enable CAS policy for compatibility reasons, please use the NetFx40/LegacySecurtyPolicy configuration switch. Please see http://go.microsoft.com/fwlink/?LinkID=155570 for more information."
Then I tried to open the project in VS 2010, and upon attempt at opening the designer, same CAS policy error happens.
After editing the VS2010 DevEnv configuration file (and respective config file for VS 2019), as Thomas suggested in his answer here, my Visual Studio 2019 just started crashing during start, and my Visual Studio 2010 successfully started but it then crashed upon trying to select the designer object.
Yes, I'm trying to get this designer for Devexpress 8.2 to run in either IDE - I just need to get it to work so I can hopefully add a QR Code(is this even possible in v8.2.4???).
I just don't know how to access designer to actually graphically update the report. I did some Devexpress projects myself but using v19 and newer, but I'm having trouble now, opening this designer for old Devexpress 8.21.
Any help would be appreciated as this HAS to be done by tomorrow.
Also, if v8.2.4 doesn't support QR Code (an XRBarCode object), what would be an alternative for adding that QR Code functionality? Would I have to upgrade to newer versions - would that break something?
Thanks!

Visual basic 6.0 missing richtextedit component option

I am running Visual Basic 6.0
never had a problem with it before but today when I tried to add the rich text edit component to a new project, it was not in the list of components. I have googled the problem to no avail. i even went to the trouble of i uninstalling and reinstalling visual studio. still didn't help.
does anyone know how to fix this?
The file must be installed and registered on your computer before you can use it.
It is called Microsoft Rich Textbox Control 6.0. Look for the file richtx32.ocx. You may need to use the browse button on the components dialog if vb cannot find the file.
If the file is missing, it may be included in VB6 service packs at http://msdn.microsoft.com/en-us/vstudio/aa718364

Integrate help in Visual Studio 2008

I have been using Sandcastle Help File Builder to produce help files (HTML 1.0) and it's working pretty descent. However, Sandcastle Help File Builder gives you the opportunity to generate HTML 2.0 output, which is what is used in Visual Studio help system.
But what I haven't figured out is how can I integrate the HTML 2.0 help produced by SandCastle in Visual Studio.
Does anyone has a procedure (the steps needed) to make this happen?
Note:
Though I'm interested in any suggestions and tools you may have in mind, I would prefer the answers to focus on using Sandcastle (and Sandcastle Help File Builder).
Sorry, the note is not relevant.
Ok, you have HTML 2.0 help? Now you need to INTEGRATE it. There is nothing in sandcaastle to do that...
...look up HxMerge on the internet.
http://msdn.microsoft.com/en-us/library/bb164570%28VS.80%29.aspx
This is the tool needed to integrate your .hxs files into the visual studio help.
Btw., the "Sandcastle Help File Builder" is NOT a "Sandcastle Help File Builder", it is the "Help File Builder" - which existed long before Sandcastle. It is part of the HTML Help toolkit from Microsoft.

Error: The project type is not supported by this installation

I'm trying to open a silverlight project in Visual Studio 2008 and getting this error.
The project type is not supported by this installation.
Let me tell you I did installed:
VS2008
SP1
Silverlight Tools 3
Silverlight SDK
Silverlight
And they were installed in the sequence they are mentioned here. Still I'm getting the same error.
Adding some more details which might be helpful in identifying the cause:
When I try to create a new silverlight project it gives me error "Object reference not set to an instance of an object". And shows "...project creation failed."
I tried unistalling all of the things and installing them again. It really took a lot of time but didn't solved my problem.
Any help appreciated.
Open the project.csproj file with another editor, delete whatever you find between
<ProjectTypeGuids></ProjectTypeGuids>
I've had the same error when I tried to open a solution which required VB.NET, despite everything (to my knowledge) being C#.
If you've done a full install of VS then try this solution: http://andrewgunn.blogspot.com/2008/03/silverlight-project-type-is-not.html
Let us know how it goes.
Do you know who the silverlight project was created by? If so, then contact them and ask them if they used VS 2008 or if they used VS 2010 beta 1/2 (VS 2010 has a lot more and better support for silverlight so it's probable)
If they used VS 2010, then just go to the microsoft website and download you a copy... it's free(right now)
(and if you'll be doing much silverlight development, I'd recommend downloading it anyway. It has code completion for XAML!)
run devenv /setup

Resources