Help file windows application

WinHelpA function (winuser.h)

Launches Windows Help (Winhelp.exe) and passes additional data that indicates the nature of the help requested by the application.

Syntax

Parameters

A handle to the window requesting help. The WinHelp function uses this handle to keep track of which applications have requested help. If the uCommand parameter specifies HELP_CONTEXTMENU or HELP_WM_HELP, hWndMain identifies the control requesting help.

The address of a null-terminated string containing the path, if necessary, and the name of the Help file that WinHelp is to display.

The file name can be followed by an angle bracket (>) and the name of a secondary window if the topic is to be displayed in a secondary window rather than in the primary window. You must define the name of the secondary window in the [WINDOWS] section of the Help project (.hpj) file.

The type of help requested. For a list of possible values and how they affect the value to place in the dwData parameter, see the Remarks section.

Additional data. The value used depends on the value of the uCommand parameter. For a list of possible dwData values, see the Remarks section.

Return value

Returns nonzero if successful, or zero otherwise. To retrieve extended error information, call GetLastError.

Remarks

Before closing the window that requested help, the application must call WinHelp with the uCommand parameter set to HELP_QUIT. Until all applications have done this, Windows Help will not terminate. Note that calling Windows Help with the HELP_QUIT command is not necessary if you used the HELP_CONTEXTPOPUP command to start Windows Help.

This function fails if called from any context but the current user.

The following table shows the possible values for the uCommand parameter and the corresponding formats of the dwData parameter.

uCommand Action dwData
HELP_COMMAND Executes a Help macro or macro string. Address of a string that specifies the name of the Help macro(s) to run. If the string specifies multiple macro names, the names must be separated by semicolons. You must use the short form of the macro name for some macros because Windows Help does not support the long name.
HELP_CONTENTS Displays the topic specified by the Contents option in the [OPTIONS] section of the .hpj file. This command is for backward compatibility. New applications should provide a .cnt file and use the HELP_FINDER command. Ignored; set to 0.
HELP_CONTEXT Displays the topic identified by the specified context identifier defined in the [MAP] section of the .hpj file. Contains the context identifier for the topic.
HELP_CONTEXTMENU Displays the Help menu for the selected window, then displays the topic for the selected control in a pop-up window. Address of an array of DWORD pairs. The first DWORD in each pair is the control identifier, and the second is the context identifier for the topic. The array must be terminated by a pair of zeros <0,0>. If you do not want to add Help to a particular control, set its context identifier to -1.
HELP_CONTEXTPOPUP Displays the topic identified by the specified context identifier defined in the [MAP] section of the .hpj file in a pop-up window. Contains the context identifier for a topic.
HELP_FINDER Displays the Help Topics dialog box. Ignored; set to 0.
HELP_FORCEFILE Ensures that Windows Help is displaying the correct Help file. If the incorrect Help file is being displayed, Windows Help opens the correct one; otherwise, there is no action. Ignored; set to 0.
HELP_HELPONHELP Displays help on how to use Windows Help, if the Winhlp32.hlp file is available. Ignored; set to 0.
HELP_INDEX Displays the topic specified by the Contents option in the [OPTIONS] section of the .hpj file. This command is for backward compatibility. New applications should use the HELP_FINDER command. Ignored; set to 0.
HELP_KEY Displays the topic in the keyword table that matches the specified keyword, if there is an exact match. If there is more than one match, displays the Index with the topics listed in the Topics Found list box. Address of a keyword string. Multiple keywords must be separated by semicolons.
HELP_MULTIKEY Displays the topic specified by a keyword in an alternative keyword table. Address of a MULTIKEYHELP structure that specifies a table footnote character and a keyword.
HELP_PARTIALKEY Displays the topic in the keyword table that matches the specified keyword, if there is an exact match. If there is more than one match, displays the Topics Found dialog box. To display the index without passing a keyword, use a pointer to an empty string. Address of a keyword string. Multiple keywords must be separated by semicolons.
HELP_QUIT Informs Windows Help that it is no longer needed. If no other applications have asked for help, Windows closes Windows Help. Ignored; set to 0.
HELP_SETCONTENTS Specifies the Contents topic. Windows Help displays this topic when the user clicks the Contents button if the Help file does not have an associated .cnt file. Contains the context identifier for the Contents topic.
HELP_SETPOPUP_POS Sets the position of the subsequent pop-up window. Contains the position data. Use MAKELONG to concatenate the horizontal and vertical coordinates into a single value. The pop-up window is positioned as if the mouse cursor were at the specified point when the pop-up window was invoked.
HELP_SETWINPOS Displays the Windows Help window, if it is minimized or in memory, and sets its size and position as specified. Address of a HELPWININFO structure that specifies the size and position of either a primary or secondary Help window.
HELP_TCARD Indicates that a command is for a training card instance of Windows Help. Combine this command with other commands using the bitwise OR operator. Depends on the command with which this command is combined.
HELP_WM_HELP Displays the topic for the control identified by the hWndMain parameter in a pop-up window. Address of an array of DWORD pairs. The first DWORD in each pair is a control identifier, and the second is a context identifier for a topic. The array must be terminated by a pair of zeros <0,0>. If you do not want to add Help to a particular control, set its context identifier to -1.

В

The winuser.h header defines WinHelp as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

filecheck .ru

Help.exe — это исполняемый файл (программа) для Windows. Расширение имени файла .exe — это аббревиатура от англ. слова executable — исполнимый. Необходимо запускать исполняемые файлы от проверенных производителей программ, потому что исполняемые файлы могут потенциально изменить настройки компьютера или нанести вред вашему компьютеру. Бесплатный форум с информацией о файлах может помочь вам разобраться является ли help.exe вирусом, трояном, программой-шпионом, рекламой, которую вы можете удалить, или файл принадлежит системе Windows или приложению, которому можно доверять.

Вот так, вы сможете исправить ошибки, связанные с help.exe

  1. Используйте программу Настройщик Windows, чтобы найти причину проблем, в том числе и медленной работы компьютера.
  2. Обновите программу Command Line Help Utility. Обновление можно найти на сайте производителя (ссылка приведена ниже).
  3. В следующих пунктах предоставлено описание работы help.exe.

Информация о файле help.exe

Описание: help.exe не является необходимым для Windows. Файл help.exe находится в папке Windows для хранения временных файлов . Известны следующие размеры файла для Windows 10/8/7/XP 533,056 байт (33% всех случаев), 455,232 байт или 346,624 байт.
Приложение не видно пользователям. Нет описания файла. Это не системный файл Windows. Процесс начинает работу при запуске Windows (Смотрите ключ реестра: Run , MACHINE\Run ). Help.exe способен записывать ввод данных, мониторить приложения и манипулировать другими программами. Поэтому технический рейтинг надежности 89% опасности.

Если help.exe находится в подпапках «C:\Users\USERNAME», тогда рейтинг надежности 97% опасности. Размер файла 1,030,144 байт (50% всех случаев) или 885,808 байт. Нет описания файла. Это не файл Windows. Help.exe способен мониторить приложения.

Если help.exe находится в папке C:\Windows\System32, тогда рейтинг надежности 2% опасности. Размер файла 8,704 байт (50% всех случаев) или 10,240 байт. Это системный процесс Windows. У процесса нет видимого окна. Это файл, подписанный Microsoft.

Важно: Некоторые вредоносные программы используют такое же имя файла help.exe, например Trojan.Win32.Scar.hqbq или HEUR:Trojan.Win32.Generic (определяется антивирусом Kaspersky), и Gen:Trojan.Heur.AutoIT.9 (определяется антивирусом BitDefender). Таким образом, вы должны проверить файл help.exe на вашем ПК, чтобы убедиться, что это угроза. Мы рекомендуем Security Task Manager для проверки безопасности вашего компьютера.

