Lav et modul og skriv:
<pre>
Public Declare Function GetDeviceCaps Lib "gdi32" (ByVal hdc As Long, ByVal nIndex As Long) As Long
</pre>
Så skulle VB 6.0 kende GetDeviceCaps.
Skriv derefter i din form:
<pre>
Private Form_Load()
MsgBox GetDeviceCaps(hdc, 12)
End Sub
</pre>
Det skulle virke
I Am The Cyborg, and i`m here to serve