Create A Hash Calculator Using Vb2008?
Nov 30, 2010i had to create a hash calculator using vb2008?
View 2 Repliesi 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 trying to write a code for a exponentiation calculator in VB2008?
View 2 Repliesi'm looking for a function which can create a MD5 hash from a string. Not much luck searching the interwebs, so i thought maybe any of you guys has a solution.
View 5 Repliesi need to create a hash table using a multiplication method and i need to create an array of linked listso how i can to create array of linkedlist in vb or c# ?
View 1 RepliesI 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]...
I have used VB (versions 2 - 6) through many years; however, I am crash-course training myself into the VB2008 / VB2010 world kicking a screaming. I would like suggestions as to what SQL database access method should I focus more on in my learning process without making me feel that I'm a million years behind. I know I have WinForms where I can create a datasourse and drag / drop fields or tables on a form to create a grid (not really what I'm looking for).
My trouble isn't so much designing the form but in how I access the database. Theres XML, LINQ to SQL, ADO.NET, and many other methods. Not only do I need to grasp these methods quickly but I also need to know what type of projects I should create. What I mean is...I was thinking that I would design a WinForm app; however, I see that there are WPF apps and others to chose from. This is getting deep. I know it depends on the project that I'm working on. My plans are to write an app based off of either an SQL Express 2008 or SQL Server 2008 database. This first app will be standalone for now but may later become multi-user. I know I'm far behind on my learning curve coming from VB6. I have read a bit on VB2005 / 2008 / 2010. I own
both VB2008 and VB2010. I use VB2008 at work. I know ADO.NET is still alive but by what I read online, it's a dying method and is only kept for backward compatibility. XML and LINQ to SQL and other methods are all pretty new to me.
im supposed to create a mortage calculator but my teacher gave us no hints as to what we had to do so could someone explain wat its supposed to do in a nut shell
View 3 Replieshow to create calculator in vb.prashant
View 3 Repliesive got to create a BMI calculator using metric units, when i enter my data, it doesnt work (i put in 1.5m and 90kg but the answer comes out at 3, and in clearly not anorexic heres what ive got at the moment
Dim BMIResults As New frmBMIResults
Dim Answer As Integer
Dim BMIAnswer As Integer
Answer = CType(tbHeight.Text, Integer) * 2
BMIAnswer = CType(tbWeight.Text, Integer) Mod Answer
'BMIResults.Show()
'Me.Hide()
I want to create a simple calculator using only 1 textbox , 1 button and 1 label, but I don't know how to create the code.
for example if i write : 53+35-33=
and if i press the button it will calculate and the answer the label will show the answer (55).
I'm taking an introductory programming course, and am completely flummoxed as to what I'm doing wrong with my program. The problem seems to be in my arithmetic, as the program runs fine; it just doesn't produce the correct result when compared to the professor's control model.
I need to create a mortgage calculator, using the following formula: monthly payment = interest rate * loan amount * ( (1+ interest rate) ^ months) / ((1+interest rate)^months)-1) )
We have to use that formula, no other one. If anyone can spot an error in my code, please let me know what I've done wrong!
The code I've written is as follows:
CODE:
I am trying to create a calculator, which can accept numeric keyboard imput, as well as button clicks, and display the number in a label.
Why does the numeric keyboard input work in this instance
Public Class Form1
Sub Form1_KeyPress(ByVal sender As Object, _
ByVal e As KeyPressEventArgs) Handles Me.KeyPress
[Code].....
Even if I press a keyboard number before pressing the button(so there is no need to clear the label if the button is pressed first etc), the number is not displayed in the label. And even if I completely comment out the code for the button-click, the keypress event still does not display the number in the label. It is as if just having the code for the button completely disables the keypress.
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 probleam with my code, currently i am create scientific calculator which have function sin, cos & tan. The code i create it not working because every time i convert the function it will show 0 as answer. how to correct my code here.
Public Class Form1
Dim total1, total2 As Double
Dim [Operator] As String
Const conversionFactor As Double = Math.PI / 180
Dim result As Double
total2 = Val(answer.Text)
[CODE]...
I just switched to VS 2010 for Windows phone 7 developement... I am trying to create a basic BMI calculator app...This is what I have now...
CODE:
However I have these errors which are as below
Quote:
CODE:
Quote:
CODE:
Did I forget to declare something? This does not happens when I am using the divide and multiply in VS 2008.
Error Screenshot as attached below...
i am trying to create a kind of calculator for fuel usage with menus lemme show ya the code:
Public Class frmFuelCalc
Private Sub AboutFuelCalcToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AboutFuelCalcToolStripMenuItem.Click
MsgBox("Guru Software" & vbCrLf & "Fuel Calculator Version 1.0.0.0" & vbCrLf & " Copyright 2011 © " & vbCrLf & " Guru Software Design â„¢ All Right Reserved", MsgBoxStyle.Information, "Fuel Calculator")
[code]....
how to write a console application by using nested For.. Next loops to generate the star design as per below picture.star design.JPG
View 6 RepliesI have a VB2008 Windows form App connect to SQL server database via ODBC. What I want to accomplish is whenever vb2008 app install it also crteate ODBC automatically,
View 4 Repliesi want to generate day book,general ledger,individual ledger in vb2008. my report form is daybreak total,cumulative tota,ledger total likeway. i want to generate data from different tables example:-from purchase table,sales table,payment table etc... we need total of every day by day from all these files
[Code]...
So I was assigned to create a calculator that can calculate the sum, product, difference, & quotient using an external class. Unfortunately my teacher isn't exactly the best and I'm new to VB, I know how to create a calculator in VB .NET but when it comes to external classes,
View 3 RepliesI need to create a tiny calculator using the basic operators of Addition, Subtraction, Multiplication, and Division. My professor hasn't really covered much of this, so I'm not to sure how to create it.
View 6 RepliesI have this homework assignment where we have to create a pay calculator where you would enter the total minutes worked and the hourly pay rate. and then i have to create the code to show what the total weekly pay would be. I have to display the Hours Worked: and the Leftover minutes: I also know that the formula to calculate the weekly pay is totalMinutesWorked / 60 = hoursWorked and i have to use the Mod operator. [code]
View 2 Repliescreate a chat client for vb2008.The user logs in from a form, And they are taken to the main form with all the features. From their I want them to already be logged into the chat. The chat will get the username from the config.ini file. Since multiple people will be using this, I will be hosting the server part of the chat on a windows 2008 server.
View 2 RepliesI'm trying to build a chart in a windows form using Visual Studio 2008 Express, I've found a couple of tutorials but they say to add a component I don't seem to have... is this a limitation with the express edition?
View 6 RepliesI am using vb2008 express to create an applicationI have an ACCESS 2007 table that I use to fill a form using Fillbywhich works fine however 2 of the fields in the table are YesNoand they do not show up on my form
View 6 RepliesI have been given a project to do were i have to create a credit union application in VB2008, what i need to create this application etc like how many labels textboxs etc obviously i need to create it but all am asking is if you could tell me were to start as i am lost and never really created anything in vb 2008.
Here is the spec:
The client is prompted for their name and a personal reference number. If the application is successful then this number becomes the loan agreement reference number. If the applicant has a credit rating of 14 or more points the application is rejected. If the credit rating is less than 14 points then the client is prompted for the loan period (must be equal to 12, 24 or 36 months) and the amount required.
The cost of the loan is 6% if required over 12 months and 8% if over 24 months and 12% over 36 months. This is added to the loan. The applicant's net monthly income and total monthly outgoings are taken into account. If the monthly repayment is more than 25% of disposable income (net income outgoings), then the application is rejected. If the repayment is less than or equal to 25% then the loan is granted and a form is produced and printed with the relevant information, including the loan and repayment amounts.
How to create windows Usercontrol in VB2008 to host in webpage.
View 9 Replieswhat the results I need in a Windows Form Application.
Requirement:
(1) I need to create class objects with all various methods and properties, etc.
(2) I will create only one instance of the each class
(3) I need to be able to call the methods and properties of the created class objects (1) from any form I create.
(4) I use the class objects to store data so that separate threads can access them..
Question: how I would code this into a WFA? (I have console application code that works but need to convert it into a GUI).
[Code]....
We would like to create a client-server architecture application that the server can control all client computers connected to it (e.g shutdown) and we would like to put a security login and a desktop lockeron the clients. The process of the system is that when the clients starts, the desktop is locked and ofcourse the user can't access the desktop unless he/she logged-in. And when the scheduled time (e.g 1 hour) is done, the client computers where automatically shutdown like the Time Logger Softwares
View 2 Replies