Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
I need some inspiration
Topic Started: Sep 18 2009, 10:50 PM (256 Views)
ZapTap
Want to talk? My inbox is always open :D
[ *  *  *  * ]
I'm a beginner programmer and currently using VB .Net 2003 (managed to track down the same version the school uses :P ) and I want to make something at home but I don't know what to make

I say I'm a beginner but use the term loosely, if something calls me, I'll just use Google to find out how to do it (I've done this numerous times when my teacher doesn't know the answer)
Offline Profile Quote Post Goto Top
 
Reid.
C'est un piège!
[ *  *  * ]
I would learn Python at least on the side. I tried it out a while back and it's a lovely language - very clean and simple syntax and incredibly readable.
Offline Profile Quote Post Goto Top
 
ZapTap
Want to talk? My inbox is always open :D
[ *  *  *  * ]
I plan on that once I get a bit farther along, and my dad asked for a program now, but I have a problem:

he wants radio buttons in the main form but he wants to be able to select multiple ones. I know it can be done because he's had someone make this program for him before, but has since lost it. Does anyone know? He wants radio buttons to represent to tools on the tool changer so that he can select which tools are down and it will look more realistic

EDIT: also, I want to be able to click a button and it adds up a value I assign to each of the option boxes (radio buttons) above, so they are worth 1,2,4,8, etc and I can add together the selected values in a binary type system but with decimal numbers, and I need to show the combined value in a label on the click of a button, but also be able to maintain the code later on

EDIT2: I suppose I'll just have 65535 if statements :|
Edited by ZapTap, Sep 19 2009, 07:34 PM.
Offline Profile Quote Post Goto Top
 
Ethyr
Member Avatar
Light of a Goddess
[ *  *  * ]
If you are going to do radio buttions, it'll be best to do check boxes, then do a calc button.,
Offline Profile Quote Post Goto Top
 
ZapTap
Want to talk? My inbox is always open :D
[ *  *  *  * ]
now onto the text input box:

how can I restrict it to numeric values (0-9) and limit it to 5 characters, so that it simply shows nothing if you hit a letter or have too many characters?
Offline Profile Quote Post Goto Top
 
ElementalAlchemist
Member Avatar
ERROR: This title does not exist.
[ *  *  *  *  * ]
Checking for numbers, IsNumeric(variable);

I don't remember if there's a way to limit the length but it'd be in the text box settings somewhere.
Offline Profile Quote Post Goto Top
 
HolySavior
Member Avatar
if( holy + alcohol){ happycoding()}
[ *  *  *  *  *  *  * ]
heres how you do it.

each time one is checked or unchecked have it run a function. that way the function handles everything and your not running like a billion if statmentes.
Offline Profile Quote Post Goto Top
 
ZapTap
Want to talk? My inbox is always open :D
[ *  *  *  * ]
I thought about that but I don't know a lot about functions just yet, other than returning a value and declaring it as the text property of, say, a label

what I did was I declared a global variable for the value of the items checked, and when a checkbox is checked, it adds a specific value, and when it's unchecked again, it subtracts the same value, and the value is different for each of the 16 checkboxes
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Programming and Scripting Chat · Next Topic »
Add Reply