Click here to Skip to main content
15,903,012 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionList box ordering at run time Pin
samerh26-Apr-07 3:35
samerh26-Apr-07 3:35 
AnswerRe: List box ordering at run time Pin
samerh26-Apr-07 4:07
samerh26-Apr-07 4:07 
QuestionCD\DVD-rom Pin
Xmen Real 26-Apr-07 2:31
professional Xmen Real 26-Apr-07 2:31 
AnswerRe: CD\DVD-rom Pin
leckey26-Apr-07 4:33
leckey26-Apr-07 4:33 
AnswerRe: CD\DVD-rom Pin
Dave Kreskowiak26-Apr-07 4:59
mveDave Kreskowiak26-Apr-07 4:59 
GeneralRe: CD\DVD-rom Pin
Xmen Real 26-Apr-07 5:00
professional Xmen Real 26-Apr-07 5:00 
GeneralRe: CD\DVD-rom Pin
Xmen Real 26-Apr-07 6:15
professional Xmen Real 26-Apr-07 6:15 
GeneralRe: CD\DVD-rom Pin
Dave Kreskowiak26-Apr-07 6:35
mveDave Kreskowiak26-Apr-07 6:35 
You don't need the Shared modifier, get rid of it. You also don't need the DLLImport attribute. It's specific to C# code. And those Long's should be Integer's. This tell's me that you converted VB6 AND C# code to VB.NET. The Declare should look like this:
Private Declare Function mciSendStringA Lib "winmm.dll" ( _
    ByVal lpstrCommand As String, ByVal lpstrReturnString As String, _
    ByVal uBufferLength As Integer, ByVal hwndCallback As IntPtr) As Integer



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: CD\DVD-rom Pin
Xmen Real 26-Apr-07 14:40
professional Xmen Real 26-Apr-07 14:40 
Questionhi Pin
anki121226-Apr-07 2:19
anki121226-Apr-07 2:19 
AnswerRe: hi Pin
leckey26-Apr-07 3:52
leckey26-Apr-07 3:52 
QuestionMy.Settings Pin
blackjack215026-Apr-07 2:13
blackjack215026-Apr-07 2:13 
AnswerRe: My.Settings Pin
kubben26-Apr-07 2:35
kubben26-Apr-07 2:35 
QuestionOCR Reading from pdf/image file type? Pin
.NetRams26-Apr-07 1:43
.NetRams26-Apr-07 1:43 
AnswerRe: OCR Reading from pdf/image file type? Pin
Christian Graus26-Apr-07 1:50
protectorChristian Graus26-Apr-07 1:50 
QuestionRe: OCR Reading from pdf/image file type? Pin
.NetRams26-Apr-07 2:45
.NetRams26-Apr-07 2:45 
Questionupdating a database Pin
peteyshrew26-Apr-07 1:39
peteyshrew26-Apr-07 1:39 
AnswerRe: updating a database Pin
Dave Sexton26-Apr-07 2:00
Dave Sexton26-Apr-07 2:00 
QuestionHi, Pin
saqibaba26-Apr-07 1:08
saqibaba26-Apr-07 1:08 
AnswerRe: Hi, Pin
Christian Graus26-Apr-07 1:47
protectorChristian Graus26-Apr-07 1:47 
Questionhow i can crop any image using avicap.dll or vb.net or wai Pin
saqibaba26-Apr-07 0:35
saqibaba26-Apr-07 0:35 
AnswerRe: how i can crop any image using avicap.dll or vb.net or wai Pin
Christian Graus26-Apr-07 0:53
protectorChristian Graus26-Apr-07 0:53 
Questionvoice command performer in vb.net Pin
sanket h modi26-Apr-07 0:16
sanket h modi26-Apr-07 0:16 
AnswerRe: voice command performer in vb.net Pin
Dave Kreskowiak26-Apr-07 4:55
mveDave Kreskowiak26-Apr-07 4:55 
Question[Message Deleted] Pin
PREMSONBABY25-Apr-07 22:50
PREMSONBABY25-Apr-07 22:50 

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.