Platforms to show: All Mac Windows Linux Cross-Platform
/Win/Windows Shortcuts/Internet Shortcut
Required plugins for this example: MBS Util Plugin, MBS Win Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Win/Windows Shortcuts/Internet Shortcut
This example is the version from Thu, 31th Jul 2019.
Project "Internet Shortcut.xojo_binary_project"
MenuBar Menu
MenuItem UntitledMenu3 = ""
MenuItem UntitledMenu2 = "File"
MenuItem FileQuit = "Quit"
MenuItem UntitledMenu0 = "Edit"
MenuItem EditUndo = "Undo"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "Cut"
MenuItem EditCopy = "Copy"
MenuItem EditPaste = "Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
EventHandler Sub Open()
dim w as WindowsInternetShortcutMBS
w=new WindowsInternetShortcutMBS
w.Command=3
w.Icon=WindowsSystemFolderMBS.child("shell32.dll").NativePath
w.iconID=41
w.Location=SpecialFolder.Desktop.child("A new link to explorer.url").NativePath
w.URL="http://www.monkeybreadsoftware.de"
w.WorkingDirectory=volume(0).NativePath
if w.Createinternetshortcut then
msgBox "Internet Shortcut created."
else
msgBox "Failed to create internet shortcut."
end if
quit
End EventHandler
End Class
End Project
See also:
- /Win/Windows Audio Mixer
- /Win/Windows Disc Info
- /Win/Windows File Copy Threaded
- /Win/Windows Font Unicode and Code Pages
- /Win/Windows Key Filter
- /Win/Windows Registry Test
- /Win/Windows Shortcuts/File Shortcut
- /Win/Windows Switch Printers for printing
- /Win/Windows System Tray
- /Win/Windows Taskbar List
The items on this page are in the following plugins: MBS Win Plugin.