Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: Vaughn on March 27, 2005, 07:13 PM

Title: Paying to be teached VB
Post by: Vaughn on March 27, 2005, 07:13 PM
Interested in teaching vb and making money off of it? Contact me.

AIM - xVaughnFanX
MSN - [email protected]
Title: Re: Paying to be teached VB
Post by: DeTaiLs on March 27, 2005, 07:21 PM
Why dont u just go buy a book for like 30 dollars and teach yourself
Title: Re: Paying to be teached VB
Post by: R.a.B.B.i.T on March 27, 2005, 07:33 PM
I'll teach you. $400/hour and your firstborn son please.
Title: Re: Paying to be teached VB
Post by: Blaze on March 27, 2005, 07:40 PM
Quote from: rabbit on March 27, 2005, 07:33 PM
I'll teach you. $400/hour and your firstborn son please.
Visual Basic Prof     --- $80
Money to learn VB(From rabbit)    --- $4000
Realizing your an idiot for paying that much    --- Priceless

For everything else, the're is master-card.

Edit:  ;D
Title: Re: Paying to be teached VB
Post by: UserLoser. on March 27, 2005, 07:43 PM
Quote from: Blaze on March 27, 2005, 07:40 PM
Relising your an idiot for paying that much    --- Priceless

Realizing*
Title: Re: Paying to be teached VB
Post by: DeTaiLs on March 27, 2005, 07:52 PM
I am afraid to know what he is going to do with that first born son
Title: Re: Paying to be teached VB
Post by: Blaze on March 27, 2005, 08:46 PM
You could be lucky enough to get a girl instead of a boy. :P
Title: Re: Paying to be teached VB
Post by: Hdx on March 27, 2005, 08:51 PM
Quote from: Vaughn on March 27, 2005, 07:13 PM
Interested in teaching vb and making money off of it? Contact me.

AIM - xVaughnFanX
MSN - [email protected]
The best way to learn, Is to JUST DO IT! and ask if you get stumped. If you have any VB related questions, AIM: HdxEvilBlake
Oh And I don't charge (unless you ask a shitload, then I charge ;) )
Oh and Ian, Son = Girl?
~-~(HDX)~-~
Title: Re: Paying to be teached VB
Post by: Warrior on March 27, 2005, 08:53 PM
IMHO opinon you shouldn't be charged if you're willing to learn . Hit me up on AIM if you have any questions.
Title: Re: Paying to be teached VB
Post by: R.a.B.B.i.T on March 27, 2005, 09:16 PM
Quote from: DeTaiLs on March 27, 2005, 07:52 PM
I am afraid to know what he is going to do with that first born son
I will raise him as my own, and, after tricking enough newbs into giving me their sons, I will have an army of sons to pass on my family name!
Title: Re: Paying to be teached VB
Post by: Blaze on March 27, 2005, 09:18 PM
Quote from: HdxBmx27 on March 27, 2005, 08:51 PM
Oh and Ian, Son = Girl?
No, What I ment was, You would be lucky to get a daughter instead of a son. That way you wouldn't have to give her away. :P
Title: Re: Paying to be teached VB
Post by: QwertyMonster on March 28, 2005, 06:57 AM
I cant teach well, but its easy money, right? I'll want £50 every 2 minutes. I'll teach u for 2hrs.

Your lesson begins: Now.

Go to your visual basic, put a command button down. And make a msgbox appear saying "Connected to Battle.net". and your on. Ok now the cash?
Title: Re: Paying to be teached VB
Post by: Soul Taker on March 28, 2005, 07:03 AM
Quote from: QwertyMonster on March 28, 2005, 06:57 AM
I cant teach well, but its easy money, right? I'll want £50 every 2 minutes. I'll teach u for 2hrs.

Your lesson begins: Now.

Go to your visual basic, put a command button down. And make a msgbox appear saying "Connected to Battle.net". and your on. Ok now the cash?
"make a msgbox appear"?  What kind of teaching is that?
Title: Re: Paying to be teached VB
Post by: LivedKrad on March 28, 2005, 07:38 AM
Quote from: UserLoser on March 27, 2005, 07:43 PM
Quote from: Blaze on March 27, 2005, 07:40 PM
Relising your an idiot for paying that much    --- Priceless

Realizing*

you're*

Secondly, I wouldn't mind teaching for a bit of money. I'll admit my knowledge doesn't quite live up to say, Stealth or Userloser, but I can get the job done.
AIM: excalibur9851

BTW, try to be as rude as you were before when asking for hosting space.
Title: Re: Paying to be teached VB
Post by: Vaughn on March 28, 2005, 09:59 AM
I didn't mean to be rude, I just wanted to know exactly what made your hosting different that others, and that you knew what you were talking about.
Title: Re: Paying to be teached VB
Post by: Tazo on March 28, 2005, 09:59 AM
QuoteTopic: Paying to be teached VB  (Read 57 times)
Maybe you should think about brushing up on your grammar first, I can help you with that for a reasonable price lol
Title: Re: Paying to be teached VB
Post by: Blaze on March 28, 2005, 10:34 AM
Quote from: LivedKrad on March 28, 2005, 07:38 AM
Quote from: UserLoser on March 27, 2005, 07:43 PM
Realizing*
you're*
If I was going for grammar award, I would have told you. At least i'm not typing like hdx.
Title: Re: Paying to be teached VB
Post by: Warrior on March 28, 2005, 10:50 AM
Quote from: Blaze on March 28, 2005, 10:34 AM
At least i'm not typing like hdx.

LOL
Title: Re: Paying to be teached VB
Post by: Blaze on March 28, 2005, 10:52 AM
That wasn't ment to be a flame, it was a reference.
Title: Re: Paying to be teached VB
Post by: Warrior on March 28, 2005, 11:18 AM
Still funny :|
Title: Re: Paying to be teached VB
Post by: Grok on April 11, 2005, 06:28 AM
Most of the replies in this thread disappoint me.  Someone came to this community looking for help.  If you are not going to be a positive influence in their learning, then why are you responding?  I wrote a couple of you about your individual responses, and I could have written others.

Attempts to humiliate each other publicly are not welcome here.  Spelling and grammar corrections are generally cheap and a waste of time and space.
Title: Re: Paying to be teached VB
Post by: Adron on April 11, 2005, 09:37 AM
Quote from: Grok on April 11, 2005, 06:28 AM
Most of the replies in this thread disappoint me.  Someone came to this community looking for help.  If you are not going to be a positive influence in their learning, then why are you responding?  I wrote a couple of you about your individual responses, and I could have written others.

Attempts to humiliate each other publicly are not welcome here.  Spelling and grammar corrections are generally cheap and a waste of time and space.

Wheee! Grok is back on the forum! Welcome back from the W o W!
Title: Re: Paying to be teached VB
Post by: Warrior on April 11, 2005, 02:56 PM
I've already been helping him on AIM :p
Title: Re: Paying to be teached VB
Post by: NetNX on April 20, 2005, 09:40 AM
http://NetNX.net (Connect to my teamspeak server details on that site) me and l2k-shadow are usually on there... we dont generally mind helping as long as you're not a complete dumbass.
Title: Re: Paying to be teached VB
Post by: UnLeaDeD on April 20, 2005, 08:43 PM
You can always try a P2P program and find a nice PDF book for VB. :P
Title: Re: Paying to be teached VB
Post by: Psycho on April 26, 2005, 07:23 AM
Vaughn, I think you would be better off with looking at tutorials and buying a book. And asking Warrior for help, he seems to be the only one really helping you. Good luck. Also if you need I'll make some tutorials for you. Basically just to get you started in learning.
Title: Re: Paying to be teached VB
Post by: Yegg on April 27, 2005, 03:23 PM
People don't always want to spend money. Of course you can always rent a book, no one ever rents programming books it seems. (Well, my library is in the ghetto so nevermind...). There are plenty of websites out there that provide very informative tutorials for multiple (or even more than whatever that might be) programming languages. The site I prefer is http://programmingtutorials.com, but this is of course not the only site out there. If you ever need quick answers to your question involving programming (or practicaly any computer technology topic there is), you can use http://forums.devshed.com. It's my all time favorite forums site. I would highly suggest using it for help (as well as here on ValhallaLegends Forums). Hope this helps.
Title: Re: Paying to be teached VB
Post by: LivedKrad on April 27, 2005, 04:00 PM
Quote from: Psycho on April 26, 2005, 07:23 AM
Vaughn, I think you would be better off with looking at tutorials and buying a book. And asking Warrior for help, he seems to be the only one really helping you. Good luck. Also if you need I'll make some tutorials for you. Basically just to get you started in learning.

