Visual Basic
Moderator: Moderators
-
Paul_Don
- Posts: 146
- Joined: 2003-01-29 11:41
- Location: uk
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
-
Paul_Don
- Posts: 146
- Joined: 2003-01-29 11:41
- Location: uk
-
Sardonis
- Posts: 7
- Joined: 2003-02-04 20:18
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
-
Paul_Don
- Posts: 146
- Joined: 2003-01-29 11:41
- Location: uk
-
TasMan
- Posts: 196
- Joined: 2003-01-03 13:31
- Location: Canada
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
-
TasMan
- Posts: 196
- Joined: 2003-01-03 13:31
- Location: Canada
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!
-
HaArD
- Posts: 147
- Joined: 2003-01-04 07:20
- Location: Canada http://hub-link.sf.net
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
-
Atomic Jo
- Posts: 62
- Joined: 2003-01-04 08:50
- Location: Québec, Canada
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
-
Paul_Don
- Posts: 146
- Joined: 2003-01-29 11:41
- Location: uk
-
Paul_Don
- Posts: 146
- Joined: 2003-01-29 11:41
- Location: uk
-
Paul_Don
- Posts: 146
- Joined: 2003-01-29 11:41
- Location: uk
-
Gadget
- Posts: 62
- Joined: 2003-01-11 11:24
- Location: Finland
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 Thento
Code: Select all
If Left(sCurData,1)="<" Then-
Gadget
- Posts: 62
- Joined: 2003-01-11 11:24
- Location: Finland
Whoops, wrong fixup, this shoud do it, line 1045:
to
Code: Select all
If Left(sCurData,1)="<" Or iSecurity=2 Thento
Code: Select all
If Left(sCurData,1)="<" And iSecurity=0 Then-
Paul_Don
- Posts: 146
- Joined: 2003-01-29 11:41
- Location: uk
-
Paul_Don
- Posts: 146
- Joined: 2003-01-29 11:41
- Location: uk
-
Paul_Don
- Posts: 146
- Joined: 2003-01-29 11:41
- Location: uk
-
bobaxos
- Posts: 10
- Joined: 2003-02-13 23:19
Marvin wrote:If you want VBScript ref, it's in VBSCRIPT?.CHM if some MS soft using vbscript is installed on your system.
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.
-
smitty
- Posts: 53
- Joined: 2003-03-01 19:45
http://www.devguru.com/Technologies/vbs ... intro.html is a very good site for VBScript reference too
Who is online
Users browsing this forum: Google [Bot] and 0 guests