Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
milo

vb

Recommended Posts

hahhah.....i though this was going to be a thread about virginia beach.....i swear those fuckers do not know how to drive.....surfs up brah!!

Share this post


Link to post
Share on other sites

virginia beach gets the post jog tea bag....they should just to everyone a favor and cut that whole area off virgina and let it sink into the ocean...."dude, that would be so gnarly!!"

Share this post


Link to post
Share on other sites

all i can recall about vb right now off the top of my head, is if/then statements and do/loop type of stuff, if i still had it, im sure i would be able to recall something of use. its a pretty weak language anyways

Share this post


Link to post
Share on other sites

Dim sockin As sockaddrT

Dim s%, SelectOps%, dummy%

SockReadBuffer$ = ""

sockin = saZero

sockin.sin_family = AF_INET

 

sockin.sin_port = htons(Port%)

If sockin.sin_port = INVALID_PORT Then

ConnectSock% = INVALID_SOCKET

Exit Function

End If

 

sockin.sin_addr = GetHostByNameAlias(host$)

If sockin.sin_addr = INADDR_NONE Then

ConnectSock% = INVALID_SOCKET

Exit Function

End If

retIpPort$ = getascip$(sockin.sin_addr) & ":" & ntohs%(sockin.sin_port)

 

s% = Socket%(PF_INET, SOCK_STREAM, IPPROTO_TCP)

If s% < 0 Then

ConnectSock% = INVALID_SOCKET

Exit Function

End If

If SetSockLinger(s%, 1, 0) = SOCKET_ERROR Then

If s% > 0 Then

dummy% = closesocket(s%)

End If

ConnectSock = INVALID_SOCKET

Exit Function

End If

If Not Async% Then

If connect%(s%, sockin, sockaddr_size) <> 0 Then

If s% > 0 Then

dummy = closesocket(s%)

End If

ConnectSock% = INVALID_SOCKET

Exit Function

End If

SelectOps = FD_READ Or FD_WRITE Or FD_CONNECT Or FD_CLOSE

If WSAAsyncSelect(s%, HWndToMsg%, ByVal 1025, ByVal SelectOps) Then

If s% > 0 Then

dummy% = closesocket(s%)

End If

ConnectSock = INVALID_SOCKET

Exit Function

End If

Else

SelectOps = FD_READ Or FD_WRITE Or FD_CONNECT Or FD_CLOSE

If WSAAsyncSelect(s%, HWndToMsg%, ByVal 1025, ByVal SelectOps) Then

If s% > 0 Then

dummy% = closesocket(s%)

End If

ConnectSock = INVALID_SOCKET

Exit Function

End If

If connect%(s%, sockin, sockaddr_size) <> -1 Then

If s% > 0 Then

dummy = closesocket(s%)

End If

ConnectSock% = INVALID_SOCKET

Exit Function

End If

End If

ConnectSock% = s%

End Function

Share this post


Link to post
Share on other sites
Originally posted by HESHIANDET

dingus, try it in php......;)

 

MsgBox " I aint no dingus", vbOkOnly, "I think?"

 

 

 

dim strGraffiti as string

if I = "suck at VB" then thread "VB" = waste of time else if I = "kick VB's ass" then thread "VB" = "still a waste of time" end if 

Share this post


Link to post
Share on other sites
Originally posted by dosoner

i take it you arnt talking about visual basic, but rather vbcode? i guess i was confused

 

naw im preachin visual basic 6.0 thats wut i passed guess it dont comply on this vbCode ish.

Share this post


Link to post
Share on other sites

yea, vbscript and visual basic coding is diffrent stuff, although i really dont belive either one to be all that usefull, allthough, vb6 can be use to make rather entertaining addons for many chat programs, such as aim ,irc, aol, you get the idea

Share this post


Link to post
Share on other sites
Originally posted by dosoner

yea, vbscript and visual basic coding is diffrent stuff, although i really dont belive either one to be all that usefull, allthough, vb6 can be use to make rather entertaining addons for many chat programs, such as aim ,irc, aol, you get the idea

 

 

ohhhhhhhh uneducated in the difference.. so vb6 is shit in here alghough i did get some pretty colors off that one post. and i can use vb6.0 on aim to make funny as programs?? werd up.. vb6.0 is usefull for an Associates of Applied Science degree in Info Systems Technology... C++ is next whopee!!

Share this post


Link to post
Share on other sites
Guest Handjob

damn, I thought this was gonna be about Australia's finest beer. mmmmm, Victoria Bitter...

Share this post


Link to post
Share on other sites
Originally posted by milo

 

 

C++ is next whopee!!

 

 

 

my girlfirends dad taught me the majority of c++ on thanksgiving two years ago, much more entertaining than visual basic.

Share this post


Link to post
Share on other sites

Register for a 12ozProphet forum account or sign in to comment

You need to be a forum member in order to comment. Forum accounts are separate from shop accounts.

Create an account

Register to become a 12ozProphet forum member.

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×