I'm glad that the few posts Warrior made to this topic were the only ones considered even remotely close to offering help. Thanks for your expert analysis, Psycho.
Title: Re: Paying to be teached VB
Post by: Yegg on April 27, 2005, 06:25 PM
And mine wasn't? Was his even help? Are you being sarcastic?
Title: Re: Paying to be teached VB
Post by: Warrior on April 27, 2005, 06:26 PM
Of course mine was.
Title: Re: Paying to be teached VB
Post by: Yegg on April 27, 2005, 06:53 PM
:/. Ok whatever.
Title: Re: Paying to be teached VB
Post by: Psycho on April 28, 2005, 11:46 AM
Thanks, Grok.

Vaughn, do you have Visual Basic 6 on your computer? If you don't I can get a you a copy of it.
Title: Re: Paying to be teached VB
Post by: Psycho on April 28, 2005, 12:38 PM
Vaughn, I've looked a few places and I've found a few good links to help you learn VB.

http://www.vbtutor.net/vbtutor.html
http://www.freeprogrammingresources.com/vbtutor.html

If I see anymore I'll let you know.
Title: Re: Paying to be teached VB
Post by: Yegg on April 28, 2005, 02:34 PM
I don't think he'll have trouble finding a copy of Visual Basic 6 [Enterprise]. Nevermind the file sharing softwares but many of the Battle.net related sites also have it in their downloads section.
Title: Re: Paying to be teached VB
Post by: MyndFyre on April 28, 2005, 04:53 PM
Quote from: Yegg on April 28, 2005, 02:34 PM
I don't think he'll have trouble finding a copy of Visual Basic 6 [Enterprise]. Nevermind the file sharing softwares but many of the Battle.net related sites also have it in their downloads section.

Not that that technique is legal or anything...
Title: Re: Paying to be teached VB
Post by: Mangix on April 29, 2005, 01:58 AM
IMHO, VB is easy if you know All the Objects and Properties, and syntax. i know most of the syntax(from VBScript) and about 1/100 from the objects.

btw, nice place to get very l33t and pirated .pdf eBooks is from our very own hdx :P. ftp://hdx.no-ip.org/myEbooks/
Title: Re: Paying to be teached VB
Post by: Psycho on April 30, 2005, 02:21 PM
Author:
Psycho

Description:
Tutorial

Requirments:
Visual Basic 6

Below is a few simple methods of the basics to using Visual Basic 6. Please note that the information may be wrong, or different to your methods. But this tutorial shows the basics, and gives the user an understanding to using Visual Basic.

Getting Started

The most important thing with any program, especially programs with more features is to familiarise yourself with its interface. You should look around the program at all its options it has to offer you, and customise it to suit your needs and preferences. Spending time to get to know your program is essential, and will pay off in the future

Naming things to remember them easily

When you drag controls on your form, they are instantly named based on its control, followed by a number representing the current amount of its control kind on the current form. For example adding a command button will be named Command1, yet adding another will be named Command2. This is not good practice, as you will find when adding multiple controls. The way to do it is by using name conventions (or suffixes). Here is a small list example:

    * Command Button = cmd
    * Form = frm
    * Label = lbl
    * Picture Box = pic
    * Textbox = txt


Normally if i have only say one Textbox on a form, i would name it txtMain. But with command buttons etc i would name them based on their caption, or action. For example a command button called Exit would be named cmdExit. Why is this better you ask? Because identifying a control named say cmdEnter is better and easier to find then say Command57!

Important Notes

Always use Option Explicit at the top of your code windows, this is to ensure you are using the correctly named variables and that non are mixed up.
You can also make Visual Basic add this automatically to every new code window. Just go to:
Tools > Options > Check "Require Variable Decleration"

Never use END to close your program. Although you can no longer see your program, the memory it has used is stored into the computer's RAM still, which will make the users computer very sluggish The work around is to use Unload Me (you can replace the Me with the form name too). Alternatively you can use Set Me = Nothing (Personally i use Unload Me).
Of course you dont want to repeat code over and over, so from your Main Form, you could add this code, to Unload All Forms From Memory:

