Advertisement
2002VB Files/ File Controls/ Input/ Output #19961

Create a Internet Shorcut on Anyone's Computer

This code will create an internet shortcut on someone's computer. All you have to do it call it with a path and hyperlink!

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
Private Sub CreateHyperlink(Path As String, Hyperlink as String)
  Open Path For Output As #1 'open file access
  Print #1, "[Internetshortcut]" 'print on first line
  Print #1, "URL=" & Hyperlink 'print url on second line
  Close #1 'close it
End Sub
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine