Change Value Into Exponential Form?
Oct 6, 2011
I have a double type variable Sum and more than 1 textbox. When i divide one textbox value to another textbox value i got result of this type .00000000438000 and assign this value to another textbox. I want to change this value into exponentional form like 4.3*10-9. In which way i will change this value. I m trying my best effort bt i can't do this.
View 1 Replies
ADVERTISEMENT
Feb 17, 2009
In a loop, i'm looking to add 1 to Var1's value everytime the loop goes.I've tried
[Code]...
View 1 Replies
Apr 15, 2010
I've inherited a Visual Studio/VB.Net numerical simulation project that has a likely inefficient calculation. Profiling indicates that the function is called a lot (1 million times plus) and spends about 50% of the overall calculation within this function. Here is the problematic portion
Result = (A * (E ^ C)) / (D ^ C * B) (where A-C are local double variables and D & E global double variables)
Result is then compared to a threshold which might have additional improvements as well, but I'll leave them another day
View 4 Replies
Sep 8, 2009
I'm working on a function to return a exponential average and there are a lot of examples of exponential moving averages but they all start with a moving average that is just the mean as a lead in to calculating the continuing moving average. I needed just a exponential average of a value set. After Googling my Bing off I still haven't seen anything so here is my attempt at a basic exponential average. Is this correct? Are there any errors? I have seen some text about adding a smoothing value to change the curve of the exponential average but not how that would be implemented.
[Code]...
View 5 Replies
Jan 13, 2010
I'm working on a simple base form in which all the other forms in the project will inherit. This base form only adds 5 properties (at the moment) dealing with painting a gradient background. The problem I'm facing right now is when I change a property on Form1 (the test form) and click run it doesn't show that change. I also checked the .designer.vb file and when I make a change it's not added to the code behind file, I'm at a loss right now to why.
[Code]...
View 5 Replies
Mar 23, 2011
well i successfully docked a perpixel alpha form with the main form(form1). but the perpixel alpha form always appears at the top left corner of the screen and when i move the main form the form(perpixel alpha form) inside it dosen't move it stays at the top left corner. ALWAYS. to dock the perpixel alpha form i used
Me.toplevel = false
Me.parent = form1
View 6 Replies
Apr 10, 2012
I am having trouble getting the Student Name entered in the Student Name Form to change the Text titles of the GroupBox's on the Main Form and Schedule Form. I understand the logic of what needs to be done to some extent, but I am having trouble coming up with the correct coding.
Below is a snippet of the Student Name Form code that I tried most recently just to see if I could get any change to happen to the other 2 Forms when the Accept Name button was clicked. As of yet, I cannot get a change to happen at all in the groupboxes of the other Forms.[code...]
View 14 Replies
Feb 23, 2010
In VB 2008, I have a Parent form with a combo box on it. There is a child form also with a combo box on it. I want to be able to change the values on the child form based on what the user selected from the main form. The user launches the child form from a toolbar on the Parent form. The following code is run:
[Code]...
What I want to do is if the Parent's combo box has "Red", "Blue", "Green" values and the user selects "Green", the child form's combo box(With the same values) will also change to "Green". (I do not need to change the Parent form if the child form changes.) I've tried changing the Child's combobox from the combobox's change event on the Parent form, and the code runs, but nothing changes on the child form.
View 5 Replies
Dec 20, 2009
How do I get a Listbox on one form to change a button value on ANOTHER form.
My script says
[code]...
View 10 Replies
Jun 30, 2011
A) pre-load a form so as to prevent lag/loading when the form is first opened?
View 6 Replies
Dec 29, 2009
how can i change the control from one form to another form in vb.net like for example in asp.net "response.redirect"
View 1 Replies
Jul 29, 2009
I want to change my controls opacity .I know how can i change the form opacity but I want to change the controls opacity without change the the form opacity , such as : "I want to set my form opacity = %100 and the button opacity = %50 " or "I want to set my form opacity = %50 and the button opacity = %100 " I'm using visual studio 2005 .net .I want to do that in basic language
View 3 Replies
Feb 8, 2012
I have one main form, and i want to dynamically change it's content, via pressing some buttons.Let's say i have a button "New user" and "Login", and if I press new user, i don't want to make new form + show, i want all labels and buttons of new user to be displayed right in the main form. And if i press login, the main form content to change to some labels and textboxes? All I can now, is just make new forms and show them to the user via .Show() command.
View 3 Replies
Aug 26, 2009
I want to change a button name of form1 and I want to do this from form2. When i click on a button on form2 i want to change it. I'm using form1.button1.text="Name" But i get the message: 'Button1' is not a member of System.Windows.Forms.Mainmenu
View 5 Replies
Jan 7, 2012
Im testing a program and want to display the DELIVERY form as the first form. I don't see the delivery form ?
View 5 Replies
Mar 13, 2011
I have a RTB (RTB1). I have a "change font" button which allow the user to change the font of what ever text is selected in RTB1. It works just fine.Now I have added a second RTB on the same form. Of course that original "change font" button does not work because it works on RTB1, not RTB2. I know I could put a second button to change font in RTB2, but I would like a more elegant solution. How can I tell which RTB box I was in when i clicked on the "Change font" button?
View 7 Replies
Aug 12, 2009
I want to change icon of my form with a specified icon . How can i do that ?
View 1 Replies
Jun 4, 2011
I have a login form coded as :
[code...]
I wish to create a form for changing the password ,i.e., stored in the access database.
View 14 Replies
Aug 3, 2010
how to change the background color of a form created by code?TcoUpLoad (Vb6 and VbNet)
View 12 Replies
Mar 29, 2012
is it possible to change the content of the form rather than close one form and opening another in vb.net?
View 2 Replies
Nov 15, 2009
So i want to change the location of my form so that it pops up in the lower right corner of the screen.
Form1.Show()
Form1.Location = (New Point)
View 4 Replies
Apr 12, 2011
Hey everyone, if Im using an instance of the same form 2 times, how can I change the text of the form? Ex: If I run the first instance of the form, it would say form1 in the top left hand corner... the other form, say form2?
View 1 Replies
Apr 8, 2010
What I can't figure out is how to change the title of a form. Meaning when it opens, at the top (title bar) it will say Form1 for example, how can that be changed?
View 2 Replies
Apr 19, 2011
I created a questionnaire in VB express 2010 but the output is half of a A4 paper.I think that the problem is with the size of the form.The size of the the form is width:720 (the width is ok) and the height:820 (this is the maximum number).How can I increase the size of the form?
View 1 Replies
Jun 13, 2010
How can i change the form text to the filename?Like in Notepad.It changes the text to something like this: "test.txt - Notepad"
View 3 Replies
Dec 12, 2009
i need to change the shape of the Form to appear somewhat like the pic attached > is there any plugin, application or any thing related to this
View 4 Replies
Sep 30, 2010
How do you change the form look itself? like using a skin over your app so it dosent look like a normal app, for example, give it a skin to look like a cool mp3 player etc...
View 2 Replies
Feb 23, 2011
Is it possible to change the ForeColor of all the labels on a form at runtime, including the form which is yet to be called? So that all the labels have the same color throughout the app.
View 2 Replies
Mar 5, 2011
Does anybody know how i can allow the user to change the form background colour?
View 6 Replies
Aug 31, 2010
VBExpress 2010 .Net 4.0 I'm trying to have a form that you click on a button and it goes to a new page of the same size in the same location. An example of this type of thing would be the different pages of an install wizard. In this particular project, I have an "instructions" page that you click on that takes you to a new form. On this page is a "back" button that takes you back to the main screen. I'm just not sure how this type of thing is normally done. What I have done works, but you can see the page 'flip' a little, and the form button on the taskbar disappears and reappears as the new one loads.
[Code]...
and I have an equivalent subroutine on the other form to get back. At first I had the Three middle line of code interchanged, which looked much smoother, but for some reason it didn't work on the first click, upon which the form would suddenly move to the wrong location, after which it would work fine, no matter where I moved the form.
I have a feeling that this is probably done in a completely different way, but can't think of a better way of doing it. One way would be to just use one form and change the controls instead, but it would get quite cluttered.
View 6 Replies