Click here to Skip to main content
12,403,295 members (72,949 online)

Visual Basic

 
AnswerRe: VB6 Compile "unexpected error" Pin
Eddy Vluggen18-Jul-12 2:09
memberEddy Vluggen18-Jul-12 2:09 
GeneralRe: VB6 Compile "unexpected error" Pin
Mike Deeks18-Jul-12 5:45
memberMike Deeks18-Jul-12 5:45 
GeneralRe: VB6 Compile "unexpected error" Pin
Eddy Vluggen18-Jul-12 6:22
memberEddy Vluggen18-Jul-12 6:22 
GeneralRe: VB6 Compile "unexpected error" Pin
Mike Deeks19-Jul-12 2:34
memberMike Deeks19-Jul-12 2:34 
AnswerRe: VB6 Compile "unexpected error" Pin
Eddy Vluggen19-Jul-12 2:53
memberEddy Vluggen19-Jul-12 2:53 
GeneralRe: VB6 Compile "unexpected error" Pin
Dave Kreskowiak18-Jul-12 2:19
mvpDave Kreskowiak18-Jul-12 2:19 
GeneralRe: VB6 Compile "unexpected error" Pin
Mike Deeks18-Jul-12 5:47
memberMike Deeks18-Jul-12 5:47 
GeneralRe: VB6 Compile "unexpected error" Pin
Dave Kreskowiak18-Jul-12 7:33
mvpDave Kreskowiak18-Jul-12 7:33 
JokeRe: VB6 Compile "unexpected error" Pin
Paul Conrad18-Jul-12 9:40
memberPaul Conrad18-Jul-12 9:40 
GeneralRe: VB6 Compile "unexpected error" Pin
Bernhard Hiller18-Jul-12 2:29
memberBernhard Hiller18-Jul-12 2:29 
GeneralRe: VB6 Compile "unexpected error" Pin
Mike Deeks18-Jul-12 5:50
memberMike Deeks18-Jul-12 5:50 
GeneralRe: VB6 Compile "unexpected error" Pin
Bernhard Hiller18-Jul-12 21:03
memberBernhard Hiller18-Jul-12 21:03 
QuestionmciSendCommand in VB.NET Pin
kingneb17-Jul-12 5:52
memberkingneb17-Jul-12 5:52 
AnswerRe: mciSendCommand in VB.NET Pin
Luc Pattyn17-Jul-12 6:21
mvpLuc Pattyn17-Jul-12 6:21 
When calling native code from managed code, stack imbalances are most often caused by applying the wrong "calling convention" (which says who, caller or callee, is responsible for cleaning up the stack). You will need to apply an explicit DllImport directive and specify the correct calling convention, most likely StdCall.

You will find an example here[^].

