-
Hi all
Today I received an error n. 13 (type mismatch) when I executed my compiled application.
The very strange thing is that if I open the project (.vbp) and execute the application from VB all is ok.
Can anybody help me?
Before the exe compilation, if I put a MSGBOX "OK" statement at the beginning of the Form_Load event, I see the dialog but I receive the error n. 13; if I put the statement at the end of the event, I receive only the error message.
Thanks in advance
Nando
-
I think , Type mismatch 13 is either due to an improper declaration statement like trying to put text into an integer. I would start by checking that. if your accessing an outside DB like SQL or Access you might be trying to receive the wrong data type.
i hope this helps, ive seen this error before but usually in the VB gui environment
-
are you using a variable to intercept msgbox mouse clicks?
if so, declare the variable as a VBMSGBOXRESULT (i think that's right).