Torna al Thread

'Da qui Option Explicit Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long Private Const SW_SHOWNORMAL = 1 Private Const STYLE_NORMAL = 11 'A qui metti su in alto 'Questo dove vuoi Private Sub Label1_Click() Dim result As Long result = ShellExecute( _ Me.hWnd, "Open", _ "http://www.dotnethell.it", "", _ "", SW_SHOWNORMAL) End Sub
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5