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
I am trying to create a currency converter that will convert currency. I have a text box to enter the amount and 2 combo boxes to choose which currency you are converting from and to.
I am using a webservice site XML that contains the conversions.
The problem is I cannot get the display to work properly.
I wanted to convert my rate field by using one dropdownlist to convert it. Eg, if the dropdownlist selected on japan, when the user select and change to malaysia the rate field will automatically change to malaysia rate from japan rat
I wanne make a windows form application. Its a currency converter that can convert EUROS to belgium franks,german marks and the coins off Nederland.it has to be possibel to round the result to zero decimal. I already made the design with the radiobuttons and labels. But I dont know how to make it work. Its also for a assignment.
how to do programs in Visual Basic 2010 (It's a Currency Converter/Import Duty Calculator) and I've come across a few problems which are listed below.Basically the project is like this:I'm trying to create a program which converts Hadean pounds, shillings and pence into British Pounds and Pence before it transfers to a form which calculates Import Duty and VAT, after which it gives the final price.So far, I've created a program which is made up of 2 forms and a Splash Screen. The information listed below is for those who want to know more about what I'm trying to do.Once the Hadean price has been converted to Sterling additional import duties and VAT must be added to the Sterling price. Thus control will pass to a 2<sup style="text-indent:0cm;">nd</sup> form where importation duty is added. Depending on the method of importation the followig duty should be added to the Sterling price:
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.
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:
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.
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.
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.
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
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?
i'v started learning visual basic on a software development college course and i have to make a program which outputs a price of something into currency only when i click on my calculate button it only comes out as a whole number so instead of �1.00 it just says 1, this is my output code.
qty = txtQty.Text money = 100 If lstItems.SelectedIndex = (0) Then
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
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.
My boss has given me a new task of converting his old vb projects to new new .net projects. He wants me to convert both windows as well as web applications to the latest versions. As I am new to programming, I am having difficultly in converting the codes.w if there is any free VB6 to VB.Net Converter which can convert all code. And also let me know if there is any good way to manually convert VB6 code to VB.Net code.
I have a button that i basically want to either show or hide it based on if a certain string has a value or not. I create the buttons in code so i was trying to used databindings with a converter but i can't seem to get the converter on the binding after the value changes. I'm not sure if I'm going after this correctly or not... Here is what i have for creating the button and the binding and the converter. "sFileLocation" is a string inside my class "QuestionsFile". This works for initialization but its just when the value of the string changes, this binding doesn't see the change and doesn't run the converter and all that for me...
Dim btn2 As New Button Dim b2 As New Binding("sFileLocation") b2.Mode = BindingMode.TwoWay
[code]....
The thing I don't understand too is that the binding works fine if i just binding the property to the Button.Content. So the property is updating correctly when it gets changed, and the buttons content changes accordingly.
.NET converter (either C# or VB.NET)? I've inherited a bunch of Delphi code, never seen Pascal before and rather than learn it, I'd rather just try to use an automated converter, if available, and clean up the code after that. Can't seem to find this kind of tool anyway I search
Ive tried to make my converter to work but the XAML doesn't know where it is.. but its there in a folder called Converters. Here how my XAML are setup..Fill="{Binding RequestStatus, Converter={StaticResource converters:StatusToColorConverter}}">
I am trying to create a program that renames files to 1 - (however many files are in the folder) and also convert .pngs to .bmps.
If RadioButton1.Checked = True Then Dim files As String() files = IO.Directory.GetFiles(TextBox1.Text) Dim filepath_new As String filepath_new = TextBox1.Text For Each filepath As String In files [Code] .....