So I am trying to write a program and I don't even know where to begin. I am trying to make a program where you enter the persons weight then pick (from radio buttons) "convert Pounds to kilograms" or "convert kilograms to pounds" and then it should convert the weight when you click display weight button to display the converted weight value. Any ideas?
I'm looking for a decimal to alphanumeric number base converter library in Visual Basic that does not use recursion. [url]...
which includes a demo app but discovered that it uses recursion. The problem with it using recursion became apparent when I attempted to integrate the library into my own Visual Studio Express 2010 Visual Basic project: I got a stack overflow exception.
Now I could consider increasing the size memory allocated for the stack but it might be hard to determine what this would be, given that the recursion depth might vary depending on the value to be converted.
I am trying to make a program that converts the weight of objects on earth into other planets. i have trouble with naming things like weight ratio and planet because VB program doesn't accept the coding. i don't know where to put theh data in the disk so that the program can access it when it runs.
Imports System.IO Public Class weightcalc Private planet structure
Does using it puts any degradation in the performance of an application like the loading of the form/usercontrol is slower since the TableLayoutPanel has to be instantiated and the controls has to be added to it? I use it extensively and from time to time I combine it with a Panel also so I would like to be enlightened if there is no cause of concern in using it.
I've found a scale, Detecto AS-350D [URL].. that hooks up to a computer. I was hoping someone could help me figure out how to get the information (weight) from it. I've looked around but can't seem to find any information on it. I've never wrote a program where I accepted data from a device likes this so kind of confused where to look.
Update: I'm coding in VB, and the device connects to the computer via serial port.
I have a Repeater... And it has a Weight field. the weight it displayed in a textbox. I have this piece of code: lblTotalWeightCalc.Text += NewDV.Item(i)("Weight") This will get the Weight and display it in my label. But when I select more than one item (which will have two weights) it will show: For Example: Item #1 : Weight = 20 Item #2: Weight= 50 The total Weight= 2050 (it doesn't add them together) I need them to be added together....
I'm using Visual basic 2010.net with service pack 4.0. I'm using the built in chart control to generate a line graph. I have a series plotted on the fastline graph. Is there a way of accessing the weight/thickness/boldness of the line and changing it? I was able ton change the colour and I could even change the point size on the fastpoint graph.
Code: Private Sub DisplayGraph_frm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
I got a code online to read via rs232 using serial port ,the code uses readExisting() to get the data(im geting data form a MettlerToledo scale connected at com3,9600,8,N,1)problem now is that i change it to ReadLine() but it captures the weight once and i need the weight updated all the time!
i am making a progrom to calculate delivery charges this depending on weight of the item.i enter the weight of the item in a text box i need it to calculate the shipping cost, currently i have something like this but it is wrong. [code]
Let's say you have a user class. When the user is logged in there are properties representing basic user info, an associated address and, say, 5 profile pictures, the last a generic lsit like this: Private _photos As List(Of Photo). However, instead of carrying the weight of the profile pictures in a session vairable, to reduce resource usage, I only want to populate them if the user needs to acces them. So, for the most part, the generic list of photo's is empty. Will it carry weight anyway? I'm trying to decide if I should just not populate ituntil needed, or if I should create an alternative "light" user class which doesn't have this property.
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
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.