Add Customers And Calculate And Add The Car Qoutes To A Text File?

Jan 14, 2011

i have a big problem i have no idea what i am doing and need to create a program that can add customers and calculate and add the car qoutes to a text file. the information also needs to be retrieved, basically i want someone to finish the qoutes form for me complete with code its like connect the dots but with code :P can you fill in the "dots", create and edit btw for some reason it was called !! ERROR !! because it was a bad second version of the first version that got deleted so i used this one anyway XD[URL]..

View 5 Replies


ADVERTISEMENT

Search Xml Using Linq - Get All The Node Values Of <customers></customers>

Apr 22, 2010

[Code]...

how to do this. kindly show me some sample code for this

View 11 Replies

Calculate Average Values From Text File Using Streamreader?

Mar 25, 2009

I'm trying to calculate an average no from data imported from a text file using streamreader. I'm not sure how the loop should read, and the result (average) I want to hold in a separate variable for future use.[code]...

View 1 Replies

Make A Variable That Holds Double Qoutes

Feb 10, 2011

How do I define a variable which holds double quotes. when I try to define the variable like this [code]...

View 2 Replies

Split A String With Qoutes / Doubleqoutes And Other Metacharacters In REGEX?

Oct 12, 2010

For two days, already, I've been bugged by my problem. I'm trying to split a string of text i.e.( "Lakeside".) and store it like this:[code]But still, to no avail.I can split other metacharacters but not quote and double quote.

View 1 Replies

Split A String With Qoutes, Doubleqoutes And Other Metacharacters In REGEX?

Oct 12, 2010

I'm trying to split a string of text i.e.( "Lakeside".) and store it like this:

myArray(0) = "
myArray(1) = L
myArray(2) = a
myArray(3) = k

[code]....

But still, to no avail.. I can split other metacharacters but not quote and double quote..

View 8 Replies

.net - For Each Loop - Process Some Data For Each 500 Customers?

Aug 25, 2009

How do I use for loop in vb.net something like

dim start as integer
Dim customers as New List(Of Customers)
Customers=dataAcess.GetCustomers()[code].....

I want to process some data for each 500 customers..

View 8 Replies

Add A Query On A Form Called Customers?

Nov 8, 2010

I want to add a query on a form called Customers.So, I want to type the begining of the Customer's name, and when i push the button, on the datagridview appear all the Customers with a name like that.

View 2 Replies

Access Database Which Includes Customers Table ?

Nov 7, 2010

I have an access database which includes Customers table and one of its columns is the Birth date. In project in visual studio, using visual basic 2010, I have a form with a calendar. In this form I want to show who has birthday today. How can I compare all the customer�s birth date with the day we have today? And have as result a label with all birthdays?

View 1 Replies

C# - How To Protect Net Winforms Assembly From Customers Of A Customer

Sep 17, 2010

This question appears to have died, so I've decided to offer a bounty.What I'm most interested in knowing is if my scenario in the ETA1 below is viable and is used. If it isn't, then a good explanation of why not would be a good answer. Another good answer would be an alternative (but not including the internalsvisibleto attribute).

The best answer would be, yes, it's viable, everyone does it and customers love it!ETA2: I think I've thought of a good solution. I provide the customer with a distributable edition that is as functional as their edition but is unlicensed and has the classes and members hidden, using attributes.
I can do this with compiler directives, on every single important member, but I wondered if there was some global way to hide all members of a class?

A simplified scenario I have a class that extends a control in someway and I want to sell my class under two licenses;

(1) Standard - The customer gets x number of controls that use my class but can't instantiate the class (its internal).

(2) Developer - The same as Standard except they can create their own controls that use my class.

My problem is that when the developer customer comes to sell their controls, they can't help but expose my class to all their customers.

The only way around it, in my scrambled mind, would be for the developer to somehow integrate my assembly into theirs, and in that way I can keep the constructor internal. Or, use the internals visible to attribute.

ETA1: I'm thinking aloud here, but, I could have a list of permissable calling assembly names which the customer could add to. When they ship their product, their customers' assemblies would not be in the list and therefore they wouldn't be able to instantiate certain classes. (The list could obviously be hashed).

View 4 Replies

Displaying Subtotal Of Customers In Crystal Report?

Jun 12, 2009

I am using crystal report for displaying reports. I want to display group by customers in report that i am displaying using group by funtion but i also want subtotal of that group by customers. I want to display received amt date, received amt and balance amout between given two dates. That i am getting. output is like first customer name and below that list of there received and balance amt with received amt date. But before displaying second customers list i want to display subtotal of received and balance amt. and in last in page footer i am displaying grand total of received and balance amt.

