Creating An Application That Saves Customer Data To A File?
Jan 26, 2011
I've done some research into this using the MSD website; I have found that my applicaiton saves the Customer Details to the Customer File, but only as (spaces). No data is present in the file.
I'm creating an application that saves Customer data to a file. Once the Data is saved into the file, how would i then get it from the file into a ListView?
[Code]...
View 3 Replies
ADVERTISEMENT
May 31, 2010
I am attempting to create a program which saves customer information for a business e.g first name, last name, address etc. but i am having trouble coding the save , new, print, next/previous record buttons.
Would someone be able to link me to a tutorial which explains how to do these?
View 3 Replies
Jan 4, 2012
I am creating a class that searches a binary file for a specific customer number. I am using a binary search that keeps on slicing the file in half until I find the customer number while is sorted. Once it finds it I am positioning it at the first instance of that Customer number as there can be multiple records with the same Cus Number.
Now here is my question. I now need to loop through this Customers records and do some data base searches. Since I want to make my class as generic as possible what should I pass back to the calling class? An Array with all their records. If I do this I have to loop twice, once in the class and once when it passes the array bac to the original calling class?
[Code]....
View 20 Replies
Jan 15, 2012
I have a VB.net application that gets data off our server with ODBC and populates and saves a Word Document. When I try to deploy it to another computer it will get the data just fine and populate the first document, but it will crash before saving it. I've installed the .net framework 4.0, Microsoft Data Access Components, and the Microsoft ODBC .net data Provider. The error code is 0xC0000005, which is from what I can see is called an "Access Violation Exception." It works fine on my computer.
View 3 Replies
Mar 6, 2010
I'm trying to figure out how to create a custom power plan in code. I've searched high and low and have come up with very little so far.
The first thing I ran into was WMI. After looking up some information, it seems that all of the WMI Power features are ReadOnly.
Then I looked into the registry. This might be a feasible option, but it's hard to say. It seems each Power Plan has a unique GUID associated with it. This isn't a huge issue, since I can create one like so:
VB.NET
Dim _GUID As Guid = Guid.NewGuid
With this method, the issue now lies in the subkeys. Each Power Plan looks like it also has a unique ID for each option in the power plan.
There are two issues with this. First, even though subkeys are the same for each powerplan on my PC, I'm not able to test others at this time. So I can't know for sure that they are the same. Secondly, I have no way of knowing which subkeys relate to which power options.
My only two other options would be an API or .NET methods.
That being said, does anyone know of any way to create a power plan or some info on it?
View 1 Replies
Jan 25, 2012
I have written a small project that saves data in a data set, this part works fine, but I have some errors with the code I have written for importing excel data to the datagridview and exporting data from the data grid view.
This is a test project for me to learn how to do this stuff, so I will post the code for the entire project so you can see what I have done from start to finish.
[Code]...
View 3 Replies
Oct 4, 2011
I have the following problem: I select a customer from a dropdownlist and then the gridview should load all items of all orders of that customer. I have the following query:
Dim allorders = From ord In db.Orders
Where ord.CustomerID = Convert.ToInt32(CustomerDropDownList.SelectedValue)
[CODE]..............
I also tried to modify the query as follows:
Dim orderitems = From oi In db.OrderItems
Where oi.OrderNumber = (From From ord In db.Orders
[CODE]...........
But this does not work. I just started using LINQ.
View 5 Replies
Oct 5, 2011
A registeration sys using a Microsoft acres database I have a table named customer info to store customer details when registering and I need coding that will add the following to my table customer I'd , firstname, lastname , phonenumber and user also has to make selection between radio buttons male or female.
View 2 Replies
Apr 7, 2010
i'm new to vb and am making a program that opens a text file, removes characters and then saves the file. so far i have the following
[Code]...
View 1 Replies
Feb 11, 2012
I'm new to using httpwebrequest i've always just used webbrower controls but want to get away from doing that for obvious reason with that said.
I'm having it go to a wepage there is no login what so ever. but there is a cookie that holds saved data from the page. when in IE or any other brower you click an option from a combo box and it reloads the page and saves that data to a cookie.
CODE:
if you just do a httpwebrrquest it goes to 1 - Home what i'm trying to do is get to 25 - Page2 the cookie has the Sid number i'm been searching and reading for atleast 10hrs now and not even close to anywhere farther than i was. if i used Webbrowser it would just save the cookie for me automaticly but want to get away from hearing the clicking and wasting time of downloading all the pictures and stuff.
View 1 Replies
Jan 5, 2010
I am trying to autocomplete customer surnames direct from the Customer Datatable, using the code below which I got from another thread, but nothing is happening.
[Code]...
View 6 Replies
Jul 13, 2010
I am (still) using Windows XP. Is it possible to make a batch file to detect whenever the XP tries to save a file (doesn't matter which application is, ie Word, Excel etc...), catch the data and mayby then manipulated, maybe encrypted etc...Aiming this to be done in software and not in hardware....
View 3 Replies
Jan 23, 2011
I am sure some of you have seen this project before. I need to create an application that queries customer name (first and last) and there addresses. I need more than that but once I figure what i am doing wrong with that, I should be able to figure out the rest on my own. I am using VS 2010. I can not figure out the proper syntax for String.Format. I can only get it to display the first and last names of the customers.This is the code I have so far:Public Class Form1
[Code]...
View 2 Replies
Dec 27, 2009
let's say that in my vb.net application i have a resource called "song.mp3", how can I make it possible, so when i press a button, it automatically saves the resource in c: directory.
View 1 Replies
May 27, 2009
ok i need to create a simple form that has a Stop watch in it that counts up can some one
View 13 Replies
Jul 6, 2009
I have fixed my account creator. Which takes information from textbox3 and 4 and saves it as a .txt file. With the username in the title ex: username.txt. I run the program and it doesn't create the txt file.
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
Using sw As StreamWriter = New StreamWriter("LOL.txt")
sw.Write(TextBox3)[code]....
View 7 Replies
Feb 19, 2012
how to copy a file, for example a file from C:imagesample.bmp and saves it using a folderbrowserdialog that automatically save the same filename.
View 3 Replies
Nov 15, 2009
I have an application that connected to a database (SQL Server 2000) .Is there any way to send an information and Report made by Crystal reports by mail so customers can check it from his email?
View 4 Replies
Jun 1, 2011
i have completed my application successfully and now i want to deploy it on the Customer End.How i can have to do this i have to install SQL Server 2005 on the Customers End and then have to create all the Tables and Views and Stored Procedures that SQL Server once again or is there anything else ???
if it is then its a big task coz i have about 12 tables and how i can get all the data stored in my Computer already of the Customer during testing...
View 7 Replies
Apr 7, 2011
I have a ClickOnce application that about 120 customers are using. This week, I found out two customers declined an update in January and were stuck on an old version. I discovered this by deleting an ASP script the old versions used on our server. The customers that aren't updating get a 404 and call to ask why.One customer clicked our install button again and got the latest version no problem. The other clicked our install button and gets an "Application validation did not succeed" error. The details of the error are SomeImage.gif "has a different computed hash than specified in manifest."I don't want to deploy a new version because that usually results in phone calls asking, "did you add what I asked for yet?"
I figure I should be able to uninstall the app completely and resintall with the one problem user. Nope. Error persists. How can I remove whatever the Windows uninstall process leaves behind that would cause this error to persist? I found the folder C:UsersUserAppDataLocalApps2.0 on the customer's Vista computer, and deleted it. We ran the installer again, and the error persisted after redownloading the app. I'm not 100% confident that this folder contained the whole program, though, but it is the only location on disk I could find that contained some resemblance of our app.
View 5 Replies
Jan 19, 2012
I need to create an application for a kiosk where a customer could select pictures from a camera, select and edit the pictures, then submit them for order. Are there any really strong image editor controls I could use or you can recommend?
View 10 Replies
Jun 5, 2012
We created a VB.Net application which includes SSRS reports that runs on my development computer. Do you know of a step by step guide that steps us through deploying the reports on our customer's computer? We will be installing SQL Server 2012 Express Advanced on the target computer then configuring the reporting services then installing the application. The last part we need help with is to install the reports themselves on the target computer.
View 1 Replies
Jun 1, 2011
i have completed my application successfully and now i want to deploy it on the Customer End...How i can have to do this ??i have to install SQL Server 2005 on the Customers End and then have to create all the Tables and Views and Stored Procedures that SQL Server once again or is there anything else ???if it is then its a big task coz i have about 12 tables and how i can get all the data stored in my Computer already of the Customer during testing... ?
View 4 Replies
Nov 20, 2011
I working on a program that I am trying to create a customer data form.Along with the form I have their vehicles related to that record.Now I have setup a dataset in the form.I am pulling data from the database, however when I enter a new record on the customer part the customerID is in the running order, everything seems to be working on in this table.But when I create a vehicle for this customer I have a running vehicle id.Example: I have in the database 4 customers.IDs 1,2,3,4 customer 1 has vehicle ID1,2.customer 5 has a car there 1st car but the database gives is a ID of 3.I want this customer to ID 1 for car one.My problem might be because it was set in the database as Unique Identifier.Maybe I should make the license plate the unique identifier.
View 4 Replies
Nov 2, 2009
In my sales order i use one combo that is CUSTOMER, actually it display all the data of CUSTOMER database.
at run time in SALES ORDER i saw that the CUSTOMERis not available in that combo then i want to add new customer there which save in my CUSTOMER data base WITH OUT LOSSING WHT EVER I INSERT IN SALES ORDER.
View 1 Replies
Dec 16, 2009
I am creating an application which requires user to enter some data using popup. There will be text boxes and drop down list which will be filled by the user. Once the user fills the required information and submits it using a button, the popup will dissapear. Can anyone direct me how to use Popup control to contain textbox, drop down list and buttons.
View 1 Replies
Mar 16, 2010
I want to store my log files in the user's Application Data folder (to avoid all the hassle with Windows 7/Vista UAC permissions). By default, though, the app creates the folder structure like thisAppData/CompanyName/AssemblyName/AssemblyVersion/I just want a single folder without the AssemblyName and AssemblyVersion. Other than removing that info from the project, is there any other to just create a single
View 1 Replies
Jan 11, 2009
I want to save the file at the "app path", which means, if the application is in a folder, i want the file to be created there.
The code i got so far:
Dim savef As New System.IO.StreamWriter("c:/Users/User/Desktop/AbortRetryIgnore.vbs")
savef.WriteLine("msgbox """ + MsgBox.Text + """,vbAbortRetryIgnore,""" +
[Code]....
View 5 Replies
Oct 30, 2011
For some reason my code is not adding customer to the session. I am new to ASP.NET does anyone have any input as to why this is happening and maybe able to give some code example.
Below it the code.
Imports System.Data
Partial Class _Default
Inherits System.Web.UI.Page
[Code]....
View 1 Replies
Jun 10, 2011
This is the error when i try to execute my code "Procedure or function 'Get Customer data' expects parameter '@Name', which was not supplied."
objCommand.CommandType = CommandType.StoredProcedure
objCommand.CommandText = "GetCustomerData"
Dim ObjParam1 As New SqlParameter("@Name", SqlDbType.VarChar, 2000)
[Code].....
In debugging, i c the value in ObjParam1.value that I'm passing.
View 2 Replies