So this is my first Microsoft Visual Basic 2005 Express Edition
program! This is a tool that calculates area of circle. Hehe.
I know it's simple and easy to create, but this is the first thing that I made with Microsoft Visual Basic 2005 Express Edition so I'm quite proud of it! ^^:O
Forum Read Only
This forum has been made read only by the site admins. No new threads or comments can be added.
-
-
nice first program
-
Great! Only two pointers:
- Transparent Backgrounds on controls would look much better
- Make form Fixed Single and disable maximize OR use Anchors to make controls resize dynamically.
-
Thanks!
Can someone tell me how can I learn Visual Basic all the way from the beginning? Are there any free tutorials on the internet?
P.S. I’m 16.
P.P.S. How do I make my program draw a circle (in the group box) with a radius that was inputted in the “Radius” textbox?

Do I have a chanse of becoming Visual Basic Professional? Or is it to late?!

-
i would say you have a pritty good chance of becoming a vb professsional, im only 18, and i only really started to get stuck in to vb 2-3 years ago
as for the circle question, i cant help you, sorry
but if you want a good VB tutorial goto here
hope this helps -
Wow! Thanks for the tutorial link! it's great!

-
Well, I'm 15. I started with VB6 when I was 12, and made the migration to .Net (2.0, having skipped the first .Net wave) at 14. I am in no way a Visual Basic professional, but I'll keep going, and you should too!
To draw a circle:
Public Class Form1
Dim draw As Boolean
Private Sub Panel1_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Panel1.Paint
If draw = True Then
Panel1.CreateGraphics.FillEllipse(SystemBrushes.ControlDarkDark, New RectangleF(10, 10, Panel1.Width - 20, Panel1.Height - 20))
End If
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
draw = True
Panel1.Refresh()
End Sub
End Class
-
i have to give you credit that's a good first program. my first program looked some thing like...
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("hello world\n");
return 0;
}
:/ -
I've modified your source code and can post it if you want, but you'll probably want to work at it yourself!

PS: My first program was a stopwatch in VB6.
Edit: I also added CInt and Cstr to the values. Not necessary, but recommended.
-
Sure thing! just post the code you modified thanks for your Draw Circle code!

-
Code posted here.
-
just in case you were wondering my first .exe was a game, I had written it in a game maker program, then I went on to quickbasic and so on and so on
-
well i'm only 14 and i've been programming vb since I was 9. So there!

-
Hi all!
Check out my bugtracker and all the programs that i made:
http://animaonline.blogspot.com/
http://animagfx.blogspot.com/
http://www.animaonline.blogspot.com/
http://www.animagfx.blogspot.com/
I will be making some new software soon