I have wanted to make my own AIM client in Visual Basic for the longest time. I now have to skills to do so, but with one very big problem. I know VB.net, not 6.0. All the ocx's that i need to make my client have been made in 6.0. The one I really want, oscsock, I have tried many times to update through the .net updater. I have been unsuccessfull. Here is a link to his code:
http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=43691&lngWId=1if anyone can tell me how to using it in .net, that would be great.
Comments
: I have wanted to make my own AIM client in Visual Basic for the longest time. I now have to skills to do so, but with one very big problem. I know VB.net, not 6.0. All the ocx's that i need to make my client have been made in 6.0. The one I really want, oscsock, I have tried many times to update through the .net updater. I have been unsuccessfull. Here is a link to his code: http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=43691&lngWId=1
: if anyone can tell me how to using it in .net, that would be great.
:
Any COM component that is properly registered on your OS can be used through COM Interop. It's very easy. I'm pretty sure all you need to do is click Project->Add Reference... and you can select the COM tab. If what you are using is a COM compliant ActiveX control you should find it here.
I just downloaded the code, and I don't see an OCX anywhere. It looks a user defined control that is written in VB and provided as source only. Maybe if I get some time later I could convert that to an ocx for you.
-ray
: : I have wanted to make my own AIM client in Visual Basic for the longest time. I now have to skills to do so, but with one very big problem. I know VB.net, not 6.0. All the ocx's that i need to make my client have been made in 6.0. The one I really want, oscsock, I have tried many times to update through the .net updater. I have been unsuccessfull. Here is a link to his code: http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=43691&lngWId=1
: : if anyone can tell me how to using it in .net, that would be great.
: :
: Any COM component that is properly registered on your OS can be used through COM Interop. It's very easy. I'm pretty sure all you need to do is click Project->Add Reference... and you can select the COM tab. If what you are using is a COM compliant ActiveX control you should find it here.
:
: I just downloaded the code, and I don't see an OCX anywhere. It looks a user defined control that is written in VB and provided as source only. Maybe if I get some time later I could convert that to an ocx for you.
:
: -ray
:
:
:
Thank you very much for this information. If you can get that made, it would be very nice. Thank you very much, again.
: : : I have wanted to make my own AIM client in Visual Basic for the longest time. I now have to skills to do so, but with one very big problem. I know VB.net, not 6.0. All the ocx's that i need to make my client have been made in 6.0. The one I really want, oscsock, I have tried many times to update through the .net updater. I have been unsuccessfull. Here is a link to his code: http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=43691&lngWId=1
: : : if anyone can tell me how to using it in .net, that would be great.
: : :
: : Any COM component that is properly registered on your OS can be used through COM Interop. It's very easy. I'm pretty sure all you need to do is click Project->Add Reference... and you can select the COM tab. If what you are using is a COM compliant ActiveX control you should find it here.
: :
: : I just downloaded the code, and I don't see an OCX anywhere. It looks a user defined control that is written in VB and provided as source only. Maybe if I get some time later I could convert that to an ocx for you.
: :
: : -ray
: :
: :
: :
: Thank you very much for this information. If you can get that made, it would be very nice. Thank you very much, again.
:
I compiled it as an independant ocx. This does not guarantee that it'll work. It should, but things rarely do what they should. Email me so I can reply with the ocx file. ray_mcdowell@hotmail.com
Also, there was an error I had to clear up. The following function was screwed up...
[code]
Public Function inviteFriend(strEmail As String, strMessage As String) As String
A1 = ChrA("0 6 0 2 0 0 0 1 0 2")
inviteFriend = A1 & TLV(17, strName) & TLV(21, strMessage)
End Function
[/code]
This function gets a parameter named strEmail, but doesn't use it...
It also tries to use an undeclared variable named strName...
I took a guess and renamed strName -> strEmail.
It's possible I should have changed the name of the parameter, but now it compiles. Just remember when using this function you might need a Name not an Email.
-Ray