winsock error
-
You don't have the MSWinsock .DLL on your computer and regsitered. It's on his machine because he developed the application with the reference to it. He needs to supply you with the .DLL file, most likely
winsock.dll
, he used and any other .DLL files in thebin
directory he got the finshed .EXE from. You then need to copy that .DLL into your C:\WINNT\System32 or C:\WINDOWS\System32 folder (WinNT or better), register the .DLL using REGSVR32 and the remaining .DLL's into the folder with your .EXE. Then your app should work. Better yet! Tell him to make an Installer Project and add it his solution so you can install the application and any needed files. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome -
is there any way that i can do it without his help? cause temporary now he is not around for me to contact him can i download or install this .dll file from anywhere? Gary
Another Windows machine... The problem you're going to run into is that you MUST get the version that was used to build the application. It's kind of odd that you don't have this .DLL. The other part of the problem is that you probably don't have the Interop .DLL that was generated when the application was built. Without that, you could get the correct WinSock.DLL, but still be unable to use it. You might also have to have WSock32.DLL... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Another Windows machine... The problem you're going to run into is that you MUST get the version that was used to build the application. It's kind of odd that you don't have this .DLL. The other part of the problem is that you probably don't have the Interop .DLL that was generated when the application was built. Without that, you could get the correct WinSock.DLL, but still be unable to use it. You might also have to have WSock32.DLL... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
let me get this right each program i build have a specific .dll file this means that if i wish to move the program to test on other windows/computer, i must copy the .dll file together? which folder should i get the .dll file from? shouldn't VB.Net able to run all application? below is the coding that provide me with the error Friend WithEvents w1 As AxMSWinsockLib.AxWinsock( Me.w1 = New AxMSWinsockLib.AxWinsock() AxMSWinsockLib.DMSWinsockControlEvents_ConnectionRequestEvent AxMSWinsockLib.DMSWinsockControlEvents_DataArrivalEvent The referenced component 'AxMSWinsockLib' could not be found. Could not load the type library. Library not registered. The referenced component 'MSWinsockLib' could not be found. Could not load the type library. Library not registered. could this be the problem that i did not register after installation or during installation some of this file is not installed? or is it that i need to make some adjustment sorry to trouble you so much Dave but i really need this help thank you Gary
-
let me get this right each program i build have a specific .dll file this means that if i wish to move the program to test on other windows/computer, i must copy the .dll file together? which folder should i get the .dll file from? shouldn't VB.Net able to run all application? below is the coding that provide me with the error Friend WithEvents w1 As AxMSWinsockLib.AxWinsock( Me.w1 = New AxMSWinsockLib.AxWinsock() AxMSWinsockLib.DMSWinsockControlEvents_ConnectionRequestEvent AxMSWinsockLib.DMSWinsockControlEvents_DataArrivalEvent The referenced component 'AxMSWinsockLib' could not be found. Could not load the type library. Library not registered. The referenced component 'MSWinsockLib' could not be found. Could not load the type library. Library not registered. could this be the problem that i did not register after installation or during installation some of this file is not installed? or is it that i need to make some adjustment sorry to trouble you so much Dave but i really need this help thank you Gary
WHen the application was built, in the
bin
directory where the final .EXE file is found, you will find .DLL file(s) that start with Interop.whatever.dll. These files MUST be distributed with the application .EXE file. If you don't have these files AND the .OCX file that they reference, you will get the error that your describing. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome -
WHen the application was built, in the
bin
directory where the final .EXE file is found, you will find .DLL file(s) that start with Interop.whatever.dll. These files MUST be distributed with the application .EXE file. If you don't have these files AND the .OCX file that they reference, you will get the error that your describing. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnomehello Dave i manage to get the wsock32.dll file which is not available in my computer anyway since you have mention that those two other .dll file is only available upon application development so is there any other way to recreate those two .dll file on my own? cause i manage to call up my friend cellphone and he told me that the program he give me is the only copy after he formated his computer then i search a few other computer that are available at my college but i have no luck in finding the .dll file so is it possible for me to recreate them? cause those two line is the example i need to complete my assignment so if i cant try the code i wont know how im going to apply it thank you for all your help and sorry to trouble you so much
-
hello Dave i manage to get the wsock32.dll file which is not available in my computer anyway since you have mention that those two other .dll file is only available upon application development so is there any other way to recreate those two .dll file on my own? cause i manage to call up my friend cellphone and he told me that the program he give me is the only copy after he formated his computer then i search a few other computer that are available at my college but i have no luck in finding the .dll file so is it possible for me to recreate them? cause those two line is the example i need to complete my assignment so if i cant try the code i wont know how im going to apply it thank you for all your help and sorry to trouble you so much
You would have to recreate the IDENTICAL references he made in his app. You could use TLBIMP on the .OCX and .DLL files that he used to recreate the missing Interop.*.DLL's. But you have to get that list from him. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
You would have to recreate the IDENTICAL references he made in his app. You could use TLBIMP on the .OCX and .DLL files that he used to recreate the missing Interop.*.DLL's. But you have to get that list from him. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
today something odd have happen i try my application on 1 of my college computer and the missing winsock file pop-up i double check on my cd which the original program was and there is no winsock file in the bin but after i compile at that particular computer, it show up so Dave can i know why this happen and what file can i copy that can cause the 2 file to auto generate? my lecturer say may be is my windows problem or when i install the program some file is missing im getting blur on this i think this might the last time i'll disturb you on this matter thank you Gary
-
today something odd have happen i try my application on 1 of my college computer and the missing winsock file pop-up i double check on my cd which the original program was and there is no winsock file in the bin but after i compile at that particular computer, it show up so Dave can i know why this happen and what file can i copy that can cause the 2 file to auto generate? my lecturer say may be is my windows problem or when i install the program some file is missing im getting blur on this i think this might the last time i'll disturb you on this matter thank you Gary
It appeared in the bin folder because the compiler copied it there. The file is needed by your application because of the reference your created. If the 2 Interop.*.dll files are not there, it's because they are not needed... RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
today something odd have happen i try my application on 1 of my college computer and the missing winsock file pop-up i double check on my cd which the original program was and there is no winsock file in the bin but after i compile at that particular computer, it show up so Dave can i know why this happen and what file can i copy that can cause the 2 file to auto generate? my lecturer say may be is my windows problem or when i install the program some file is missing im getting blur on this i think this might the last time i'll disturb you on this matter thank you Gary
The file with the little yellow "!" next to it is the one that is missing. Without that file, you can't compiler the project. That's why it will only compile on one machine. That one machine has the file it needs to compile this thing. Go back to that machine and search for the file that the other machines put that "!" next to. Copy that file to the other machine, in the same folder that you found it in, then you should be able to compile the project. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
The file with the little yellow "!" next to it is the one that is missing. Without that file, you can't compiler the project. That's why it will only compile on one machine. That one machine has the file it needs to compile this thing. Go back to that machine and search for the file that the other machines put that "!" next to. Copy that file to the other machine, in the same folder that you found it in, then you should be able to compile the project. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
hello dave did you receive my mail? if not this is what im trying to tell you 1. i try copying a lot of folder and files but none of it work 2. thinking of changing the codings to a much simplier that wont cause any error as before 3. asking you for advise and suggestion on how to recode so it is similiar to those using winsock or should i just use the tutorial in MSDN website 4. if possible tell me which folder to copy 5. telling you that i am very thankful that you are willingly to help me thats all thank you Gary
-
hello dave did you receive my mail? if not this is what im trying to tell you 1. i try copying a lot of folder and files but none of it work 2. thinking of changing the codings to a much simplier that wont cause any error as before 3. asking you for advise and suggestion on how to recode so it is similiar to those using winsock or should i just use the tutorial in MSDN website 4. if possible tell me which folder to copy 5. telling you that i am very thankful that you are willingly to help me thats all thank you Gary
What mail? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
What mail? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome