Skip to content

Planet-Source-Code/create-a-internet-shorcut-on-anyone-s-computer__1-12248

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

Create a Internet Shorcut on Anyone's Computer

Description

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

More Info

Path- path should be complete with filename ending in url (e.g. "C:\Shortcut.url")

Hyperlink- this is the complete website address

So easy I think you can handle it.

Submitted On
By N/A
Level Beginner
User Rating 4.0 (20 globes from 5 users)
Compatibility VB 4.0 (32-bit), VB 5.0, VB 6.0
Category Files/ File Controls/ Input/ Output
World Visual Basic
Archive File

Source Code

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published