UtilApplicationAppOpenWithRegister Method
Registers an application for OpenWith features
through the HKEY_CLASSES_ROOT\Applications\ApplicationName.exe registry subkey.
Namespace: DevCase.Core.ApplicationAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
Parameters
- info AppOpenWithInfo
-
The application specific information for OpenWith registration.
This is a code example.
No code example is currently available or this language may not be supported.
Dim file As New FileInfo("C:\Program Files\MyApplication.exe")
Dim info As New AppOpenWithInfo(file)
With info
.FriendlyAppName = Path.GetFileNameWithoutExtension(file.Name)
.Verb = String.Format("""{0}"" ""%1""", file.FullName)
.DefaultIcon = String.Format("""{0}"",0", file.FullName)
.TaskbarGroupIcon = info.DefaultIcon
.SupportedTypes = {".mp2", ".mp3"}
.IsHostApp = False
.NoOpenWith = False
.NoStartPage = False
.UseExecutableForTaskbarGroupIcon = False
End With
AppUtil.AppOpenWithRegister(info)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.