Click here to Skip to main content
15,926,507 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Another FileSystemObject Question Pin
Dave Kreskowiak3-Feb-06 9:12
mveDave Kreskowiak3-Feb-06 9:12 
GeneralRe: Another FileSystemObject Question Pin
Quecumber2563-Feb-06 9:29
Quecumber2563-Feb-06 9:29 
GeneralRe: Another FileSystemObject Question Pin
Quecumber2563-Feb-06 9:42
Quecumber2563-Feb-06 9:42 
GeneralRe: Another FileSystemObject Question Pin
Dave Kreskowiak3-Feb-06 9:54
mveDave Kreskowiak3-Feb-06 9:54 
GeneralRe: Another FileSystemObject Question Pin
Quecumber2563-Feb-06 10:00
Quecumber2563-Feb-06 10:00 
GeneralRe: Another FileSystemObject Question Pin
Dave Kreskowiak3-Feb-06 10:06
mveDave Kreskowiak3-Feb-06 10:06 
GeneralRe: Another FileSystemObject Question Pin
Dave Kreskowiak3-Feb-06 10:04
mveDave Kreskowiak3-Feb-06 10:04 
QuestionHelp for explained error message! Pin
JUNEYT3-Feb-06 6:31
JUNEYT3-Feb-06 6:31 
Hello!

I have received the following error message when I try to execure the given procedure below. If you have any idea, please enlight me about it!

Thanks!

BJ

A call to PInvoke function 'VSEssentials!VSEssentials.SoundPlayer::GetShortPathName'
has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.

Private Function GetDosPath(ByVal LongPath As String) As String
Dim Temp As String
Dim z As Int32
Dim ch As Char
Dim PathLength As Int32
z = LongPath.Length + 1
Temp = New String(ch, z)
PathLength = GetShortPathName(LongPath, Temp, z) <--- That is where the error occurs
GetDosPath = StripPath(Temp)
End Function
AnswerRe: Help for explained error message! Pin
Dave Kreskowiak3-Feb-06 7:32
mveDave Kreskowiak3-Feb-06 7:32 
QuestionVB.Net Union Type Pin
Polymorpher3-Feb-06 6:30
Polymorpher3-Feb-06 6:30 
AnswerRe: VB.Net Union Type Pin
Dave Kreskowiak3-Feb-06 7:28
mveDave Kreskowiak3-Feb-06 7:28 
GeneralRe: VB.Net Union Type Pin
Polymorpher3-Feb-06 15:11
Polymorpher3-Feb-06 15:11 
QuestionSerial Port Communication Pin
Dr_Lomax3-Feb-06 6:18
Dr_Lomax3-Feb-06 6:18 
QuestionFileSystemObject not working Pin
Quecumber2563-Feb-06 6:02
Quecumber2563-Feb-06 6:02 
AnswerRe: FileSystemObject not working Pin
Guffa3-Feb-06 6:19
Guffa3-Feb-06 6:19 
GeneralRe: FileSystemObject not working Pin
Quecumber2563-Feb-06 6:59
Quecumber2563-Feb-06 6:59 
GeneralRe: FileSystemObject not working Pin
Dave Kreskowiak3-Feb-06 7:20
mveDave Kreskowiak3-Feb-06 7:20 
GeneralRe: FileSystemObject not working Pin
Quecumber2563-Feb-06 8:50
Quecumber2563-Feb-06 8:50 
GeneralRe: FileSystemObject not working Pin
Guffa4-Feb-06 3:17
Guffa4-Feb-06 3:17 
GeneralRe: FileSystemObject not working Pin
Quecumber2564-Feb-06 3:56
Quecumber2564-Feb-06 3:56 
GeneralRe: FileSystemObject not working Pin
Guffa4-Feb-06 9:08
Guffa4-Feb-06 9:08 
GeneralRe: FileSystemObject not working Pin
Quecumber2564-Feb-06 14:55
Quecumber2564-Feb-06 14:55 
GeneralRe: FileSystemObject not working Pin
Dave Kreskowiak4-Feb-06 15:13
mveDave Kreskowiak4-Feb-06 15:13 
Questionproperty sheets in vb6 ... Pin
Marc Soleda3-Feb-06 3:43
Marc Soleda3-Feb-06 3:43 
AnswerRe: property sheets in vb6 ... Pin
Dave Kreskowiak3-Feb-06 7:34
mveDave Kreskowiak3-Feb-06 7:34 

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.