VB.Net Tutorial/GUI Applications/File Download
Версия от 19:40, 26 мая 2010; (обсуждение)
Download a file
<source lang="vbnet">Imports System.Runtime.InteropServices
public class DownloadAFile
Private Declare Function DoFileDownload Lib "shdocvw.dll" (ByVal lpszFile As String) As Integer Public Shared Sub Main Try DoFileDownload("www.vbex.ru") Catch ex As Exception Console.WriteLine(ex.StackTrace.ToString()) End Try End Sub
End Class</source>