Jump to content

[Solved] My First Unit Convertor.


Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...