Комментарий пользователя

Лучшие практики для исправления проблем с help

Аккуратный и опрятный компьютер — это главное требование для избежания проблем с help. Для этого требуется регулярная проверка компьютера на вирусы, очистка жесткого диска, используя cleanmgr и sfc /scannow, удаление программ, которые больше не нужны, проверка программ, которые запускаются при старте Windows (используя msconfig) и активация Автоматическое обновление Windows. Всегда помните о создании периодических бэкапов, или в крайнем случае о создании точек восстановления.

Если у вас актуальные проблемы, попробуйте вспомнить, что вы делали в последнее время, или последнюю программу, которую вы устанавливали перед тем, как появилась впервые проблема. Используйте команду resmon, чтобы определить процесс, который вызывает проблемы. Даже если у вас серьезные проблемы с компьютером, прежде чем переустанавливать Windows, лучше попробуйте восстановить целостность установки ОС или для Windows 8 и более поздних версий Windows выполнить команду DISM.exe /Online /Cleanup-image /Restorehealth. Это позволит восстановить операционную систему без потери данных.

Следующие программы могут вам помочь для анализа процесса help.exe на вашем компьютере: Security Task Manager отображает все запущенные задания Windows, включая встроенные скрытые процессы, такие как мониторинг клавиатуры и браузера или записей автозагрузки. Уникальная оценка рисков безопасности указывает на вероятность процесса быть потенциально опасным — шпионской программой, вирусом или трояном. Malwarebytes Anti-Malware определяет и удаляет бездействующие программы-шпионы, рекламное ПО, трояны, кейлоггеры, вредоносные программы и трекеры с вашего жесткого диска.

help сканер

Security Task Manager показывает все запущенные сервисы Windows, включая внедренные скрытые приложения (например, мониторинг клавиатуры или браузера, авто вход). Уникальный рейтинг надежности указывает на вероятность того, что процесс потенциально может быть вредоносной программой-шпионом, кейлоггером или трояном.

Бесплатный aнтивирус находит и удаляет неактивные программы-шпионы, рекламу, трояны, кейлоггеры, вредоносные и следящие программы с вашего жесткого диска. Идеальное дополнение к Security Task Manager.

Reimage бесплатное сканирование, очистка, восстановление и оптимизация вашей системы.

Расширение файла HELP

В таблице ниже предоставляет полезную информацию о расширение файла .help. Он отвечает на вопросы такие, как:

  • Что такое файл .help?
  • Какое программное обеспечение мне нужно открыть файл .help?
  • Как файл .help быть открыты, отредактированы или напечатано?
  • Как конвертировать .help файлов в другой формат?

Оглавление

Мы надеемся, что вы найдете на этой странице полезный и ценный ресурс!

0 расширений и 1 псевдонимы, найденных в базе данных

✅ Windows Help File

Другие типы файлов могут также использовать расширение файла .help.

🚫 Расширение файла .help часто дается неправильно!

По данным Поиск на нашем сайте эти опечатки были наиболее распространенными в прошлом году:

Это возможно, что расширение имени файла указано неправильно?

Мы нашли следующие аналогичные расширений файлов в нашей базе данных:

🔴 Не удается открыть файл .help?

Если дважды щелкнуть файл, чтобы открыть его, Windows проверяет расширение имени файла. Если Windows распознает расширение имени файла, файл открывается в программе, которая связана с этим расширением имени файла. Когда Windows не распознает расширение имени файла, появляется следующее сообщение:

Windows не удается открыть этот файл:

Чтобы открыть этот файл, Windows необходимо знать, какую программу вы хотите использовать для его открытия.

Если вы не знаете как настроить сопоставления файлов .help, проверьте FAQ.

🔴 Можно ли изменить расширение файлов?

Изменение имени файла расширение файла не является хорошей идеей. Когда вы меняете расширение файла, вы изменить способ программы на вашем компьютере чтения файла. Проблема заключается в том, что изменение расширения файла не изменяет формат файла.

Если у вас есть полезная информация о расширение файла .help, напишите нам!

Работа с файлами Work with files

В этом разделе описывается,как приступить к чтению файлов и записи в файлы в приложении универсальной платформы Windows (UWP). This topic covers what you need to know to get started reading from, and writing to, files in a Universal Windows Platform (UWP) app. Здесь представлены основные интерфейсы API и типы, а также ссылки на дополнительные ресурсы. The main APIs and types are introduced, and links are provided to help you learn more.

Это не руководство. This is not a tutorial. Если вам необходимо полное руководство, ознакомьтесь с разделом Создание, запись и чтение файла, в котором показано, как создать, считать и записать файл, а также использовать буферы и потоки. If you want a tutorial, see Create, write, and read a file which, in addition to demonstrating how to create, read, and write a file, shows how to use buffers and streams. Вас также может заинтересовать пример доступа к файлам, в котором показано, как создать, считать, записать, скопировать и удалить файл, а также как получать свойства файла и запоминать файлу или папку, чтобы ваше приложение легко могло получить доступ к ним снова. You may also be interested in the File access sample which shows how to create, read, write, copy and delete a file, as well as how to retrieve file properties and remember a file or folder so that your app can easily access it again.

Мы рассмотрим код для записи текста в файл и чтения текста из файла, а также для получения доступа к локальным, перемещаемым и временным папкам приложения. We’ll look at code to write and read text from a file and how to access the app’s local, roaming, and temporary folders.

Что необходимо знать? What do you need to know

Ниже приведены основные типы, о которых нужно знать для чтения текста и записи текста в файл. Here are the main types you need to know about to read or write text from/to a file:

Windows.Storage.StorageFile представляет файл. Windows.Storage.StorageFile represents a file. Этот класс содержит свойства, которые предоставляют сведения о файле, и методы для создания, открытия, копирования, удаления и переименования файлов. This class has properties that provide information about the file, and methods for creating, opening, copying, deleting, and renaming files. Возможно, вы привыкли работать со строковыми путями. You may be used to dealing with string paths. Есть ряд API среды выполнения Windows, принимающих строковый путь, но чаще всего вы будете использовать объект StorageFile для представления файла, так как некоторые файлы на платформе UWP могут быть без пути или путь к ним может быть слишком длинным. There are some Windows Runtime APIs that take a string path, but more often you will use a StorageFile to represent a file because some files you work with in UWP may not have a path, or may have an unwieldy path. Используйте метод StorageFile.GetFileFromPathAsync() для преобразования строкового пути в объект StorageFile. Use StorageFile.GetFileFromPathAsync() to convert a string path to a StorageFile.

Класс FileIO предоставляет простой способ для чтения и записи текста. The FileIO class provides an easy way to read and write text. Этот класс также может читать и записывать массив байтов или содержимое буфера. This class can also read/write an array of bytes, or the contents of a buffer. Этот класс очень похож на класс PathIO. This class is very similar to the PathIO class. Основное различие заключается в том, что вместо использования строкового пути, как в PathIO, он принимает StorageFile. The main difference is that instead of taking a string path, as PathIO does, it takes a StorageFile.

Windows.Storage.StorageFolder представляет папку (каталог). Windows.Storage.StorageFolder represents a folder (directory). Этот класс содержит методы для создания файлов, запроса содержимого папки, создания, переименования и удаление папок, а также свойства, которые предоставляют сведения о папке. This class has methods for creating files, querying the contents of a folder, creating, renaming, and deleting folders, and properties that provide information about a folder.

