CLR: .Net / Mono / Boo / Otros CLR > VB .NET

 Api en VB2005???

(1/1)

Jimbenit:
Puedo incluir API's  de windows en el VB2005???
Como puedo hacer esto??

dlplenin:
este es un ejemplo:

  <DllImport("gdi32.DLL", EntryPoint:="BitBlt", SetLastError:=True, CharSet:=CharSet.Unicode,    ExactSpelling:=True,     CallingConvention:=CallingConvention.StdCall)>
    Private Shared Function BitBlt(ByVal hdcDest As IntPtr, ByVal nXDest As Integer, ByVal nYDest As Integer, ByVal nWidth As Integer, ByVal nHeight As Integer, ByVal hdcSrc As IntPtr, ByVal nXSrc As Integer, ByVal nYSrc As Integer, ByVal dwRop As System.Int32) As Boolean

    End Function

saludos

Jimbenit:
B) Gracias por responder, voy a intentar...

Jimbenit:
Necesito hacer otra pregunta, no quisiera abrir un nuevo tema, asi que la hare aqui mismo

Como agrego yo un archivo ( por ejemplo un bloc de notas ) a la compilacion de mi .exe?
Este archivo es consultado por mi apliacion en tiempo de ejecución, pero no se como agregarlo para que mi apliacion se compile junto con este archivo.

Jimbenit:
Lo resolvi

Todo lo que habia que hacer es:
-> click en el menu proyecto
-> click en agreagar elemento existente
y luego seleccionar tu achivo y listo ^_^

Navegación

[0] Índice de Mensajes

Ir a la versión completa