All data are displayed instead of subtotal of all customers. how to display subtotal of all customers received and balance amt?

View 3 Replies

Use Data To Compute A Customers Electric Bill?

Mar 27, 2011

In this program I am suppose to use data to compute a customers electric bill. My code works correctly for the most part except for two things. I cant get the loop correct I want it to ask the customer to enter readings but once it does it outputs the same information from the original time so I am wondering what I have to do to have it recalculate when new values are entered by the customer. My other issues is it is suppose to continue to ask the customer for additional readings till the value entered by the customer is -99999, when I run my program and enter -99999 it does not stop.

[Code]...

View 5 Replies

VS 2008 - Printing Invoices For Customers With Charges

Apr 27, 2009

I'm developing a small app to for a vehicle rental company. They require the app to print invoices for customers (fuel usage and etc) with charges. I was thinking of outputting row by row to a html (file) table and populating qty,amount,final amount etc programmatically. And letting the user view and print that html file.

View 3 Replies

Application Crashes For Some (but Not All) Customers When Clicking A Listbox After Printing?

Feb 3, 2011

We have a rather large VB.NET accounting application that crashes occasionally for some customers. I have now been able to reproduce this particular almost 100% in my test nvironment using certain data. The crash happens when clicking a list box after printing a report. The form involved has a list box listing available reports. You select one or more reports from the list box and click the print button. After printing, if you click the list box again, the program crashes, with an exception that does not seem like one VB.NET should even be able to produce.The exception message is: "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."The call stack is:

1. System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
2. System.Windows.Forms.NativeWindow.DefWndProc(Message& m) [IL offset: 0x3e]

[code]....

View 12 Replies

Create An Application That Calculates And Displays A Customers Bill?

Apr 21, 2010

Using VB2008 I need to create an application that calculates and displays a customers bill.Business customers must have one connection.

Heres the data

Residential customers:
Processing fee: $4.50
Basic service fee: $30
Premium channels: $5 per channel

[code]....

View 8 Replies

Created A Program Which Stores And Creates Customers And Orders

Mar 2, 2010

