User:Andrew Kanode

Hi! I'm Andrew. I heard about Wikipedia for quite a while before I decided to give back all you guys did for me in Collage. I hope to do lots of editing. My main interests are Programming, Chemical Science, and some other Popurii. I'm 23.

== VB6 Question ==

I'm going to feel like a total idiot posting this, but...  I've got to learn Visual Basic 6 in one week , and I have to know a couple of things.  Could someone tell me how to work out the problem V = A * (1 + R)<sup>Y</sup> when V is the end value, A is the original amount, R is the annual interest rate, and Y is the number of years of gained interest; and the user inputs A, R, and Y.  I have the form written in the editor, but I don't know how to get the values or make it calculate with the click of a button.  Thanks A WHOLE LOT!!!  [[User:Andrew Kanode|Andrew Kanode]] ([[User talk:Andrew Kanode|talk]])  <small>—Preceding [[Wikipedia:Signatures|comment]] was added at 17:32, 8 March 2008 (UTC)</small><!--Template:Undated--> <!--Autosigned by SineBot-->

:Add a few text controls on your form. Give them names like "txtOriginalAmount" and "txtAnnualInterestRate" and etc. Then add a button. Give it a name like "btnCalculate". Double click on the button and you should enter into the code editor and you want to edit/create the function btnCalculate_Click (there should be a little drop-down menu where you find this). Dimension your variables (Dim A as Single, etc.), then assign them the values from the text controls (A = Val(txtOriginalAmount.Text). Then do your calculaton (V = A * (1 + R)^Y) and then display the final value somehow (e.g. Msgbox V). Does that help? There's more to getting it right (what if they forget to fill in a value? what if they put invalid information in?) but that's the basic process. --[[Special:Contributions/98.217.18.109|98.217.18.109]] ([[User talk:98.217.18.109|talk]]) 17:54, 8 March 2008 (UTC)
::THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [[User:Andrew Kanode|Andrew Kanode]] ([[User talk:Andrew Kanode|talk]]) 18:04, 8 March 2008 (UTC)

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.