/ Forside / Teknologi / Udvikling / VB/Basic / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
VB/Basic
#NavnPoint
berpox 2425
pete 1435
CADmageren 1251
gibson 1230
Phylock 887
gandalf 836
AntonV 790
strarup 750
Benjamin... 700
10  tom.kise 610
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
>
>



Søg
Reklame
Statistik
Spørgsmål : 177551
Tips : 31968
Nyheder : 719565
Indlæg : 6408825
Brugere : 218887

Månedens bedste
Årets bedste
Sidste års bedste