Can you post your source? On Wed, Nov 26, 2008 at 10:41 AM, Shannon Cummings < [EMAIL PROTECTED]> wrote:
> I have something went wrong designer and source code. Its not working. > Its been stuck. I don't think so hours, minutes and seconds. I don't know. > > > ------------------------------ > > Date: Tue, 25 Nov 2008 23:40:21 -0500 > From: [EMAIL PROTECTED] > To: [email protected] > Subject: [DotNetDevelopment] Re: need help!!!! > > > Where are you getting stuck? > > Pick up a physics or math book to verify length conversions. > > I'd recommend converting the English lengths to inches. Then make that > value metric. > > It might (or may not) help to think of time and how hours, minutes, and > seconds can be converted into one another. The thought process is analogous. > > > > > > On Tue, Nov 25, 2008 at 5:59 PM, Shannon <[EMAIL PROTECTED]>wrote: > > > I am taking a Visual Basic .NET in class this semester and up to > this point everything has seem to be going smoothly! Yesterday, I > received my assignment, I read through the chapter and thought I > could > handle this assignment. Well I was wrong and cannot understand it at > all....This particular assignment is a freebie....do it so I can get > the real assignment....don't even have to hand it in but if I dont > understand it my next assignment really will not make any sense at > all. > So I need some help!! I've done the simple part of creating the > form....no code though....I do not understand the > constant...vaiables....so if anyone could write the code and send it > to me in a notepad or word file > > English to Metric Conversion > > > Design and develop a project to convert an English measurement in > miles, yards, feet, and inches to a metric measurement in kilometers, > meters, and centimeters. Use the following formula to change the > English measurement to inches: > > > Total Inches = 63,360 x Miles + 36 X Yards + 12 X Feet + Inches > Use the following formula to determine the equivalent meters: > > > Meters = Total Inches / 39.37 > > > Declare constants for all numeric values in the two formulas above. > The > variable used to represent the number of meters and the numeric > constant 39.37 must be declared as the data type Double. The > constants > and data types in the first formula should be declared as integers. > Convert the Total Inches in the second formula to a Double data type > before using it in the calculation. Set Option Strict to On in your > code. > > > (Hint: After the number of meters has been determined, the maximum > number of kilometers can be computed from: Kilometers = Meters\ > 1,000. > Next, the remaining meters can be determined from: Remaining Meters = > Meters -1,000 * Kilometers. The number of integer meters in Remaining > Meters then can be determined from: Integer Meters = > Convert.ToInt32(Remaining Meters). Continue with the same technique > to > compute the number of centimeters.) > > > Use the following test data to test your program: 2 miles, 5 yards, 2 > feet, and 7 inches. The result should be 3 kilometers, 224 meters, > and > 5.38 centimeters. > > > > > -- > Charles A. Lopez > [EMAIL PROTECTED] > > Bachelor of Arts - Computer Science > New York University > > Registered Microsoft Partner > > New York City, NY > > ------------------------------ > Windows Live Hotmail now works up to 70% faster. Sign up > today.<http://windowslive.com/Explore/Hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_faster_112008> > -- _______________________________ Take care, Paul It is not we non-interventionists who are isolationists. The real isolationists are those who impose sanctions and embargos on countries and peoples across the globe and who choose to use force overseas to promote democracy. A counterproductive approach that actually leads the U.S. to be more resented and more isolated in the world. Dr. Ron Paul www.RonPaul2008.com