Always use the Tab key to space between statements, such as If, Else and Then. It makes it easier to read, thus easier to change later on.

Always use comments, dont worry when you compile your program, the comments are removed and are not added to your final program size

visual basic code:Option Explicit

Private Sub Form_Unload()
Dim frm As Form
    For Each frm In Form
        Unload frm
    Next frm
End Sub




Message Box

To create a simple message you could do the following:

visual basic code:MsgBox ("This is my message")



Then you can simply add a comma (,) at the end of the closed bracket to be introduced with inital message box options, such as icons etc.

Message Box - [Advanced]

This example shows how to store a response in a variable, so you can answer to a question.

visual basic code:Private Sub Form_Load()
Dim Response As Integer

Response = MsgBox("Exit Program?", vbInformation + vbYesNo, "Title")
   
    If Response = vbYes Then
        Unload Me
    ElseIf Response = vbNo Then
        Me.Refresh
    End If
    End Sub




It also shows how to add Yes and No to the message box, as well as an icon and Message title.

Menus
If you dont know what a menu is, then dont learn programming
From VB you can easily create menus, however they can only be set at design time. To create them, you must first open the Menu Editor, you can do so by clicking the Menu Editor button from the toolbar or by pressing Ctrl+E. Now, click on the Caption field, and type your Menu bar caption. This example, will show how to create a Edit menu, like the one seen in Notepad. So in the Caption field type &Edit The & means Ampersand, and underlines the following character. Now from the list below, you will see &Edit, before adding a sub item we must name the Menu Item. We will use mnuEdit. Now from the list below, click Insert, and use the arrows if necassary to position the sub item. To let VB know this is a sub item use the Right arrow once.(IE this item goes directly underneath our main menu). Now we add the Undo sub item. So for the caption we add &Undo, and name it mnuEditUndo. Now create a new sub item in the same way. Now we will make a seperator (this is the line that appears in the menu). we use a - (hyphon) for the caption, and i would name it mnuEditSeperator1. Now finish the menu off as you wish, the layout should look like this:

Code:

&Edit ---&Undo ---- ---&Cut ---&Copy ---&Paste ---&Delete ---- ---Select &All



Close the Menu Editor and look on your form, is the menu there?

Menus - Creating a Popup Menu

To create a popup menu, create a menu like before from the Menu Editor, but make the first Item Visible = False. (you should name it mnuPopup too).

This code will create a popup when the form is right clicked:

visual basic code:Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
    If Button = vbRightButton Then
        Popup mnuPopup
    End If
End Sub




Its as simple as that

Modules?

What is a module you ask? A module is used to store all your functions and public routines seperately. Apart from it keeping your code editors window clean, it removes the need for repetitive typing. For example, it is better to add code to a module and use 1 line to call it when needed, then to repeat the same code over and over. This code from the module Exits the program when needed:

visual basic code:Public Sub ExitProgram()
Unload frmMain
End Sub




It has to be named Public so VB knows it is available to all forms. Now, from the form, this code is called when you click either the File > Exit menu item or the Exit Command button, like so (This code goes in your form's code window):

visual basic code:Private Sub mnuFileExit_Click()
Call ExitProgram
End Sub

Private Sub cmdExit_Click()
Call ExitProgram
End Sub




Although there is no significant size difference in using the code form the module, as there is using it in your form's code, it saves time and space later on when dealing with larger code!

Components and Libraries

A component (ActiveX *.ocx) is a control used in your VB IDE environment. The basic components consist of labels, frames, textboxes etc. You can add new components by going to the Project > Components menu.

Q) When i download a ActiveX component from a third-party web site it doesnt show in the components menu. How do i fix this?

A) ActiveX controls need to be registered to your system. To do this, first its reccomended copying the *.ocx file into the C:\WINDOWS\SYSTEM directory. Then goto (from Windows)
Start > Run > regsvr32 "C:\WINDOWS\SYSTEM\MyControl.ocx"
Then you may need to restart VB for the changes to take affect.

This applies the same for DLL's (Dynamic Link Libraries).

To unregister the control or Dll goto:
Start > Run > regsvr32 /u "C:\WINDOWS\SYSTEM\MyControl.ocx"