|
-
Oct 16th, 2000, 10:08 AM
#1
Thread Starter
Member
Can anybody help me with Runtime Error 126?
I think it isn´t a VB Error, isn´t it?
-
Oct 16th, 2000, 11:12 AM
#2
It doesn't look like a VB error.
But what about being a bit more specific? What is the error-message? What line raises the error message (i.e. what code). What are you trying to do in your program? Are you (at the time of the error being fired) trying to open a database? An Internet connection? An ActiceX control? Are you using any ActiveX controls? Aren't they the problem? Are you trying to do something with the api? Is the error involving an object or just plain ol' code?
We can't help if you won't be more specific. What about "Can anybody help me with Runtime Error 11: Division by zero"?. That'd be more useful to us... So please? Any more info you can supply us with?
-
Oct 16th, 2000, 12:08 PM
#3
Thread Starter
Member
!!
Im using winsock control in my form.
Im coded a server and a client programm to restart,shutdown and hide taskbar and icons on 7 client pc´s....
the error mesage appears only after i have save it to an exe
and only with a msgbox Runtime Error 126. Nothing else!!!!
This error come up if i clicked a checkbox and push a command button f.ex. i think this runtime error come from the winsock code......in precompiled modus the programm will stop on point: winsock1.sendData "reboot" while "reboot" is declared in the client form to reboot the pc!
I´ve tried many things but i can´t get any solutions!
-
Oct 16th, 2000, 12:12 PM
#4
Member
The error message 126 = The specified module could not be found.
Maybee this will help you. Maybee not.
-
Oct 16th, 2000, 12:41 PM
#5
Thread Starter
Member
AHHHHHH
Just i say in my last repaly the error appears in line:
winsock1.sendData "reboot"
U said that a Module isn´t found! Now my question: What Module??????
How can i declare it? what should i do??
Please help! its very important for me!!!
-
Oct 19th, 2000, 12:11 PM
#6
Just a weird idea: I think I remember I had the same problem once... I don't have VB handy but try this:
Code:
Dim S as string
S="reboot"
Winsock1.SendData S
Hope it helped...
Rob
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
|