Write A Code For A Exponentiation Calculator In VB2008?
Feb 5, 2010I am trying to write a code for a exponentiation calculator in VB2008?
View 2 RepliesI am trying to write a code for a exponentiation calculator in VB2008?
View 2 RepliesI am trying to write code with IF statements for a payroll calculator. The first IF statement is getting a bit confusing. I have three text fields that I want to ensure have data before proceeding with the next set of code. This is the part I am not sure I am doing right.
IF IsNothing(txtHoursWorked.Text) OR
IF IsNothing(txtEmpName.Text) OR
IF IsNothing(txtHourlyPayRate.Text) Then
[code]....
i had to create a hash calculator using vb2008?
View 2 RepliesSuper newbie here and I recently signed up just to address my problem. Please help me convert or at least tell me what to do on the following code to my vb2008.I saw this listing on a website and I like its simplicity. It was written in vb6.
here's the snippet:Design the form. Create a Command Button named as Command1 and copy that and paste it 11 times. This will create a control array.Then assign the text naming it 0-9 plus (.)dot and they are under one control array. Likewise create cmdOperator control array for the operators Add, Subtract, Multiply and Divide. One button for equals and one for clear. All in all 17 buttons. 1 textbox serves as input and output.
Sorry if I'm in a rush here( I am already) but vb2008 its hard for me to learn control array. I have read a few post awhile here dealing with arrays in vb2008 but I'm overwhelmed with info and confusing for me to grasp the idea.
[Code]...
I am getting two errors for "expression is not an array or method, and cannot have an argument list," When debugging, the formula works quite well. However I will lose points for blue squiggly lines. I am not allowed to use any built in functions like math.
[Code]...
how to write/program VB programs. However, I'm stuck on the mortgage calculator application. Whenever I run the program, I come up with an error stating "Argument 'NPer' is not a valid value." which refers to the Pmt function in the code.
'Dim monthly As Double ' monthly payment rates
Dim years As Double 'total # of years
Dim rate As Decimal 'annual rate
Dim months As Integer
[code]....
I am attempting to write a speed/distance calculator using visual basic 2008 express edition. I have gotten the program to do most everything I need but am having some difficulties and have been trying to fix them for 2 or 3 days now without any success. Will somebody, anybody please tell me how to fix the problems.The calculator should display the distance traveled when the speed and time are entered. This is the only major requirement. However, It needs to have all info input via a list box with popup windows displayed for speed entry and then again for time entry. I would like a label outside of the list box to show "Total Distance Traveled" and I would like the list box to display the following information
[Code]...
What I want is to have the ability for the user once the values are entered into the Textboxes, the user has the ability to save the values for retrival a some later time. This is what I have so far
[Code]...
I need to know who to write data from several text boxes on a form to a sql database.I have created the sql database on a localhost using myphp admin, i have created the connection in a module named as dbconnect()i can try the connection and this connects fine, but unsure how to write the data from the texboxes to the database.
View 3 RepliesI came upon your forum while googling my problem. I respect the fact that you don't do someone else's work as I wouldn't either. But, as a beginner I have a lot of questions so hopefully no one minds.
[Code]...
I cannot figure out the declarations to write to an excel file that is already open.
I open the excel file and make it visible with this:
Private Sub Button1_Click
Dim objExcel As New Excel.Application
Dim objWB As Excel.Workbook
[Code].....
I decided give up vb6 and begin use vb.net.And I'm going to update my old vb6 code.I used write a vb6 program to update my program.it's a simple program:I have a webside,I put a file in the webside,this file it's just a document(.txt),only include version number.my program use "inet" download this file(address like this [URL]and compare the version number,if this document number it's bigger than this program number,than told user you need update your program.like this:
dim ver as string
ver=Inet1.OpenURL(http://www.sample.com/info/ver.txt)
[code]....
But,In vb2008,I don't know how to write those code.I search the local MSDN,it said I can use:""my.network.download" to download files,but it's only can download a file and save it as a file,I want to download a file and save it as a variable(type is long),I don't know how to write those code.
how to code the calculator?
View 2 RepliesSample: EscreveByte = Val(AscW(Letra)) sw.WriteByte(EscreveByte)
[Code]...
code for calculator using vb.net
View 2 RepliesI was writing this VB script to run in HTML for school and ran in to a problem, which my debugger says it is at line 33?
<html>
<head>
</head>
<body>
[code].....
How to code the sqrt, log, sin,cos and tangent buttons please write down the code for the mentioned buttons
View 1 RepliesI wrote a Visual Basic program using the PMT function to calculate the monthly payment for a loan. Also calculate the Total of All Payments made over the term of the loan. This is how it should work, The user will input the loan amount in a text box. The user will use horizontal scroll bars to input the term of the loan (years), and the rate of the loan. As the user clicks the scroll arrows for years and rate their values display on the form above each scroll bar. When the user clicks the Calculate button the program will output values for the amount of the monthly payment and the total of all payments for the term of the loan. The two scroll bars are set to their mid-points (15 years and 10%), I am unable to get to show this values in their respective text boxes for some reason. [Code]
View 3 Replieso change this template use Tools | Options | Coding | Edit Standard Headers.'
Option Explicit On
Option Strict On
Public Partial Class MainForm
[code].....
I am trying to figure out how to properly code to create a Commission Calculator. Is anyone able to provide assistance? I will provide the code here:
[Code]....
i have a notification j-query plugin .. i taste it in my page (working 100%)but when i want to use it in a event SqlDataSource1_Deleted with the response.write method it does not work
Protected Sub SqlDataSource1_Deleted(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceStatusEventArgs) Handles SqlDataSource1.Deleted
Response.Write("<script type='text/javascript'> showNotification({message: 'This is a
[code].....
Build calculator using visual basic 2008
View 1 RepliesI am coding a simple calculator and I need the textbox to show the previous entries when I enter them. I hear the best way to do this is by Append Text? For example I click 3 Then + The textbox will show "3+" etcetera.
View 1 RepliesI have written the below code for a payroll calculator. When I run the program, it gives me my own error message box no matter if my number of hours fall within the 5-60 hours range as I have stipulated. Is there something wrong with my code? (well, obviously there is something wrong--I just cant find it!)
CODE:
'This program calculates the Gross and Net Pay as well as the Tax Deduction amount of an employee's wages when given the input of Employee Name, Tax Rate, Hours Worked, and Hourly Pay Rate.
CODE:
In vb6,I wrote those code: statusbar1.text=Inet1.Open[URL]
In vb2008,it had statusbar,but it hadn't "Inet",I don't know how to change those code. ps:I'm a beginner,maybe this problem it's not a big problem,but I really don't know how to solution this problem,
We have an old large program generated using vb6. This has been running for years and it works great.We would like to migrate/ upgrade to vb 2008, is there any fast way to have it running under vb 2008?I loaded the project in vb 2008, it did load but generate a lot of errors and warnings. how can i migrate the vb6 codeto vb 2008 easily?
[code]....
i want to create a basic calculator. i can create it in vb6. but when in vb2008. it have problem.. how should i do this?i just need help for + and - .. then other i can done it le... y i can use dim at vb6 but when i use in vb 2008 .. i can't use.. the array is same also... seem like quite different vb6 and vb2008...
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form
[code]....
guys...good day to all just made a program for our company im not a programmer i just do a program because no one can do that cause im the only IT in the company i just made a program for concrete pricing the pricing is not constant so it will be change anytime and i have a form to which you can edit the price but the problem is everytime i close the program and then run again it will not update?
View 1 RepliesI have forgotten the right procedure to encrypt the VB2008 code with dotfuscator community edition, may you explain the way to use it (the dotfuscator) step by step?
View 2 RepliesHow do I go about writing facial recognition code for a program I'm designing? I'm using Visual Basic 2008 Express Edition and I need to implement facial recognition into my software.
View 2 Replies