My Form is Ok in Debug Mode but after compiling the Programm shutdown with Runtime Error 126!
What is this??
Or where can i find a list of all VB Runtime Error codes!
Help Please..
cya
Printable View
My Form is Ok in Debug Mode but after compiling the Programm shutdown with Runtime Error 126!
What is this??
Or where can i find a list of all VB Runtime Error codes!
Help Please..
cya
I have had in the past weird errors (not that one - but memory related ones) in a USerControl which forced me to take the following action in an Init method of my user control:
I did not bother to determine the root cause and I have not tried since installing SP4 (the problem was on SP3).Code:If Not Ambient.UserMode Then
#If compiling = 1 Then
Exit Sub
#End If
End If
I post this in case it helps you to at least get around the problem. Can you please post your final solution if you manage to get one?
Cheers
The error codes are all in the VB help files.
In this case, 126 is not actually defined by my copy of VB. What 3rd-party DLLs / OCXs are you using?
Also, try checking the command-line options.
It is listed by virtue of the covering note that MS put in the help file "Reserved for future use". Well I guess the future is upon us however the help files haven't been updated...
The error I was getting (I checked just now) was Runtime error 7 Out of Memory" and I still get it with SP4.
You have to painstakingly comment out parts of the code to determine which part the compiler or linker is having a problem with.
The only reference to an error and 126 I found in MSDN was related to ODBC connections. Do you use ODBC or any Data Object at all?
Regards
Hi..I will try it in the evening....now i have to go to Work.....Bääähhhh..:-)
cya
From Windows SDK:
126 The specified module could not be found. ERROR_MOD_NOT_FOUND
And what should i do now???Quote:
Originally posted by LG
From Windows SDK:
126 The specified module could not be found. ERROR_MOD_NOT_FOUND