Click here to Skip to main content
15,921,028 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to connect database when it has password protection??? Pin
Mr.Jump16-Aug-05 19:37
Mr.Jump16-Aug-05 19:37 
Generalpage hit counter & search engine Pin
BORN...again!16-Aug-05 15:49
BORN...again!16-Aug-05 15:49 
GeneralRe: page hit counter & search engine Pin
Christian Graus16-Aug-05 16:19
protectorChristian Graus16-Aug-05 16:19 
Generalcalling VC++ DLL from VB .NET Pin
Jiannong16-Aug-05 15:44
Jiannong16-Aug-05 15:44 
GeneralRe: calling VC++ DLL from VB .NET Pin
Christian Graus16-Aug-05 16:20
protectorChristian Graus16-Aug-05 16:20 
GeneralRe: calling VC++ DLL from VB .NET Pin
Jiannong16-Aug-05 16:45
Jiannong16-Aug-05 16:45 
GeneralRe: calling VC++ DLL from VB .NET Pin
Christian Graus16-Aug-05 16:52
protectorChristian Graus16-Aug-05 16:52 
GeneralRe: calling VC++ DLL from VB .NET Pin
Jiannong16-Aug-05 17:02
Jiannong16-Aug-05 17:02 
I call it like this

Imports System.Runtime.InteropServices
Public Class Win32
Declare Auto Function MessageBox Lib "user32.dll" _
(ByVal hWnd As Integer, _
ByVal txt As String, ByVal caption As String, _
ByVal Typ As Integer) As Integer
End Class

But don't know what is difference between above and below

Imports System.Runtime.InteropServices
Public Class Win32
<dllimport ("user32.dll",="" charset="" :="CharSet.Auto)"> _
Public Shared Function MessageBox (ByVal hWnd As Integer, _
ByVal txt As String, ByVal caption As String, _
ByVal Typ As Integer) As Integer
End Function
End Class

What is CharSet?

thanks, James
GeneralRe: calling VC++ DLL from VB .NET Pin
Christian Graus16-Aug-05 17:04
protectorChristian Graus16-Aug-05 17:04 
GeneralRe: calling VC++ DLL from VB .NET Pin
Jiannong16-Aug-05 17:11
Jiannong16-Aug-05 17:11 
GeneralRe: calling VC++ DLL from VB .NET Pin
Christian Graus16-Aug-05 17:15
protectorChristian Graus16-Aug-05 17:15 
GeneralRe: calling VC++ DLL from VB .NET Pin
Jiannong17-Aug-05 15:56
Jiannong17-Aug-05 15:56 
GeneralRe: calling VC++ DLL from VB .NET Pin
Christian Graus17-Aug-05 18:18
protectorChristian Graus17-Aug-05 18:18 
GeneralRe: calling VC++ DLL from VB .NET Pin
Jiannong17-Aug-05 19:09
Jiannong17-Aug-05 19:09 
GeneralNew To VB.Net Pin
mdcoker16-Aug-05 10:27
mdcoker16-Aug-05 10:27 
GeneralRe: New To VB.Net Pin
ToddHileHoffer16-Aug-05 10:38
ToddHileHoffer16-Aug-05 10:38 
GeneralText Format Pin
ryanchk16-Aug-05 9:01
ryanchk16-Aug-05 9:01 
GeneralRe: Text Format Pin
thealca16-Aug-05 14:13
thealca16-Aug-05 14:13 
GeneralRe: Text Format Pin
ryanchk17-Aug-05 3:38
ryanchk17-Aug-05 3:38 
Generaldll injection with vb.net Pin
deatos16-Aug-05 7:21
deatos16-Aug-05 7:21 
GeneralRe: dll injection with vb.net Pin
Christian Graus16-Aug-05 13:59
protectorChristian Graus16-Aug-05 13:59 
Generalvb.net winform move folder Pin
partt16-Aug-05 7:03
partt16-Aug-05 7:03 
GeneralRegular Expression in VBA Pin
alex_sleiborg16-Aug-05 4:58
alex_sleiborg16-Aug-05 4:58 
GeneralDynamic arrays Pin
macca2416-Aug-05 3:43
macca2416-Aug-05 3:43 
GeneralRe: Dynamic arrays Pin
toxcct16-Aug-05 3:47
toxcct16-Aug-05 3:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.