A preserved archive of the Logical Gamers community forums, 2009-2025. The original threads and posts, served read-only. Registration, posting and private messages are gone for good.

VB.Net Wrapper

1.7k views · started by TEMPTii ·
#1
VB.Net Wrapper
I've searched for one, and taken some from some programs but each one that I load into my application, I get these errors.


Error 1 Type 'AxMSWinsockLib.AxWinsock' is not defined. C:\Users\John\Desktop\WindowsApplication4\WindowsApplication4\wrapper.Designer.vb 23 32 WindowsApplication4
Error 2 Type 'AxMSWinsockLib.AxWinsock' is not defined. C:\Users\John\Desktop\WindowsApplication4\WindowsApplication4\wrapper.Designer.vb 33 21 WindowsApplication4
Error 3 Type 'AxMSWinsockLib.DMSWinsockControlEvents_DataArrivalEvent' is not defined. C:\Users\John\Desktop\WindowsApplication4\WindowsApplication4\wrapper.vb 359 93 WindowsApplication4
Error 4 Type 'AxMSWinsockLib.DMSWinsockControlEvents_ErrorEvent' is not defined. C:\Users\John\Desktop\WindowsApplication4\WindowsApplication4\wrapper.vb 369 87 WindowsApplication4


If somebody could either send me their wrapper, and/or explain to me how to fix this, I would be very grateful.

I already tried downloading the winsock ocx and re-registering it.
#2
Uploaded for you. Same thing as Vb6 but you have to add the .dll's through the existing references then add the wrapper with Existing Item.

Run the program before putting any Wrapper. codes in it and the Wrapper control will appear in the toolbox.
#3
Chad wrote:
Uploaded for you. Same thing as Vb6 but you have to add the .dll's through the existing references then add the wrapper with Existing Item.

Run the program before putting any Wrapper. codes in it and the Wrapper control will appear in the toolbox.


So download from his attachment...

Add the wrappers to the project (Add Existing item...) ...
Add a reference to the project of the .dll files (Add Reference...) ...

Next Save and Exit Visual Basic 2008...
Start up Visual Basic 2008 and the wrapper should be in the toolbox...

I had a similar problem when I was starting up, then I had chad help me to add the wrappers... I can help if you need it...
#4
Uhhhhh, I already tried adding the dlls but I'll try it again.

EDIT: Kay, I was just doing it wrong. I was adding the dlls as existing items instead of references. Thanks hoes.

SECOND EDIT: Now I get an error trying to put the wrapper on the form:

Filed to create component 'HTTPWrapper'. The error message follows:
'System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
#5
TEMPTii wrote:
Uhhhhh, I already tried adding the dlls but I'll try it again.

EDIT: Kay, I was just doing it wrong. I was adding the dlls as existing items instead of references. Thanks hoes.

SECOND EDIT: Now I get an error trying to put the wrapper on the form:


No Problem...

Pops up with this error now?

#6
yeah. that one...
#7
TEMPTii wrote:
yeah. that one...


I am trying to solve that error on my new computer...

If I find an answer from the other programmers I will let you know... ^^
#8
Safe bump?
Can't do shit 'til I get an answer D;
#9
TEMPTii wrote:
Safe bump?
Can't do shit 'til I get an answer D;


I know right D:

No ones helping me either bro...
#10
If these errors are printed to a file (like a debug.txt) I could examine the whole error to find out what's wrong, but idk where -if it does at all- such a file would be located.
#11
TEMPTii wrote:
If these errors are printed to a file (like a debug.txt) I could examine the whole error to find out what's wrong, but idk where -if it does at all- such a file would be located.


I would think it would be with the files that you tried to add or Program files...