|
-
Oct 3rd, 2000, 05:30 PM
#1
Thread Starter
Member
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
-
Oct 3rd, 2000, 05:44 PM
#2
Hyperactive Member
Do you have any User Controls?
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:
Code:
If Not Ambient.UserMode Then
#If compiling = 1 Then
Exit Sub
#End If
End If
I did not bother to determine the root cause and I have not tried since installing SP4 (the problem was on SP3).
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
-
Oct 3rd, 2000, 05:53 PM
#3
Monday Morning Lunatic
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.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 3rd, 2000, 06:10 PM
#4
Hyperactive Member
126 is not listed
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
-
Oct 4th, 2000, 12:41 AM
#5
Thread Starter
Member
Runtime Error 126
Hi..I will try it in the evening....now i have to go to Work.....Bääähhhh..:-)
cya
-
Oct 5th, 2000, 07:16 PM
#6
Hyperactive Member
From Windows SDK:
126 The specified module could not be found. ERROR_MOD_NOT_FOUND
-
Oct 11th, 2000, 04:54 AM
#7
Thread Starter
Member
?
Originally posted by LG
From Windows SDK:
126 The specified module could not be found. ERROR_MOD_NOT_FOUND
And what should i do now???
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|