Advertisement
5_2007-2008 Files/ File Controls/ Input/ Output #173667

Launch any file!

With this little function you can LAUNCH ANY TYPE OF FILE that windows reconizes. This means that you can open any type of file that windows has the application for it. For example: You can run a file named "movie.rm" (RealPlayer fomat), but if you don't have Real Player installed, the function just won't do anything! No bugs at all!

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
Public Function Win32Keyword(ByVal URL As String) As Long
weburl = ShellExecute(0&, vbNullString, URL, vbNullString, vbNullString, vbNormalFocus)
End Function

'For example: put the next code under a commad button:
Private Sub Command1_Click()
win32keyword("C:\bla\bla\movie.rm")
End Sub
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine