Visual Basic
Moderator: Moderators
Visual Basic
right i dunno if i should be posting here but can u vb gods in here tell where the hell i can find a DECENT tuorial on vb as i cannot find one that isnt jsut a step by step guid to makiin a calender and shit i wanna learn not be told how to do it like html i jsut used trial and error which worked out bloody great kinda i started gettin there a little with vb but then just lose it then i have to hassle ade to help me which i dont want to do too much hehe
any help much appreciated
any help much appreciated
Do you have Visual Basic? if not, try hitting Alt+F11 in any MS Office ap, you'll have a small environment you can try to learn in. It's not exactly like true VB or VBscript, but it at least helps you find some errors and makes it a little easier. Other than that I suggest just messing around, I took a class in high school, so I had to do a TON of small projects with specific purposes...other than that, I don't know what your skill lvl/understanding of programming is so I'd need more info about you
Trial and error is the best way to learn I think
Rather than a "general" tutorial, it's far easy to find something on specifics (i.e Winsock control, reading/writing files)...as you write more code, it will get easier.
And to answer your other question...
Rather than a "general" tutorial, it's far easy to find something on specifics (i.e Winsock control, reading/writing files)...as you write more code, it will get easier.
And to answer your other question...
Code: Select all
'Get a description for a bot!
'This has NOT been tested but it should work
Dim sMyINFO, sName, sDesc, sConn, sEmail, sShare
Dim iNameLength
Sub Main()
sName = "Bot"
sDesc = "Nahhhhh - I'm too stupid"
sConn = "VERY Fast"
sEmail = "[email protected]"
sShare = "1024"
iNameLength = Len(sName)
sMyINFO = "$MyINFO $ALL " & CStr(sName) & " " & CStr(sDesc) & "$ $" & CStr(sConn) & Chr(1) & "$" & CStr(sEmail) & "$" & CStr(sShare) & "$|"
frmHub.RegisterBotName(CStr(sName))
End Sub
Sub DataArival(curUser, sCurData)
If Left(sCurData, CInt(iNameLength) + 9) = "$GetINFO " & CStr(sName) Then curUser.SendData CStr(sMyINFO)
End Sub
Oh and a few links I use....
www.developerfusion.com
www.vbip.com
www.google.ca
I found the first helped me a lot in the beginning, and it has a good link section / forum....vbip was good for internet programming (what gave me that idea...?)...google I use constantly!
www.developerfusion.com
www.vbip.com
www.google.ca
I found the first helped me a lot in the beginning, and it has a good link section / forum....vbip was good for internet programming (what gave me that idea...?)...google I use constantly!
-
- Posts: 147
- Joined: 2003-01-04 02:20
- Location: Canada http://hub-link.sf.net
- Contact:
Here's a couple links I bookmarked for reference...
http://www.chilisoft.com/caspdoc/360doc ... erence.htm
http://www.intranetjournal.com/corner/wrox/progref/vbt/
HaArD
http://www.chilisoft.com/caspdoc/360doc ... erence.htm
http://www.intranetjournal.com/corner/wrox/progref/vbt/
HaArD
References to MSDN (Microsoft) site:
VB (6) : http://msdn.microsoft.com/library/defau ... rtpage.asp
VB (.NET) : http://msdn.microsoft.com/library/defau ... d=28000520
VBS : http://msdn.microsoft.com/library/defau ... ipttoc.asp
VB (6) : http://msdn.microsoft.com/library/defau ... rtpage.asp
VB (.NET) : http://msdn.microsoft.com/library/defau ... d=28000520
VBS : http://msdn.microsoft.com/library/defau ... ipttoc.asp
If you want answer as private message in separate window, just send question privately to generalbot.
If you want to change that feature, edit the line 1045:
to
If you want to change that feature, edit the line 1045:
Code: Select all
If Left(sCurData,1)="<" Or iSecurity=2 Then
Code: Select all
If Left(sCurData,1)="<" Then
Whoops, wrong fixup, this shoud do it, line 1045:
to
Code: Select all
If Left(sCurData,1)="<" Or iSecurity=2 Then
Code: Select all
If Left(sCurData,1)="<" And iSecurity=0 Then
Your right its on the Win2k Pro Install CD (i know for sure) and i beleive its located under the "support" folder. The MSDN is also a good place to look for definitions on different commands and for some snippets of example code.Marvin wrote:If you want VBScript ref, it's in VBSCRIPT?.CHM if some MS soft using vbscript is installed on your system.
http://www.devguru.com/Technologies/vbs ... intro.html is a very good site for VBScript reference too