|
| Re: Åbn default web-browser Fra : Klaus Petersen |
Dato : 25-02-01 21:47 |
|
Koden jeg bruger er:
Declerationer:
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
Public Const conSwNormal = 1
Kode:
ShellExecute hwnd, "open", " http://www.danfoss/springs.com", vbNullString,
vbNullString, conSwNormal
| |
Thomas J. (26-02-2001)
| Kommentar Fra : Thomas J. |
Dato : 26-02-01 01:38 |
|
fdgfgfg
"Klaus Petersen" <klaus@petersen-online.dk> skrev i en meddelelse
news:T7em6.19255$TL6.1020866@news000.worldonline.dk...
> Koden jeg bruger er:
>
> Declerationer:
>
> 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
> Public Const conSwNormal = 1
>
> Kode:
>
> ShellExecute hwnd, "open", " http://www.danfoss/springs.com", vbNullString,
> vbNullString, conSwNormal
>
>
| |
Thomas J. (26-02-2001)
| Kommentar Fra : Thomas J. |
Dato : 26-02-01 01:59 |
|
Hej,
Din kode virker fint for mig - der er dog en fejl i din URL.
"Klaus Petersen" <klaus@petersen-online.dk> skrev i en meddelelse
news:T7em6.19255$TL6.1020866@news000.worldonline.dk...
> Koden jeg bruger er:
>
> Declerationer:
>
> 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
> Public Const conSwNormal = 1
>
> Kode:
>
> ShellExecute hwnd, "open", " http://www.danfoss/springs.com", vbNullString,
> vbNullString, conSwNormal
>
>
| |
|
|