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


ADVERTISEMENT

Send An Image From The Host To The Client And Vise Versa?

May 23, 2009

I'm implementing a client server from Atheist's thread about the TCP connection. I have set up a host that stores all the user details and when the user connects to the host, the specific user details will be sent to the client. One of the details include an avatar image. Since the example is sending data via text, how do I send an image from the host to the client and vise versa?

View 3 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

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

C# - WPF Binding: Doing A Temperature Converter App?

Jan 6, 2011

I'm doing a little app that basically has 2 text boxes. You'll enter Fahrenheit into TextBoxA and Celsius into TextBoxB.As the text changes in TextBoxA I want the equivalent Celsius value to be displayed in TextBoxB and vice versa.Is there a way to do it all in Xaml except for a Convert class that does the maths? So basically I want the TextChanged event of one textBox to pass in it's value into a Converter class that is evaluated and sent to the other TextBox and visa versa.

View 2 Replies

Asp.net - Visual Basic Temperature Converter

Aug 25, 2011

I am new with Visual Basic and I am creating a aspx temperature converter application in Visual Studio 2010 where the user is able to input numbers into a textbox, choose what type temperature it is through a dropdown listbox, and choose what temperature to convert it to from a radio button list. The problem I am having is that I am getting an error when I try convertingrr something. I get the error "Input string was not in a correct format" and "Conversion from string "F" to type 'Boolean' is not valid." I've tried doing nested if..elseif..endif statements, but when I do that it just converts the 1st if statement and nothing else. Here is the code I have written for the conversion.

[Code]...

View 1 Replies

Updating Figures In Temperature Converter?

Jun 4, 2009

Below is my code which is almost complete. The only thing that I need to do is set up an autoupdate feature that keeps an ongoing average of each temperature that I enter in. I have no idea how to do it!

Option Strict On
Imports System.Convert
Imports Microsoft.VisualBasic.ControlChars
Public Class Form1

[code]....

View 1 Replies

Math Equation For Temperature Converter Buttons?

May 4, 2010

I've pretty much have this assignment done. My main problem is to get the math to pan out and it's making me crazy. It's gotten to the point of staring blankly at my screen for the last 4 hours.I'm hoping that someone would be willing to take a quick peak and give me a shove in the right direction. The purpose is to type in a number in a textbox then choose using a fahrenheit radio button and a celsius button to calculate the corresponding conversion in a label box.

[Code]...

View 3 Replies

Temperature Converter - Select A Radio Button

Feb 20, 2009

I have been trying to make this Temperature Converter and it comes up a error when i select a radio button,

[Code]...

View 8 Replies

Make A Simple Class That Reads Data From A SerialPort

Aug 17, 2009

I'm trying to make a simple Class that reads data from a SerialPort.The Device returns a number of lines of Strings.[code]However running this code in a Form with one TextBox Control (txtLog) Allways results in the "The operation has timed-out." Exception.[code]

View 3 Replies

Make A Temperature Gauge Using Scroll Bar?

Mar 21, 2010

i want to make a temperature gauge using scroll bar (refer to Attachments) it has label to show the text of current temperature and if you are noticed the are also two labels in blue and red which indicates coolness or hotness.the problem is when the temperature reached certain point for example 50 Celsius,the color label is not working.i mean initially i set red label,visible = true thus make blue label visible and it indicates the temperature is still cool but when scroll it to 50 Celsius,the red label is not shown up and blue label is still there.also not working when i decrease the temperature less than 50 Celsius.

here is the coding

Public Class Form1
Inherits System.Windows.Forms.Form
Private Sub vsbCount_Change(ByVal newScrollValue As Integer)

[Code].....

View 7 Replies

How To Make Temperature (Celsius) Conversion Program

May 2, 2010

I'm new to visual basic and have decided to make a temperature conversion program. I've attached a screenshot to aid in my description. The program reads the temperatures on the left(from text boxes), converts them, and displays the answers on the right in text boxes. The program has a fever check at the bottom which displays whether or not the converted values are a fever.

I've managed to get this to work no problem, but I'm trying to get it so if the user enters the temperatures directly into the "result" textboxes, that the fever check still works. Unfortunately I'm having no luck, the fever check will only display a message if the values have been converted, not directly entered by the user. Here is the code I tried(fever.Text is what is displayed in a textbox above the fever check button):

Private Sub FeverCheck_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FeverCheck.Click
'Turn string values entered into Decimal Values so they can be compared to decimal values
Dim fahrfever As Decimal
Dim Celsfever As Decimal
'The following two lines have problems when debugging
[Code] .....

View 3 Replies

Make A Simple Browser With Some Simple Addon's?

Dec 9, 2011

