Chm file displaying Page can not be displayed - chm

I have created compiled html (chm) file using the Microsoft html Help Workshop. when I tried to open the generated chm file, it is showing message "Page Can not be displayed". But when I click on content topic only then I am able to see corresponding page content.
Do I need to set any thing so show the selected page by default.

The short way:
If the CHM help file resides on a network drive please copy this file to a local hard drive first and try again. You'll find some additional and troubleshooting information at:
http://www.help-info.de/en/xml/maml_troubleshooting_hh.xml
http://www.grainge.org/pages/authoring/chm_mspatch/896358.htm
Problem: The help file will appear, but instead of the topic text you will see an error message "this page cannot be displayed".
Cause: Microsoft released some security patches that makes it impossible to view CHM files that are stored on a network drive (as opposed to CHM files stored on your own computer).
Solution: There is a work-around to allow viewing across a network as discussed on the following links:
http://west-wind.com/weblog/posts/2928.aspx
http://www.helpscribble.com/chmnetwork.html
The problems can also occur if the CHM file name or the path to the file contains a number sign (#). If the CHM file name contains the # symbol, then the topics in the table of contents do not appear. If the path contains the # symbol, then you may receive an access violation error message.
To work around this issue, remove the # symbol from the file name or from the path to the file.
If you have a compiled collection of CHM's (so called "merged CHM") some other problems are possible.
If you are new in using HTMLHelp Workshop:
Question: Is there a way to set a default page to be displayed when a .chm file is opened? I would like to display the page associated with the first item in the Table of Contents.
Answer: You can do this with Microsoft HTMLHelp Workshop.
Open your HHP file with HH Workshop
Click the first icon "Change project options" on the "Project" tab
Set the "Default file" from the file list of the combo box
Compile your project
HHP file example (open with notepad):
\\\
..
[OPTIONS]
Binary TOC=No
Binary Index=Yes
Compiled File=Help_Coding-Example_VB6.chm
Contents File=Help_Coding-Example_VB6.hhc
Index File=Help_Coding-Example_VB6.hhk
Default Window=main
Default Topic=index.htm
..
///

There is a solution:
In your HTML Help Workshop go to the "Project" tab
Press button "Change project options"
In the "Default file" field put the name of your default file which is already exist in your project. File should have .htm extension (for example about.htm)
Compile project again and you will see that problem is fixed

Related

HTML files have disappeared from VS Code Project Folders

Upon opening my VS Code project and selecting the single HTML file inside it, a prompt appeared stating that the HTML file doesn’t exist: “(Error: Unable to resolve nonexistent file [file path])”. I opened the only other VS Code project I have containing an HTML file and the single HTML file within that project had disappeared as well.
I then opened Finder and, navigating to the two projects, found that there were no longer HTML files inside either project folders; only the CSS and JavaScript files I had created were there. Having not opened or touched the projects for about a week or so, I’m confused as to how these two HTML files in two different projects are both now “nonexistent.”
So far I’ve tried to show hidden files in Finder, look up the file names in Spotlight Search, check my Trash bin, and search for the file in my iCloud Drive. However, I still haven’t been able to find or recover the files.
Try to change the file extension from .html to .blade.php . Close your vs code and try to open your projects again.
from the get started window open the folder or file there the drop down menu didn't work for me

Error when opening project on Construct 2

I'm getting this error when I open the project on Construct 2, How can i solve this problem?
This error is indicating that the file within the project is no longer available to load. Therefore it must have been deleted or moved.
You will need to go to the games directory and place biru.png within the texture directory.
This should help with the error, once the project is opened you can then delete the object or try find where the original file is.
You can fix this,
Open the layouts folder.
Open each xml file and search for Keyword "biru.png"
Once you located that, remove this event where it exists.
Save the XML and close editor.
Go back and open the "New project.caproj"
If the Porject extension isn't ".caproj"
First make a backup copy of this project file.
Right click on project and name it as .zip file.
Unzip the file
Navigate into Layouts folder
Open each xml file and search for Keyword "biru.png"
Once you located that, remove this event where it exists.
Save the XML and close editor.
Go back and open the "New project.caproj"

How can I reformat Source Code for files without file extension in WebStorm 2016.1.3?

How can I reformat Source Code for files without file extension in WebStorm 2016.1.3 ?
Example: I've a automated_generated_json_file_without_extension in one line and the name of the files are always different. I don't want to configure all these file names in "File Types" Dialog and register new patterns.
In Sublime you can change the file type at the right bottom corner, is there a similar function in WebStorm?
Unfortunately you cannot change file type of the file on the fly in WebStorm.
Possible workarounds:
Have a set of files (e.g. test.json, test.js etc) somewhere in a project where you can copy-paste this file content, reformat it there and copy it back.
Use "Scratch files" functionality (Tools | New Scratch File...) and then the same copy-paste content to reformat.

HTML/CSS Editor with Multi-Computer Code Folding

I'm looking for a code editor that saves folded/collapsed code. I want to be able to open the file on a 2nd computer and have the same folded/collapsed code structure. I understand that HTML/CSS cannot have this preference built in. If the editor needs to save the file in some propriety file type, I'm fine with that. I just need to be able to export it as plain HTML/CSS files once it's ready for publishing.
(Windows 7)
UltraEdit supports code folding for text files of any type and it supports also saving/restoring of folds on close/open.
In menu Advanced there is the menu item Configuration. In the settings tree navigate to Editor Display - Code Folding and enable at least the settings Save folded lines and Enable show/hide lines and code folding.
By default UltraEdit remembers which file are open with which lines hidden/folded on exit in file uedit32.ini stored on Windows computers by default in directory %APPDATA%\IDMComp\UltraEdit\. But this file contains also all other user configurations like the 2 settings I wrote above.
Therefore it is better to use a project or at least a workspace for editing the HTML/CSS files for your website(s). A project/workspace can be created in menu Project with New Project/Workspace. Using a project/workspace results in remembering which files are open on closing the project in a separate project related workspace file instead of uedit32.ini. The workspace file remembers not only the open files on closing the project, it remebers also which lines are folded, where the caret is positioned in each file, which file was the active file on close, and some other information to restore the workspace on next opening of the project/workspace.
But before creating the project/workspace, you need to enable the setting Save project information for use on multiple systems at Advanced - Configuration - File Handling - Advanced. As you can read on help page opened by clicking on button Help of this configuration dialog, this setting results in storing the workspace file of a project in same directory as the project file.
The location of the project file is defined by you on creating the project/workspace and is quite often in root directory or a subdirectory of a local copy of a website. With *.prj (the project file) and *.pui (the project user interface file = workspace file) somewhere in directory tree of the website, you have those 2 files also shared between multiple systems together with the HTML and CSS files.
See the user forum topics Create project from an existing directory tree? and Why save files to a Project? in the user-to-user forums of UltraEdit and take also a look on Tutorials/Power Tips page of IDM Computer Solutions, Inc.
SynWrite (Windows) supports it. Make some folding, then save a session file (*.syn). This file contains folded states and more. Anytime later, just open session file (menu File - Sessions) and folding (and more) restored.
You have a CSSMENU editor where you can create menu bars. This editor saves a file in such a way that it can be moved to any other pc as you mentioned . Html file will be saved and the related Css files are stored in another folder where you can move those files as your wish. No need of changing any code.

Adding a topic file using MS Help Workshop

I have a set of files used to make up a .CHM help file using Help Workshop. I've added a new topic in a separate file in the html sub-directory with a link in one of the other files. Help Workshop makes a .CHM file including the new file BUT the file is NOT listed under [FILES] under the project tab nor is it listed in the CONTENTS section when I run the .CHM file.
When I click on the ADD/REMOVE TOPIC FILES button under the project tab, my new .HTM file is not among those listed.
How do I get Help Workshop to list the new files?
I figured out what my problem was; it was one of expectations. I found I had to press the add file in the project tab, then press the add button before I could see the file. Seems pretty weird to me. Guess there's a distinction made between file already in the project and those not in. The initial add file dialog only includes those already in the project.