Visual Basic Question
Moderator: Moderators
Visual Basic Question
i dloaded visual basic 2005 express from the microsoft site. its completely free forever right? and is VB easy?
-
HotDog-Cart
- Portablizer
- Posts: 3804
- Joined: Sat Jul 16, 2005 12:07 pm
- PSN Username: Lythinca
- Steam ID: scythe_king
- Location: Your IP Address, Connecting...
- Contact:
-
HotDog-Cart
- Portablizer
- Posts: 3804
- Joined: Sat Jul 16, 2005 12:07 pm
- PSN Username: Lythinca
- Steam ID: scythe_king
- Location: Your IP Address, Connecting...
- Contact:
-
bicostp
- Moderator
- Posts: 10491
- Joined: Mon Mar 07, 2005 5:47 pm
- Steam ID: bicostp
- Location: Spamalot
- Contact:
Yes, it's completely free forever.
Why not? It's a relatively easy to use development environment that can be used to make just about anything. Once it compiles the program it's the same quality as any .NET program.HotDog-Cart wrote:You know what I mean. Like, I'm telling him to not get psyched out about its sexyness.
Twitter
http://www.pcwgaming.com" onclick="window.open(this.href);return false;
If you want a Dropbox account, please use my referral link
http://www.pcwgaming.com" onclick="window.open(this.href);return false;
If you want a Dropbox account, please use my referral link
help.. i have this..
its supposed to be a program to calculate the area of a square. when i debug to run, it says that Product isnt declared.. how do i do that
Code: Select all
Public Class Form1
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label1.Click
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Product = Val(TextBox1) * Val(TextBox2)
Label3 = Product
End Sub
Private Sub Label3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Label3.Click
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub
End Class
-
bicostp
- Moderator
- Posts: 10491
- Joined: Mon Mar 07, 2005 5:47 pm
- Steam ID: bicostp
- Location: Spamalot
- Contact:
It's been a few months, but I think you have to add something like this to the code:
Look up "declaring variables" in the help system.
Code: Select all
dim Product as integer Twitter
http://www.pcwgaming.com" onclick="window.open(this.href);return false;
If you want a Dropbox account, please use my referral link
http://www.pcwgaming.com" onclick="window.open(this.href);return false;
If you want a Dropbox account, please use my referral link
-
Kurt_
- Portablizer
- Posts: 5748
- Joined: Thu Nov 24, 2005 10:32 am
- Steam ID: kurbert
- Location: Ontario, Canada
- Contact:
Type "Dim [any name except reserved names like 'and' or 'dim'] as " and you'll get a list of things to choose from. Single is any number (decimals included) from 1 to a whole lots. Double is a whole lot more, Integer is only whole numbers, String is not a number (text, etc.) and I forget the rest.
Hey, sup?

