WindowsInternetShortcutMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsInternetShortcutMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Windows Shortcuts MBS Win Plugin ❌ No ✅ Yes ❌ No ❌ No Desktop, Console & Web
A class to create internet shortcuts on Windows.
Example
#if targetwin32
dim w as WindowsInternetShortcutMBS

w=new WindowsInternetShortcutMBS

w.URL="http://www.monkeybreadsoftware.de"
w.Command=3
w.Icon=windowsSystemFolder.child("shell32.dll")
w.iconID=41
w.Location=SpecialFolder.Desktop.child("A new link to explorer.lnk")
w.Working=volume(0)

if w.CreateInternetShortCut then
if w.AddInternetShortCutIcon then
msgBox "Shortcut created."
else
msgBox "Failed to add icon."
end if
else
msgBox "Failed to create shortcut."
end if
#endif

This class has no sub classes.

Some examples using this class:


The items on this page are in the following plugins: MBS Win Plugin.


WindowsIniMBS   -   WindowsIPAddressMBS


💬 Ask a question or report a problem