Sign in to follow this  
Followers 0
dantay9

[Solved] My First Unit Convertor.

2 posts in this topic

#1 ·  Posted (edited)

For the most part, my convertor works fine. I have two problems though:

1. I need my ini file updated for temperature because I can't figure out what to put in (using one line) for the conversions.

2. I need a way to return a msgbox if two incompatable units are selected (such as feet and liters).

Thanks in advance.

Edited by dantay9

[font="Verdana"] [size="2"]"[/size][/font]Failure is not an option -- it comes packaged with Windows"[font="Verdana"][size="2"] Gecko Web Browser[/size][/font][font="Verdana"][size="2"], [/size][/font][font="Verdana"][size="2"]Yahtzee![/size][/font][font="Verdana"][size="2"], Toolbar Launcher (like RocketDock)[/size][/font][font="Verdana"][size="2"]Internet Blocker, Simple Calculator, Local Weather, Easy GDI+ GUI [/size][/font][font="Verdana"][size="2"]Triangle Solver, TCP File Transfer, [/size][/font][font="Verdana"][size="2"]Valuater's Autoit Wrappers[/size][/font][font="Verdana"][size="3"][size="2"][size="2"]OOP In AutoIt[/size][/size][/size][/font][font="Verdana"][size="2"][size="1"]Using Windows XP SP3, 1GB RAM, AMD Athlon Processor @ 2.1 GHzCheck me out at gadgets.freehostrocket.com[/size][/size][/font]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

need a way to return a msgbox if two incompatable units are selected (such as feet and liters).

I'm no expert, but couldn't you use

case feet and liters;over simplified in the extreme

you could end up with a lot of cases though...

alternatively, try coding it so if you've already selected feet - You can't select Liters

just an idea :P

Mdiesel

Edit - I've also found a problem - bytes to kilobytes is the same as the same reversed...

Edited by mdiesel

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0