Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

WindowsInternetShortcutMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Windows Shortcuts MBS Win Plugin No Yes No Yes, Windows only No
Function: 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

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:


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


WindowsIniMBS   -   WindowsIPAddressMBS




Links
MBS Xojo PDF Plugins