Calculate Ideal Weight For Height?
Aug 25, 2009How can we calculate ideal weight for a given height in vb 2005. If weight is given in Kg and height is given in inches..
View 3 RepliesHow can we calculate ideal weight for a given height in vb 2005. If weight is given in Kg and height is given in inches..
View 3 Replieshow can i calculate the width of a circle at top + 1/3 height & top + 2/3 height?
View 5 Repliesi 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]
View 5 RepliesI want to take a snapshot of a website so i have to calculate height of a website. I want to use this value in:
Dim MyBrowser As New WebBrowser
MyBrowser.Size = New Size(1027, ???)
I have a long string of text which i am appending to PDF document.
But im having problems trying to find out exactly how many "lines" the text will produce.
I currently have the PDF,s width to work with , But im wondering if anyone would know how i can use this to calculate how many "lines" a long string would need?[code]....
I have to Panels on a Form. The "upper" Panel is set to Dock = Fill the second "down" Panel is set to Dock = Bottom
Ok. - During the application I add some usercontrols in to the "down" Panel.
Now in one of the usercontrols, I have two group boxes (also set to Fill & Bottom) In the upper groupbox (Dockstyle = Fill) There is a Grid and below the grid, I have two RadioButtons.
On my developer machine, I can see the Grid and the Radiobuttons. On an other machine (other resolution, and other Display), I have the problem that, the RadioButtons are not visible anymore. - The user has to change the height of the "down" Panel by hand, so he can see the RadioButtons.
What I try to do now (and I don't get it working) is: Set the minimum heigt of the "down" Panel so, that both Groupboxes are visible and what is more important: that the commands are all visible.
calculate the height of the grid and the Radiobuttons depending of the solution and used display!?
I am creating a puzzle game and would like to calculate the width and height of the puzzle taking into account the original image size and the screen resolution. My screen height is 768 and width is 1366. An example image is 1200 x 1600 and the jigsaw size that works well with this image is 480 (height) x 640 (width). I would like to create an algorithm that calculates the jigsaw size for any image bearing in mind that the screen resolution will change as will the size of the image.
View 2 RepliesI am trying to make a program that will calculate the height of a falling ball for every .25 seconds starting at 0 and going till the height = 0 or until 10 items have been listed. I have started the code, but it just isnt working out!
Dim h, time as double
Dim aftert as integer
Do While h>0
[Code]....
I get an "expression needed" error from the &time& and nothing is displayed in the list box. Not to mention, I have no idea what to put in the loop or how to limit the list to 10 items or until the ball hits 0.
I'm trying to convert an old ASP.Net 1.0 application to ASP.Net 3.5 and am running into trouble with a JavaScript function. The application passes in content into an within a table cell. The function is supposed to calculate the height of the content and size the table cell appropriately.
way of accomplishing this with the
JavaScript function
<script language="javascript" type="text/javascript">
<!--
function calcHeight() {
[Code].....
Is there any possible to get ideal time for a particular user in NComputing machine (one CPU with multiple user) using vb.net?
View 1 RepliesIf I set a ListBox.Height = ListBox.PreferredHeight when the control is hidden and IntegralHeight = True, then set it visible:
a) Actual Height reduces by typically 3-5 pixels after redraw (but not 1 pixel per item).
b) PreferredHeight does not not appear to give the correct integral of item heights.
Is there a way to make ListBox calculate the correct integral Height before the ListBox is made visible, so it can be correctly pre-positioned from bottom edge?
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
ListBox1.Visible = False
ListBox1.IntegralHeight = True
[CODE]...
Is is possible to do basic mathematical operations like addition, division etc. in XAML?For example, I want to set the height of a button to {Binding ElementName=MW,Path=Height}/2.
View 4 RepliesI have a treeview and text box below it... is it easy or even possible to allow a user to change the height of the treeview which will automatically change the height of the textbox so there is no gap between them?ie one gets bigger the other gets smaller etc etc
View 1 RepliesI'd like to ask you a programming problem which is bothering me for quite some time now. Here is the problem
[Code]....
I'd like to ask you a programming problem which is bothering me for quite some time now.Here is the problem
I'd like to pick random names from:
-peter,50
-rick,25
[code].....
Code to make a program in visual basic that converts your weight from Earth to you weight on the Moon.
View 3 RepliesI 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
[code]....
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.
View 3 RepliesI'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
[code]....
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?
View 5 Replies[code] My project topic is on data conversion for length and weight. There is something wrong with the code.
View 5 RepliesI 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!
View 1 RepliesI am trying to calculate the number of years for my calculate age event handler, however i am apparently missing a method or whatnot because im trying to calculate the age , can anyone suggest help on this. I need to subtract years to get my age but when i try the birthdate.Subtract (currentDate) method i get an error about not able to convert from LONG?
So below is what I have.
Private Sub btnCalculateAge_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculateAge.Click
Dim currentDate As Date
Dim BirthDate As Date
Dim Age As Long
[CODE]
I'm mohammed from Oman ,I'm visual studio.net programmer How I can Read the Data From Barcode Weight scales By Serial port and TcpIp port
View 7 RepliesLet'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.
View 2 RepliesI am working in web application .My asp page has two div tag. Based on first one div height i want to fix height of second one div. First one div height is changing dynamically. So i want to get height of first div so that i can fix the height of second div.
View 1 RepliesHow can I set a panel to a set height?
View 18 Replieshow to set the height in datagridview
View 2 Replies