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
ADVERTISEMENT
Feb 18, 2010
get VB 6.0 to Visual Studio 2008 converter?
View 1 Replies
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
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
Dec 26, 2009
It is possible to make a video converter using VB .Net? If yes with what I should start?
View 2 Replies
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
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
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
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
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
Aug 11, 2009
I assigned an integer as 1, and looped my program using:[code]I can recieve the packets without looping, but once i loop, i receive nothing.
View 29 Replies
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
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
Mar 14, 2011
Makes the following statement about the code below:
**"The computer evaluates the loop condition in the Do...Loop statment to determine whether the loop instructions should be processed. In this case, the inputsales <> String.Empty condition compares the contenst of the input sales variable to the String.Empty value. As you know the String.Empty value represents a zero length, or empty, string if the inputsales variable is empty, the loop condition evaluates to True and the computer process the loop instructions. *If on the other hand the inputsales variable is not empty, the loop condition evaluates to false and the computer skips over the loop instructions.
Based on the code I think it is the opposite: ...that while the inputsales value is not empty it should evaluate to true and process the loop and if it is empty it should evaluate to false and skip the loop?
See below.
Option Explicit On
Option Strict On
Imports System.Globalization
[CODE]...
View 2 Replies
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
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
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
May 23, 2010
Show me a site where there is good conversion available from vb.net to c#?
View 8 Replies
Jan 20, 2010
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.
View 6 Replies
Dec 27, 2008
existing tool which converts VB.NET Code to Java.
View 1 Replies
Aug 9, 2011
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.
View 3 Replies
Sep 4, 2010
.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
View 3 Replies
Jan 30, 2012
i wanted to know if there is any code converter around that can translate from the ruby language to vb.net.
View 14 Replies
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
Oct 21, 2010
Converting an html template to PDF document using vb.net code.I've a very complex html with lot of tables etc.
Are there some free tools to be used to convert html to pdf using code ?
View 4 Replies
Dec 7, 2010
can i know how to work with Visual Basic in Visual Studio?
View 2 Replies
Nov 4, 2011
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}}">
[Code]...
View 1 Replies
Jul 29, 2009
i have this code to convert an entire .txt file folder into an .rtf file folder.. achieved from one of my question threads.
[Code]...
View 2 Replies
Dec 30, 2010
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] .....
View 7 Replies
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