I've been coding in VB.net for a while now, but still have never used the printing features. I've created a program which stores and creates customers and orders etc. I now require to print invoices related to these quotes.Is the following possible within VB.net when printing a document. Images i.e. Logo of company (which i've made already)Table of items orderedTotalshorizontal lines to split-up the design of the invoice/document.

View 2 Replies

Calculate The Average From Text Files

May 19, 2011

I'm in a bit of a pickle. I'm new to Visual Basic and I have been writing a simple program to rate movies. I'm stuck on calculating the average from the text file. The text file holds the numbers from 1 - 10 (ratings). I want my program button to add all the values from the text file and display the average from the total amount of ratings and display them into a text box.

[Code]...

View 11 Replies

Can't Calculate A String Of Text With An Operator In It?

Sep 18, 2010

I can't seem to get my Calculator off the ground. It seems so damn easy to make an application that can enter text into a Textbox, I can't seem to get the damn thing to calculate a value, ... I can do this very easily if I don't have any buttons or textboxes, I can calculate any number I like, ...

Simple Example, Put Imports System.Math at the Top.

[Code]...

View 2 Replies

How To Calculate Number Of Lines In A Text Box

Feb 27, 2009

I am hoping that someone can help me with a problem I've got at the moment using Compact Framework.Net 2 SP 2.At the moment I have a UI with a series of text boxes and each textbox displays the contents of a database field. These are shown one beneath another with a scroll bar on the right hand side of the form. Each textbox has a set width which might.I would like to adjust the height each text box based on the number of lines it is holding, the font size and the font in order to avoid using scroll bars on each textbox.[code]

View 3 Replies

Creating That Displays Pump Information Based On Customers In A Database?

Feb 26, 2010

I have an application I am creating that displays pump information based on customers in a database. I am using VB2008 .NET3.5.I have a combobox that has a selection for a unit of measure. What I want to happen is when that is changes the labels that have a unit of measure change to reflect the change. There are 15 labels total that need to be changed and all there names are the only ones in the project that start with a X if that helps at all.

I would like to avoid creating a bunch of labels and changing the visible property and just change the text value of each one. I have just started learning VB.NET

View 11 Replies

Date Method - Calculate The Number Of Years For My Calculate Age Event Handler

Mar 30, 2009

I am trying to calculate the number of years for my calculate age event handler, however i am apparently missing a method or whatnot because im trying to calculate the age , can anyone suggest help on this. I need to subtract years to get my age but when i try the birthdate.Subtract (currentDate) method i get an error about not able to convert from LONG?

So below is what I have.

Private Sub btnCalculateAge_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalculateAge.Click
Dim currentDate As Date
Dim BirthDate As Date
Dim Age As Long

[CODE]

View 7 Replies

VS 2008 - Error Shown On Customers Machines Is Related To Framework Version?

Jan 12, 2011

I made a program a month ago and i gave it to the customers.recently they report some bugs and i fixed them. when i send the new version installer to them, they have some problems running it.i used vs 2008 to write it, but i removed vs 2008 and installed vs 2010 last week. when i opened my project to start fixing program bugs it asked for convert wizard so i did it.i made changes and build it. i use installshield and i add framework 3.5 Sp1 as prerequisites.
note : i was using inno setup first time. so i changed the installer too.so i tried installing the program on my machine.i just noticed that i have only .net framework 4 installed my own system. so i have no idea how the program runs without any problems on my own system. i have even tried installing it on another machine who had framework 3.5. it it work on that too.the error shown on customers machines is related to framework version. everytime i send them a new version they have some problem installing/running it.

View 11 Replies

Text Boxes And Formulas - Calculate The Velocity Of A Ball Thrown In The Air

Mar 20, 2011

how to create this certain program. In short, I must calculate the velocity of a ball thrown in the air after 1, 2, and 3 seconds. The formula for this is: -16t^2 +velocity(t)+height. the height for the ball is 5 feet per-second. So after defining each textbox of 1 sec, 2 sec, and 3 secs (Dim stuff) I need the button click to run through the formula then display the result for each second. How would I do this?

View 6 Replies

Calculate The No. Of Rows In The File ?

Jul 26, 2011

How to calculate the no. of rows in the file which we have uploaded that might be either a text file or csv or excel file.Im using the code to get the records count like this:

Dim FileCount = From lin1 As String In File.ReadAllLines(hidFilePath.Value.ToString())
Let dd = lin1.Count
Select dd[code]..........

but in some cases im getting wrong count. it is not showing the exact count.i should be able to get the count without looping each record in the file.

View 2 Replies

Make Program To Calculate Textbox1.text And Show The Answer In Textbox2

Dec 22, 2011

I am working on bit more advanced calculator, but I cant figure out how I can make my program to calculate textbox1.text and show the answer in textbox2

For example: (textbox1) 5*62+4
(textbox2)314

I'm not sure this question belong in this topic, but I don't know where else it should be?

View 16 Replies

Calculate The CRC32 Of A File And To Change It?

May 5, 2012

I want my program the be able to calculate the CRC32 of a file and to change it. I already have the CRC32 calculation class now I wanna know how to make it change the value.

CRC32 calculation class:

Code:
Private crc32Table() As Integer
Private Const BUFFER_SIZE As Integer = 1024I

[Code]....

View 1 Replies

VS 2008 - Read Text File - When Click Button Add Text From Combobox Is Added To Text File

Jan 4, 2010

I have one combobox, two buttons (Add and View) and listbox. When I click button Add text from combobox is added to text file. This is code for Add button:

[Code]...

View 7 Replies

Calculate The Predominant Or Average Colour In An Image File?

Jun 16, 2010

i am trying to code a program in vb.net that will calculate the predominant or average colour in an image file and then change the fillcolor of a rectangle to that predominant colour. I want to do that by getting the RGB value of each pixel, adding them up and then dividing them by the total number of pixels in the picture. This is the code that I wrote to do that.

[Code]...

I am a beginner programmer so this is basically the second time I fired up VS (not much experience). I searched the internet for the last hour but found nothing that might help me. I made sure every value is positive and changed all numerical variables from integer to decimal and I still get the error.I have absolutely no idea why this doesnt work but if I remove the "for" loop then the line written in bold works just fine.BTW this is my first post so scuze any mystakes I probably made.

View 9 Replies

Calculate Wind Chill And Print The Output Into HTML File?

Sep 21, 2009

So I am doing an assignment for class and I need to calculate wind chill and print the output into HTML file. This is what I have so far, so if someone could help me out, cause I am not getting the right answer.Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox2.Text = 35.74 + (Val(TextBox1.Text) * 0.6215) - ((Val(TextBox1.Text * 35.75) ^ 0.16) + ((Val(TextBox1.Text) * Val(TextBox1.Text) * 0.4275) ^ 0.16))End Sub

Mod: Please remember to place your code inside the tags

View 2 Replies

IDE :: Calculate Time Remaining In Copying A File And Displaying It Through A Progess Bar?

Apr 5, 2009

How to calculate the time remaining in copying a file and displaying it through a progess bar?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved