Error 13

A

Arne Hegefors

Hi! I have quite a big code that calls other programs and reads and posts
data. I have not written all of the code, which is a problem. At the moment I
get Error 13 at a place. Can someone give me clue of what Error 13 might mean
in this context? Any help appreciated! Thanks

'start the bat file
lTaskID = RunBatFile
'get the process handle
hProc = OpenProcess(ACCESS_TYPE, False, lTaskID)
If Err <> 0 Then
MsgBox Err
Exit Sub
End If
 
F

FSt1

hi
wild guessing here because you really haven't supplied enough info.
but error 13....type mismatch.
this usually occurs when you have messed up your data types.(dims usually)
and are trying to do something that don't work ie add a letter(string) to a
number(long) or something similar. you have some unidentfied stuff in your
code like ItaskID and RunBatFile. what are thoses?
go back and check your dims and data types and make sure that you are not
trying to matching different data types.

my thoughts
regards
FSt1
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top