Вот распространенные способы получения StorageFolder. Common ways to get a StorageFolder include:

  • Windows.Storage.Pickers.FolderPicker позволяет пользователю перейти к требуемой папке. Windows.Storage.Pickers.FolderPicker which allows the user to navigate to the folder they want to use.
  • Windows.Storage.ApplicationData.Current предоставляет объект StorageFolder для одной из локальных для приложения папок, например локальной, перемещаемой и временной папки. Windows.Storage.ApplicationData.Current which provides the StorageFolder specific to one of folders local to the app like the local, roaming, and temporary folder.
  • Windows.Storage.KnownFolders предоставляет StorageFolder для известных библиотек, таких как «Музыка» и «Изображения». Windows.Storage.KnownFolders which provides the StorageFolder for known libraries such as the Music or Picture libraries.

Запись текста в файл Write text to a file

В рамках этого обзора мы рассмотрим простой сценарий: чтение и запись текста. For this introduction, we will focus on a simple scenario: reading and writing text. Начнем с кода, который использует класс FileIO, чтобы записать текст в файл. Let’s start by looking at some code that uses the FileIO class to write text to a file.

Сначала мы определим, где файл должен быть размещен. We first identify where the file should be located. Windows.Storage.ApplicationData.Current.LocalFolder предоставляет доступ к локальной папке данных, которая создается для приложения во время установки. Windows.Storage.ApplicationData.Current.LocalFolder provides access to the local data folder, which is created for your app when it is installed. Дополнительные сведения о папках, доступных вашему приложению, см. в разделе Доступ к файловой системе. See Access the file system for details about the folders your app can access.

Затем мы используем StorageFolder для создания файла (или его открытия, если он уже существует). Then, we use StorageFolder to create the file (or open it if it already exists).

Класс FileIO предоставляет удобный способ записи текста в файл. The FileIO class provides a convenient way to write text to the file. FileIO.WriteTextAsync() заменяет все содержимое файла предоставленным текстом. FileIO.WriteTextAsync() replaces the entire contents of the file with the provided text. FileIO.AppendLinesAsync() добавляет в файл коллекцию строк, записывая по одному строковому значению в каждую строку. FileIO.AppendLinesAsync() appends a collection of strings to the file—writing one string per line.

Чтение текста из файла Read text from a file

Как и при записи в файл, чтение файла начинается с указания его расположения. As with writing a file, reading a file starts with specifying where the file is located. Мы будем использовать то же расположение, что и в примере выше. We’ll use the same location as in the example above. Затем мы используем класс FileIO для чтения содержимого файла. Then we’ll use the FileIO class to read its contents.

Вы можете также считывать каждую строку файла в отдельные строки в коллекции с помощью IList contents = await Windows.Storage.FileIO.ReadLinesAsync(sampleFile); . You can also read each line of the file into individual strings in a collection with IList contents = await Windows.Storage.FileIO.ReadLinesAsync(sampleFile);

Доступ к файловой системе Access the file system

На платформе UWP доступ к папке ограничивается, чтобы обеспечить целостность и конфиденциальность данных пользователя. In the UWP platform, folder access is restricted to ensure the integrity and privacy of the user’s data.

Папки приложения App folders

Вот некоторые из папок приложения, которые часто используются. These are some of the app folders you will commonly use:

LocalState: для локальных на текущем устройстве данных. LocalState: For data local to the current device. При резервном копировании устройства данные в этом каталоге сохраняются в образе резервной копии в службе OneDrive. When the device is backed up, data in this directory is saved in a backup image in OneDrive. Если пользователь сбрасывает или заменяет устройство, эти данные будут восстановлены. If the user resets or replaces the device, the data will be restored. Для доступа к этой папке используйте Windows.Storage.ApplicationData.Current.LocalFolder. . Сохраните локальные данные, которые не требуется архивировать в OneDrive, в объекте LocalCacheFolder, к которому можно обратиться с помощью Windows.Storage.ApplicationData.Current.LocalCacheFolder . Access this folder with Windows.Storage.ApplicationData.Current.LocalFolder. Save local data that you don’t want backed up to OneDrive in the LocalCacheFolder, which you can access with Windows.Storage.ApplicationData.Current.LocalCacheFolder .

RoamingState: для данных, которые должны реплицироваться на всех устройствах, где установлено приложение. RoamingState: For data that should be replicated on all devices where the app is installed. Windows ограничивает объем данных, которые будут перемещаться, поэтому сохраняйте здесь только параметры пользователя и небольшие файлы. Windows limits the amount of data that will roam, so only save user settings and small files here. Для доступа к перемещаемой папке используйте Windows.Storage.ApplicationData.Current.RoamingFolder . Access the roaming folder with Windows.Storage.ApplicationData.Current.RoamingFolder .

TempState: для данных, которые могут быть удалены, когда приложение не выполняется. TempState: For data that may be deleted when the app isn’t running. Для доступа к этой папке используйте Windows.Storage.ApplicationData.Current.TemporaryFolder . Access this folder with Windows.Storage.ApplicationData.Current.TemporaryFolder .

Доступ к остальной части файловой системы Access the rest of the file system

Приложение UWP должно объявить свои намерения для доступа к определенной библиотеке пользователя, добавив соответствующую возможность в свой манифест. A UWP app must declare its intent to access a specific user library by adding the corresponding capability to its manifest. Затем при установке приложения пользователям предлагается подтвердить, что они разрешили доступ к указанной библиотеке. The user is then prompted when the app is installed to verify that they authorize accessing the specified library. Если это не так, приложение не устанавливается. If not, the app is not installed. Существуют возможности для доступа к библиотекам изображений, видео и музыки. There are capabilities to access the pictures, videos, and music libraries. Полный список доступен в разделе Объявление возможностей приложения. See App capability declaration for a full list. Чтобы получить StorageFolder для этих библиотек, используйте класс Windows.Storage.KnownFolders. To get a StorageFolder for these libraries, use the Windows.Storage.KnownFolders class.

Библиотека документов Documents library

Хотя и существует возможность доступа к библиотеке документов пользователя, она ограничена, то есть приложение, которое ее объявит, будет отклонено в Microsoft Store, если вы не выполните процедуру получения специального разрешения. Although there is a capability to access the user’s documents library, that capability is restricted which means that an app declaring it will be rejected by the Microsoft Store unless you follow a process to get special approval. Оно не предназначено для общего использования. It is not intended for general use. Вместо этого используйте средства выбора файла или папки (см. разделы Открытие файлов и папок с помощью средства выбора и Сохранение файла с помощью средства выбора), позволяющие пользователям перейти к папке или файлу. Instead, use the file or folder pickers (see Open files and folders with a picker and Save a file with a picker) which allow the user to navigate to the folder or file. При переходе пользователей к файлу или папке они неявно разрешают приложению доступ к ним, и система разрешает доступ. When the user navigates to a folder or file, they have implicitly given permission for the app to access it and the system allows access.

Общий доступ General access

Кроме того, ваше приложение может объявить ограниченную возможность broadFileSystem в манифесте, которая также должна быть утверждена в Microsoft Store. Alternatively, your app can declare the restricted broadFileSystem capability in its manifest, which also requires Microsoft Store approval. Затем приложение сможет получить доступ к любому файлу, к которому обращается пользователь, без вмешательства средства выбора файла или папки. Then the app can access any file that the user has access to without requiring the intervention of a file or folder picker.

Полный список расположений, которые доступны приложениям, приведен в разделе Разрешения на доступ к файлам. For a comprehensive list of the locations that apps can access, see File access permissions.

Полезные интерфейсы API и документы Useful APIs and docs

Ниже приведено краткое описание интерфейсов API и другая полезная документация, которая поможет вам приступить к работе с файлами и папками. Here is a quick summary of APIs, and other useful documentation, to help get you started with files and folders.

Читайте также:  Linux скрипт нажатия клавиш
Оцените статью