I wrote a little article[^] on P/Invoke, unfortunately it isn't finished yet, so it doesn't have the details for VB.NET; you might find it useful anyway.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: mciSendCommand in VB.NET Pin
kingneb17-Jul-12 6:45
memberkingneb17-Jul-12 6:45 
AnswerRe: mciSendCommand in VB.NET Pin
Luc Pattyn17-Jul-12 6:55
mvpLuc Pattyn17-Jul-12 6:55 
GeneralRe: mciSendCommand in VB.NET Pin
Dave Kreskowiak17-Jul-12 11:05
mvpDave Kreskowiak17-Jul-12 11:05 
AnswerRe: mciSendCommand in VB.NET Pin
Bernhard Hiller17-Jul-12 20:50
memberBernhard Hiller17-Jul-12 20:50 
AnswerRe: mciSendCommand in VB.NET Pin
Sasha Laurel18-Jul-12 13:18
memberSasha Laurel18-Jul-12 13:18 
AnswerRe: mciSendCommand in VB.NET Pin
Sasha Laurel19-Jul-12 9:10
memberSasha Laurel19-Jul-12 9:10 
Generalplease upload Pin
MD Chalodiya16-Jul-12 20:02
memberMD Chalodiya16-Jul-12 20:02 
AnswerRe: please upload Pin
Eddy Vluggen16-Jul-12 21:50
memberEddy Vluggen16-Jul-12 21:50 
GeneralBound datagridview with unbound combobox Column - Problems Pin
alejx16-Jul-12 14:48
memberalejx16-Jul-12 14:48 
GeneralRe: Bound datagridview with unbound combobox Column - Problems Pin
Sasha Laurel18-Jul-12 13:23
memberSasha Laurel18-Jul-12 13:23 
GeneralSearchprogram for text in multi excel sheets Pin
abjac@16-Jul-12 6:23
memberabjac@16-Jul-12 6:23 
QuestionRe: Searchprogram for text in multi excel sheets Pin
Richard MacCutchan16-Jul-12 7:45
mvpRichard MacCutchan16-Jul-12 7:45 
GeneralRe: Searchprogram for text in multi excel sheets Pin
abjac@16-Jul-12 10:30
memberabjac@16-Jul-12 10:30 
GeneralRe: Searchprogram for text in multi excel sheets Pin
jan212r16-Jul-12 19:01
memberjan212r16-Jul-12 19:01 
GeneralRe: Searchprogram for text in multi excel sheets Pin
Richard MacCutchan16-Jul-12 21:16
mvpRichard MacCutchan16-Jul-12 21:16 
GeneralRe: Searchprogram for text in multi excel sheets Pin
abjac@16-Jul-12 22:35
memberabjac@16-Jul-12 22:35 
GeneralRe: Searchprogram for text in multi excel sheets Pin
Richard MacCutchan16-Jul-12 22:50
mvpRichard MacCutchan16-Jul-12 22:50 
GeneralRe: Searchprogram for text in multi excel sheets Pin
abjac@16-Jul-12 23:23
memberabjac@16-Jul-12 23:23 
GeneralRe: Searchprogram for text in multi excel sheets Pin
abjac@17-Jul-12 5:44
memberabjac@17-Jul-12 5:44 
GeneralRe: Searchprogram for text in multi excel sheets Pin
abjac@18-Jul-12 10:48
memberabjac@18-Jul-12 10:48 
GeneralRe: Searchprogram for text in multi excel sheets Pin
Richard MacCutchan18-Jul-12 21:43
mvpRichard MacCutchan18-Jul-12 21:43 
GeneralRe: Searchprogram for text in multi excel sheets Pin
abjac@19-Jul-12 0:40
memberabjac@19-Jul-12 0:40 
GeneralRe: Searchprogram for text in multi excel sheets Pin
Richard MacCutchan19-Jul-12 2:05
mvpRichard MacCutchan19-Jul-12 2:05 
QuestionVB and API Pin
Darryl Gschwind14-Jul-12 10:41
memberDarryl Gschwind14-Jul-12 10:41 
AnswerRe: VB and API Pin
Wes Aday14-Jul-12 12:11
memberWes Aday14-Jul-12 12:11 
GeneralRe: VB and API Pin
Darryl Gschwind14-Jul-12 14:13
memberDarryl Gschwind14-Jul-12 14:13 
QuestionEnable usb ports Pin
aliali7414-Jul-12 3:48
memberaliali7414-Jul-12 3:48 
AnswerRe: Enable usb ports Pin
Wes Aday14-Jul-12 3:57
memberWes Aday14-Jul-12 3:57 
AnswerRe: Enable usb ports Pin
ZappaDog30-Jul-12 8:28
memberZappaDog30-Jul-12 8:28 
Questiondata connectivity Pin
shubham salwan12-Jul-12 18:16
membershubham salwan12-Jul-12 18:16 
AnswerRe: data connectivity Pin
Nick Otten12-Jul-12 20:20
memberNick Otten12-Jul-12 20:20 
QuestionDocument Searching Pin
MacOwl11-Jul-12 16:41
memberMacOwl11-Jul-12 16:41 
AnswerRe: Document Searching Pin
Nick Otten11-Jul-12 21:40
memberNick Otten11-Jul-12 21:40 
GeneralRe: Document Searching Pin
MacOwl11-Jul-12 21:47
memberMacOwl11-Jul-12 21:47 
GeneralRe: Document Searching Pin
Nick Otten11-Jul-12 22:09
memberNick Otten11-Jul-12 22:09 
GeneralRe: Document Searching Pin
MacOwl11-Jul-12 23:04
memberMacOwl11-Jul-12 23:04 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 24 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid