VS 2008 Trying To Make A Unit Converter

Sep 17, 2011

I'm a bit new to these forums but anyways let me get to the point. I'm trying to make a Unit Conversion Program on VB 08 and I am trying to make it so I don't use too many radio buttons, however I may use it if there is no other option. And I also have to make the program do it both ways

For Example I want to convert Fahrenheit to Celsius and Celsius to Fahrenheit in the same textbox or some sort of box.

View 9 Replies


ADVERTISEMENT

VS 2008 Unit Converter Handling Multiple Unit Types

Apr 12, 2011

Does anyone have a nice sample of a unit convertor handling multiple unit types that I can integrate in my application? I have found this one, but it is only handling one type of unit. For example I want to convert weight as well as volume from and to imperial units.

View 8 Replies

VB 2008 Metric Unit Converter?

Aug 24, 2010

i am new to VB and am trying to make a metric to imoerial unit converter in VB 2008. I have created a form with 2 list box's with MM, CM, KM etc ....... and the other Inches Miles etc I have added 2lables with convert from and convert to and also 2 blank text box's the first one to choose the number i would like to convert and another to show the converted unit, I have also added a convert button.I am really struggling to find the correct code to make this work.

View 2 Replies

VB 2010 - Unit Converter Between (km - M - Cm - Miles - Yards - Feet And Inches)

Feb 27, 2011

I am attempting to make a unit converter that converts between km, m, cm, miles, yards, feet, and inches. I have a textbox that is used to input the value to convert followed by a space and the units (i.e., 56 km) and a second textbox where the user types what unit they want to convert to (i.e., cm). When converting, the output will be displayed in the second textbox. (I know this is complicated, but this is the way it is to be done). I am doing this using sub and function procedures and If blocks and Select Case blocks (i.e., keeping it as simple as possible).

[Code]....

View 4 Replies

VS 2008 Make A Video Converter Using .Net?

Dec 26, 2009

It is possible to make a video converter using VB .Net? If yes with what I should start?

View 2 Replies

VS 2008 : Make A Simple Character Converter?

Jul 27, 2009

I'm trying to make a simple character converter i.e. (A converts to O) or (C converts to V) I need to make defined parameters for the entire alphabet.I have two text boxes set up and a command button. I'm trying to make it so the text inputted into the first textbox is converted (using the defined parameters) Into the second textbox with a click of the button.

View 5 Replies

Application Which Communicate With One Data Logger Unit (temperature Monitoring Unit)

Jul 21, 2010

I have written one application which communicate with one data logger unit (temperature monitoring unit) and download records after some interval. Unit continuously send current temperature which I have to show on screen and after each one hour I have to download log (all records saved inside unit at max 1024) from unit.

Now problem is after downloading log, application get hang or what we called working in background and resume after some time. If I pause debugger in visual studio 2008 it show control at application start (sub main) with message as "application will resume here after completing execution of current function". There is nothing in output window. So how can i trace is there any events got spool or what actually application doing in background.

View 1 Replies

How To Make Converter

Dec 13, 2010

i'm trying to make a converter, i have 4 textboxes, 2 of them are encode, the other 2 are decoders.
on the encode process i use:
[code...]

I want it to be decoded when a button is pressed, because I cant use the KeyPress or KeyDown function because it will most likely be copy-pasted.

how would i do that, for instant the char A Will be converted from "W11" to "A".
Now i know there is a function called Convert, but i have no idea on how it works or if it even is proper for this task.

View 13 Replies

Make A Currency Converter?

Apr 18, 2009

I am trying to make a currency converter but i have forgotten how to do it. I am looking to convert at least 10 currencies from combo boxes.

If cboConvertfrom.Text = "British - Pounds" Then
Currency = GBP(0)
End If

[Code].....

I am looking to have a text box were people insert a number then select which currency to convert from and to and display it in another text box or label

View 1 Replies

Make A 1 Lined Binary Converter?

Nov 1, 2011

Basicly I'm trying to make a 1 lined binary converter. Ill send you guys some screenshots If (tb1.Text) * (CInt(tb2.Text) + (tb3.Text)) * (CInt(tb3.Text) + (tb4.Text)) * (CInt(tb4.Text)) Then Label6.Text
Screenshots: What it's going to look like:

View 14 Replies

Make A Hex Converter To Any Kind Of Sort?

Nov 12, 2010

How can I make a hex converter to any kind of sort (integer , decimal , etc...).

Download Genius Web Explorer , It's free.
Download Genius Desktop Clock , It's free.
Download Genius Wallpaper Changer , It's free.

View 2 Replies

Make A Metric To Kilogram Converter?

Jul 3, 2009

I'm trying to make a metric to kilogram converter and I am having trouble starting it out. With my Answer label being txtAnswer and the Inches button being btnInches, I have ran into snags with trying to get it formulate the 37, 370 into 1 Kilometer I believe that it needs to be a sring but I am stuck.

View 3 Replies

VS 2010 - How To Make Audio Converter

Jun 25, 2010

Well how can I make an Audio Converter?

View 6 Replies

Make A Program Which Basically Performs Unit Conversion?

Jun 18, 2012

Im trying to make a program which basically performs unit conversion. I have basically made two text boxes, one for the S.I. Units and the other for British Units. The general idea is that when i input any number in the S.I. Unit text box, it should display the answer in British Unit text Box and similiarly if i input any number in British Unit Textbox, the answer should be displayed in S.I.Unit textbox. Now the problem lies here that the code that i created is by using if else. now the compiler automatically gives me the correct result in the British box when i input the value in the s.i. unit box, but when i input the value in the british text box, it gives an error that :

"An unhandled exception of type 'System.InvalidCastException' occurred in Microsoft.VisualBasic.dll

Additional information: Conversion from string "" to type 'Double' is not valid."

Heres the part of the code.
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
Dim p As String = "Pressure"

[Code].....

View 4 Replies

Make A Temperature Converter That When Fahrenheit Is Entered Into Textbox1?

Mar 3, 2009

I am working on a school project to make a temperature converter that when fahrenheit is entered into textbox1 and then tabbed, the conversion to celsius, rankine, and kelvin is displayed in textbox 2,3, and 4.My instructor showed me how to input the code for this, but it isn't working correctly. I know I need more code to get this right but I am a newbie to programming and my instructor doesn't insruct very well. Can someone please tell me what I need to do to finish this coding? This is what I have so far:
Public Class Form1

[Code]...

View 2 Replies

Make A Simple Temperature Converter (C To F Vise Versa) For Class?

Feb 15, 2012

I decided to make a simple temperature converter (C to F vise versa) for class since I already had made a calculator. But for some reason, it won't work because it can't convert from string to double. How do I fix it?

[Code]...

View 10 Replies

IDE :: Get VB 6.0 To Visual Studio 2008 Converter?

Feb 18, 2010

get VB 6.0 to Visual Studio 2008 converter?

View 1 Replies

Vb 2008 Roman Numeral Converter?

Oct 19, 2009

Public Class Form1
Dim Character As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

[code]......

View 3 Replies

VS 2008 Making A Units Converter?

Feb 22, 2012

So i decided to make a units converter for my term's project and my teacher insisted on including the combo box in this project. I'm not really familiar with the combo box as i am still a beginner in visual basic. I've looked around and learned a bit about using the combo box but later i faced a problem. First i created a Main combo box and placed it in the middle of the form. I managed to use the select case command to make other combo boxes appear and disappear as i wish. I don't really know how to describe the problem, i want to make it that if i choose the input as a unit and the output is any other unit from two different combo boxes, the value in the input text box would be multiplied by a certain conversion factor and the result will be shown in the output text box.

View 1 Replies

VS 2008 Numbers To Words Converter

Nov 1, 2010

I'm trying to create a program that takes 7 numbers and converts them to Letters. To do this I have created a TextBox to enter the 7 digit number in , a CONVERT Button, and a LIST BOX to display the thousands of results. This is created using a Windows Application Form.

[Code]...

View 4 Replies

VS 2008 Tempreture Converter And Loop

Nov 17, 2009

At the moment im tryng to create a celcious to fahrenheit i already got the formula and so i put it into visual basic. My goal is to create a programm with two textboxes

one celcious and the other one fahrenheit.[code...]

THen i realized that loop is created because if i write 12 in celcious it outputs to fahrenheit which outputs back to celcious ecc.. infact when i debug it says

Make sure you do not have an infinite loop or infinite recursion .I would like to have a programm with 2 textboxes. If in one i put 12 then the respective fahrenheit comes out; If in fahrenheit i put 55 then the respective celcious comes out.

View 9 Replies

VS 2008 World Time Converter?

Jan 20, 2011

after numerous google searches and comparing excerpts from different peoples' various codes I could not get this program to work, though I came quite close. I'm attempting to make a program that will tell me the time in different parts of the world, a personal use program that I thought would help me exercise my vb skills.

The problem I'm having, however, is that when it should be showing my time it is either 5 hours ahead or 5 hours behind. I tried adding variables and deleted them again time and time again trying to make adjustments but all I managed to do was make the timer get stuck at 12:00:00 AM.

[Code]...

View 10 Replies

Unit Testing Framework Timeouts In VB 2008?

Feb 19, 2009

I'm running some unit tests for a large VB.Net application I help maintain and am running into problems with tests timing out. The test run is set up so that there's no timeout limit on the overall test run, but a limit of 2 minutes per individual test. However, a couple of the tests take a lot longer than this to run, so we tried adding the timeout attribute to the test's declaration, i.e

<TestMethod(), Timeout(15 * 60 * 1000)> Public Sub DoSomething()

for a 15 minute timeout. However, the 2 minute timeout set in the test run properties seems to be taking precedence, even though it says that the timeout attribute should override it.

View 1 Replies

.net - Using Lambda In Unit Test In 2008 With Rhino.Mocks?

May 12, 2009

I am trying to create a unit test similar to how I would have done one in C# but am struggling with the lambdas in vb. Bascially I am trying to mock a class and then create a stub and return. In C# I would have done something like;

MockedPersonRepository
.Stub(x => x.Find(id))
.Return(person)

[code].....

View 2 Replies

VB Express 2008 - File Directory - Coded A Video Downloaded - Want To Include A Converter As A Separate Exe File

Feb 15, 2011

Anyways, i have coded a video downloaded and i want to include a converter as a separate exe file. But obviously people may have different file directories so a simple piece of code i have used won't work. This is what i have: Also where would i place the exe file?

View 3 Replies

Get The Unit In A Currency?

Jan 16, 2010

What code can you use to get the unit in a currency?

For example in 10,340.55 there is:

10 units for a thousand.
3 units for hundreds
4 units of tens.
1 fifty cent
1 five cent.

View 4 Replies

Converter C# And VB ?

Aug 9, 2009

I have made simple design for the program

2 texboxes
2 forms

Form1 has:C# to VB converter 2 textbox (where they will put the code from C# or VB ):1 that will put info: other that will apeear the converted text 1 button

I need source how to make when its press button1 to show them in new texbox the souce code that he selected

Form2: VB to C# converter. i need the same and for VB to C# code when its pressed button for Form2

View 3 Replies

Converter VB 6 To .Net ?

Feb 11, 2012

how to convert a project from VB6 to VB.NET using this method below ?

Visual Studio >> File >>Open >>Convert..

Had some plug in or even executable to tell me?

View 7 Replies

Dwg To Xml Converter?

Feb 19, 2010

i am a beginner and trying to write a program that can convert .dwg file into .xml file format.i am familiar with visual studio 2008, vb.net and autocad 2007.

View 6 Replies

VB To C# Converter?

May 23, 2010

Show me a site where there is good conversion available from vb.net to c#?

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved