2005 Calculation And Add Password?
Apr 7, 2011
got a project from college to create a quotation system in console application for a car company. The program has to tell the customer how much interest they'll be charged and the loan they take out.I've created a file that Adds,deletes,edits customer. Also views all customers. The problem I have is that after I've added the customer. I need to now implement the calculations into my program to then give them the quote. Also need to add a password to the program.
View 6 Replies
ADVERTISEMENT
Dec 19, 2009
I need to store a calculation to use later and obtain a new calculation
[Code]...
View 4 Replies
Feb 28, 2009
I want to assign values to ifitems in a combo box B brand "ex. Focus = should be $200": items in comb box C "specific years ex. 2006" ANDuse this information to calculateInitialPrice
1. The "InitialPrice" is the default price for the selected brand and model of a car in 2006. I'ved used this code but it's not working.. or am not understanding.
[Code].....
View 5 Replies
Oct 20, 2009
I am trying to make a VB User Interface with Visual Basic Express Edition 2005 where clients can do the following calculation: Stranding x Bare Copper CMA = Total CMA
I have created an access 2007 database called Total_CMA, this database has 2 columns, one with the SIZE and the other AREA, but in this database the Size = Area ( was not sure how to set that up properly ) so I left it at 2 columns and then went to VB and set up with a listbox for the Size and have bound the database to this listbox, and when I debug it, the numbers for Size show up in the listbox, so thats looking good so far, since the size = area when I bound it it asked to get and I picked Size then it asked value equals so I picked Area and hope that was the proper thing to do.
I added a TEXTBOX named STRANDS for the customer to input the number of strands, then a button to click to calculate total CMA and another Textbox named TOTAL to display the results. All have labels next to them naming what they are.
My question is, how do I get what the customer selects in the listbox to multiply by the STRANDS textbox and output in the TOTAL textbox when clicked on the button to calculate total CMA. I also need to make sure whatever SIZE they picked in the listbox is going to take the AREA number ( not the SIZE number ) and multiply it by the STRANDS textbox.
View 5 Replies
Sep 18, 2009
I am using a from where i am adding the time of the employee....what i am doing is that if the total hrs worked on monday = 20 hrs and on tuesday = 20 hrs then i want to add the 20 + 20 = 40 . all of my variables are time span and that is y it resets after 24.
View 9 Replies
Oct 14, 2011
I got a problem with my calculation .The problem is after addition and subtraction calculation I only get result or answer 0, .There are not a correct answer. I try to change the datatype of the variable to decimal and double but answer is still 0.
Here is my coding.
Private Sub btnadditionprice_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnadditionprice.Click
Dim sum6, sum9 As Decimal
sum6 = Val(Me.ItemPriceTextBox.Text) + Val(Me.txtadditionprice.Text)
[Code] .....
Answer which got is 0.000
View 2 Replies
Nov 20, 2009
Protected Sub Button4_Click1(ByVal sender As Object, ByVal e As System.EventArgs)
Dim total_rental_chargeTextBox As TextBox = FormView1.FindControl("total_rental_chargeTextBox")
[code].....
View 4 Replies
Feb 20, 2011
I am using the following code to get distance between two propertys. The problem i am having is each Distance Calculation is being obliterated and I am only geting back the last Calculation instead of each calculation/distance
[Code]...
View 4 Replies
Jul 14, 2009
In form6 is where changing password will occur. I'm not sure what is the problem. Help. Anyone?
Imports System.Data
Imports System.Data.OleDb
Public Class Form6
[code].....
View 2 Replies
Aug 1, 2010
I am new using VB2005 and I need some assistance with the following:I have a created a program that connects to a Access database, the user has to have a user name and password to be able to access the application. So far that is working correctly it validates to make sure that the user and password does exist in the logon table.As you know sometimes people forget their passoword and the administrator has to reset it. I have setup a default password when ask to be reset it which is "Support".If someone logs in using their logon and the temporary passoword (Support) the system is going to promt the user to change it.I would like for the validation of the temporary password not for just anyone to use someone elses logon and just type "Support" and promt them to change it. how can i make sure that the password has been reset.[code]
View 2 Replies
Mar 5, 2009
At work I am managing an application wicht stores username and password to a SQL Server 2000. When I use the programm at work to add a user the data looks like this:
[Code]...
View 11 Replies
Apr 10, 2011
I've got the following code for a password but need it the program to set a certain password. At the moment I just type in anything and it lets me get on with the program.
[Code]....
View 6 Replies
May 14, 2010
I am using late binding to automate excel. How should i set the password of the new excel while which i create.
View 8 Replies
Aug 26, 2009
How can I password protect my VB.NET project in Visual Studio 2005?
View 6 Replies
Jan 7, 2011
i made 2 reports but when i execute report so is always ask for username and password. please assist me that how to execute reports directly without inserting everytime username and password?
View 8 Replies
May 24, 2012
I am trying to figure out a way to implement password protection on documents that a program I am working on creates. They should remain with the document regardless of where it is copied to or sent.Here is a rough sequence of events:
1. Application Opens (no document loaded).
2. User opens document with extension registered to application.(could also be # 1 if they clicked on the document directly)
3. Application Security checks document for security and prompts if necessary.
4. If prompted, user enters password.
5. Application checks password.
6. If passed, document opens, otherwise user is notified of failure.
View 4 Replies
Jan 16, 2010
i created a password protected access database and did this code to insert data into it:
[Code]...
but still i am getting the same exception..... how to solve this problem?
View 17 Replies
Apr 25, 2009
i created a password protected access database and did this code to insert data into it:
Imports System.Data.OleDb
Public Class Form1
Dim con As New OleDbConnection
[code].....
View 10 Replies
Oct 31, 2009
How open password protected MS access database in MS access environment from vb 2005 code
View 1 Replies
Aug 13, 2009
Does anyone know how to store the connection string in a file rather than hard coding it in the application. For example i have declared this connection string in the form to connect to oracle database and it works. But i assume this is not the right way to go by if one is looking for more secured environment.
strcon = "Provider=MSDASQL;" & _
"Driver={Microsoft ODBC for Oracle}; " & _
"CONNECTSTRING=(DESCRIPTION=" & _
[code].....
View 9 Replies
Mar 13, 2010
I have created an application which asks the user to enter password to login.Now how can i inform the user(if his caps button is on) that his caps button is on while he is entering his password?
View 3 Replies
Aug 25, 2009
i have a login form in a banking project.i set a userid and password for this login form and i did the code accordingly,it works good.In my form there are two fields namely:Userid and Password and a button named Login.
But i cant get any idea about what to do when the user wants to create their own userid and password?
I think i need to add a few more buttons to enable the user to create their own userid and password but i cant get the idea......i need some help.
Again,if i allow the user to create their own userid and password then anyone can use my project by creating a new account.........
Hence i am totally confused how to go with this.I need some urgent discussion so that i can get through this problem.
View 32 Replies
Aug 20, 2009
I want to know how to include username and password of sql express 2005 for creating setup file in vb dotnet.Also how can i create an instance of sql and include it in setup project.
View 2 Replies
Jan 15, 2012
I'm trying to create a password change form for my company's vendors. There are a couple of scenarios I could encounter doing this:
1 - User enters invalid current password
2 - New passwords do not match
3 - User's account is locked
4 - User cannot authenticate because password is expired
It's case 4 that I'm struggling with, because their is no way for me to take the password the user entered and verify it against active directory without getting an error.
View 5 Replies
Jun 1, 2011
I am implementing a system where the user can Reset their password if they have forgotten it.Once it is reset I want to give them the option of changing the password so that it will be something more memorable to them.The password is hashed and if i enter in the correct old password and new password the password does change.If I enter in the wrong old password and new password the password doesnt change.Is there a way to match the old password with the old password field in code behind so I can throw up an error to the user to tell them what is wrong? [code]
View 1 Replies
Feb 10, 2009
How do you get a textbox being using for password entry to display the black circle that you often see in web forms, on the iphone etc etc?
I can change the PasswordChar property to an asterisk no problem and even copying and pasting symbols inserted into Word seemed to work - just couldn't find a symbol that looked like a bullet point!
Can this actually be achieved for a standalone exe, or is it something unique to web forms? Surely copying and pasting symbols from Word isn't actually the answer?
View 6 Replies
Jul 25, 2011
I read and write the cells from excell sheet sucessfully. now please i need a advise on the following
1. Where i save the file? at the time of project publishing it include also with the project?
2. how i check file exits or not?
3. How i pass the password if excell sheet have password and enable macro?
View 1 Replies
Apr 21, 2010
I'm currently working on a CRM project in vb.net. I want the program to start with a prompt that asks for a password and if the user enters the correct password then the main form loads.Im having some problems wrapping my mind around this...
View 10 Replies
Jul 15, 2009
I am looking to create a simple password box that will ask the user for a username and pass, if the user is validated against the usernames and passwords in an .ini file the login box will close and launch a program also stated in the .ini file. I would also like to be able to launch different programs for different users.
View 16 Replies
Jan 14, 2011
I have code on log in form but it only get the latest data on username and password column on my database
Here is my code
Public Class Users
Dim MyLogIn As New myRecords
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles
[CODE]...
This is my connection:
Imports MySql.Data
Imports MySql.Data.MySqlClient
Module myconnect
[CODE]...
This is my record:
Imports System
Imports System.Data
Imports MySql.Data
Imports MySql.Data.MySqlClient
[CODE]...
View 1 Replies