Trying to make a simple browser with some simple addon's. What Ive done is setup a menu(forum) for the user to enter their email providers web address and it will save it in a xml file. When they click on the email link, it should load the email xml iformation and place that info in the tb_html.text and navigate. I keep getting a null exception and im not sure what going on here. Here is the code:

Browsers:
Private Sub btn_Email_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_Email.Click
'Load Action
Dim SavedEmailObj As Storage

[code].....

View 2 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 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 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

VS 2010 - How To Make Audio Converter

Jun 25, 2010

Well how can I make an Audio Converter?

View 6 Replies

Write A Simple Expression-like Class In .NET 2.0?

Jul 7, 2010

I'm currently working in .NET 2.0 Visual Basic. The current project is an Active Directory Wrapper class library within which I have a Searcher(Of T) generic class that I wish to use to search the underlying directory for objects.

[Code]...

In short, I want to offer some kind of Expression feature to my users, unless it is too much work, as this project is not the most important one and I don't have like 2 years to develop it. I think that the better thing I should do is to write something like CustomExpression that could be passed in parameters to some functions or subs.

View 1 Replies

Create A Simple Class - ASP.NET | Dream.In.Code?

Feb 20, 2010

I recently started working with Vb.net and I am just trying to create a class that has two properties one is StoreName and the other is StoreImage. What I am trying to do is figure out how to create objects using this class? Each object will be a Store that has a corresponding Name and Image to go with it. Here is the code I have written so far although I am not sure if im headed in the write direction with the function. Also not sure if it matters but I am using ASP with VB?

Imports Microsoft.VisualBasic
Public Class Store
Dim NameofStore As String
Dim ImageofStore As Image

[code]....

View 2 Replies

Simple Product Class With Multiple Records

May 26, 2009

VS2008 VB.net. I have a simple Product Class with 20,000 records:
Product(1).partno = "3999399"
Product(1).desc = "Bearing"
Product(1).loc = "34"

This represents ONE sale only and may appear in 100's of other records
Using LINQ how can I: Determine the total count of each partno and then sort by descending order

Example:
Count Partno Desc Loc
3,232 3999399 Bearing Loc 34
2,323 3899388 Bushing Loc 35
etc.

View 5 Replies

Using .net 2010 PointOfService.POSPrinter Class For Simple Job On POS Printer?

Jan 6, 2012

I need to print a simple receipt to my EPSON-TM-T88V thermal POS printer with VB.NET 2010 on XP (eventually to run on Windows embedded POSReady) via USB.All I need to print is some text and a logo. I have my logo stored on the printer. So, I need to use Epson's ESC/POS commands. So, does it make sense to use Microsoft.PointOfService? Seems like a lot to go through to send some escape sequences to a printer!Apparently, the PointOfService system has not been updated to work seemlessly with VB.net 2010 (details below) That is why I wonder if I am taking the wrong path.IF this is the right path...here is what I did and where I am stuck.

For people trying to us the PointOfService classes in VB 2010:First you need to download and install the POS.net (Microsoft.PointOfService) - free download MS. Then you need to add references in your vb.net project. When you try to run it, you will probably get an error something like this:

{"This method explicitly uses CAS policy, which has been obsoleted by the .NET Framework. In order to enable CAS policy for compatibility reasons, please use the NetFx40_LegacySecurityPolicy configuration switch.

[code]...

View 1 Replies

Deserializing XML Into Simple .NET Class - Cannot Populate Property From Root Node Attribute

Feb 17, 2010

I have a simple class that I trying to populate from an XML document. The XML file has an attribute called TrackingID in the root node which I would like to get as a property. For some reason, when I deseralize the class, the TrackingID is null. Everything else populates fine. I have tried various attributes on the TrackingID property with no luck.

[Code]...

View 1 Replies

Can't Make Difference Between Public Class And Private Class And Friend And Protected Friend Class

May 15, 2009

I can't make difference between public class and private class and friend and protected friend class.

View 1 Replies

How To Make A Simple Messenger

Feb 6, 2011

Is there a way to accomplish a messenger of that style:The application has a listbox, a textbox, and a button Every user with the program on his pc can type something in the textbox, press the button and this appears on his listbox but also on every other listbox of people that have opened the program.Is there also a way to get another listbox with the nicknames of the people that are in the program?

View 11 Replies

How To Make Simple Program

Jul 2, 2009

i want to make a simple program that can be used of add,delete,edit,save,, thats all, so that i will understand the basic of programing.so that in that program i will developed it and also connection of vb2005 to sql server 2005.. i am amateur here using this vb2005 and sql server 2005.

View 4 Replies

Make A Simple Application?

Jun 24, 2009

i want to make a simple application [URL]

View 8 Replies







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