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


The biggest plugin in space...