Store Sequence Steps Of Data?
Dec 5, 2011
i am creating a ticket ordering system, there is 5 - 10 step for public user to choose what they want. These steps is dynamic, can some one advice me what is the best way to store data during steps, so that i can have a back button to return to previous step or retrieve data from step when compiler at last?
View 1 Replies
ADVERTISEMENT
Mar 22, 2012
I am coding a program that will allow the user to input 5 payrolls for Store 1, Store 2, and Store 3. The total of the 5 payrolls are then added together and shown in the respective Store's labels. A total label is also there to add up all the totals into one number. The numbers in the label must be in currency form. My problem is the numbers don't add correctly when I hit calculate. The first two numbers add together, but then after that the number just seems to subtract a random amount.
So far I have this --
Public Class Form1
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Me.Close()
End Sub
[CODE[...
View 14 Replies
Sep 11, 2009
I am new to VB.net. I want to read and input file and store that data to an SQL Server database. Do you have an sample code that do such?
View 1 Replies
Mar 2, 2012
I have a modbus TCP device that I have managed to connected to through my VB source code.
I want to poll (continueously read) data from certain registers of the device, and store the polled data in a file (text,csv, excel).
View 1 Replies
Feb 14, 2011
I have an application that uses Dataset.WriteXML to create a small backup before data is syncronized to a data store (less than a meg).This application has worked well for 5 years now, and all of a sudden with the installation of XML 6.0 SP2 the XML document is not working correctly.I have multiple tables within a Dataset (Company, Contact, Notes, etc...)When WriteXML is called, the first table should be Company, however, the first table is being named Contact with the Company Data in it. The Notes table is being called Contact and so forth. In other words it's not giving the correct names to the tables in the XML File.This appears to be a bug, which is causing great distress on all the companies who have been using this program.
View 3 Replies
Mar 6, 2011
I should start a project where several clients are included. There is a wcf web service controler that after a call from an specific client about a certain question it will retrive data from a server in London and then it will pass it back to the corresponding client in a different country e.g.
Clients and service are far away. the only way of transportation is through HTTP and intenet connection. Service should be able to callback also so i guess it will be dualHttpBinding.
View 2 Replies
Dec 12, 2011
i just want to know how to get a template and store it in a data base without using data set
View 1 Replies
Mar 27, 2012
I am currently debugging throught a lengthy piece of code that behaves differently if the batch loaded is created from one way or another. I have tried going through it and it seems each step is the same, so my question is, Is there a tool that will record each line of code that is hit while debugging? so instead of writing everything down and risk missing something i could just run the program use beyond compare to compare the results of both runs.
View 1 Replies
Feb 17, 2009
I have created a table with the following fields
loan_id (PK)
loan_date
loan_return_date
loan_user (FK)
i have set the loan_id column to increment in steps of 1, but when i add a column in visual studio 2008 express it auto increments in minus steps -1 -2 -3. it increments in positive numbers?
View 5 Replies
Jul 15, 2009
I have just downloaded VB Express 2008 with the intention of teaching myself how to use it from scratch. Previous programming experience limited to Lotus / Quattro Pro old style macros. Preference would be to work through a good hard copy DIY manual starting from the basics.
View 18 Replies
Feb 13, 2010
What is the code for making steps in dgv? For example I have a button, every time that I press the button I want to make a step in dgv row
View 2 Replies
Mar 25, 2011
I am ready to deploy my vb.net project to my client computer.In my development computer I have crystal report 9, sql server express and .net frame work 3.5 installed.My Client computer hasn't got anything installed there.I am trying to making msi installer so that it will be easy for my client to install.I created the new solutions -> setup type project, added the project on it and build it.it successfully created the msi installer but it doesn't installs the sql server express and crystal report.How do i make the installer with crystal report and sql server and also with db
View 1 Replies
Mar 19, 2011
I would like to know what are the basic steps involved in setting up your application to able to read data from another application. Then take that data and modify it and send it back to the application. The data being read will have over 100 fields.... what is the most efficent way to store them? Put them in a class object?
View 1 Replies
May 22, 2011
I am relatively new to the world of programming and I was wondering if anybody could help me with a small project. I am trying to create two programs in VB.Net that each do one of the following individual actions:Find the average grade given several user-inputted scores on assignments. The program should also provide the following feedback according to the final score (i.e. A, B, C, D, F).Run two separate threads printing numbers (or words) in ascending and descending orders. (The numbers (or words) should be given by the user.)I have a basic understanding of VB.Net, but I am having trouble when it comes to creating even remotely complex programs. I have a few ideas on how I may go about these, such as using an arraylist for the first question that takes user input to find the grades, and then uses a series of If-Then-Else statements to display the letter grade, and possibly using steps simply with dual threading that would result in numerical order being printed in ascending order and descending order.
View 1 Replies
Feb 2, 2011
I have code that runs a deal.deal is a series of conditional steps [e.g., pay Fee1 from Account2 if (Variable5 > 500, Variable5 / 2, 0)].
These conditional steps are stored as strings in an access database.The conditional part can be extremely complex.
What is the best way to get my code to understand the conditional part?Do have to write some huge parser?
Is there a function that can do this for me(something similar to application.evaluation function in VBA)?Or do I need to approach this in an entirely different way?
View 1 Replies
Apr 21, 2009
list the steps to fill a combobox using a bindingsource. I dragged a bindingsource onto a form, created a datatable and datatableadapter(correct term?), added a query. I tried but I am missing something, my combobox displays System.Data.
View 5 Replies
Sep 8, 2009
I'm interested in a description of the step-by-step process for creating a custom control and making it available in the toolbox with vb2008. Just for an example, suppose one wanted to have an array of 9 buttons in a 3x3 pattern already labeled 1-9 as a control usable from the toolbox just as a single button or label etc. is, so that one could drag it from the toolbox to the form or a groupbox.
View 1 Replies
Apr 4, 2011
I want to write a human resource programme that can accept employee records and compute for their salaries and overtime and also print out the needed salary slips and reports.
View 1 Replies
Aug 4, 2009
With a 1-many relation. Ok, I have constructed the schema, and now I want to make the appropriate forms in which a user would scroll for a customer and then by pressing a button, a new form would appear showing all the orders that he has made.
I am interested in the way of building two forms that would have a one to many relation. That is basically what I would like to know. Also, Do you have any good book to suggest in order to create a real world app, in VB2008, Emphasizing in data-binding and connecting controls with underlying DB, one to many forms, searching etc.
View 6 Replies
Mar 11, 2010
This is weird. I have a class that inherits from IEnumrable whose Count property is reporting 0 (zero) elements but the For Each loop steps into the loop body and tries to use the variable where it should just be moving on. My code:
On Error Resume Next
Dim d As Foo
For Each d In fooCollection
' use d and throws an exception
Next d
Weirder still, every time d is accessed i get an exception thrown in the output window:
A first chance exception of type 'System.NullReferenceException'
but i'm not stopping on the exception (not in a try/catch block).Is "On Error Resume Next" causing this weirdness?
Weirdness found:Per Rowland's and JohnH's comments i checked the Foo class:The GetEnumerator method inside of Foo didn't actually return anything! It had an empty body. That coupled with the On Error Resume Next before the loop caused the havoc! Wow this was ugly.
View 3 Replies
Sep 8, 2009
how to create table in visual studio 2008
View 2 Replies
Apr 15, 2012
What will be the steps for finding the DFD of A Project based on Banquet Hall?
View 1 Replies
Jul 31, 2011
I hope this is the correct place to obtain a little bit of advice for a program I am looking to produce in visual basic 2010.
I currently work as a design engineer designing press tools and a lot of our designs are similer just maybe a feature, length, diameter change etc. So the design principles are the same for each product.
What I am aiming to do is program the 3D design package so that 80% of the tool design can be done using the program etc.
Now the enquiry I have is where would the best place to hold the standard data be?
For instance each press has a maximum blank diameter, shutt height, bores diameters in the bed and likewise each product type has design features with the same calculations such as length, pierce etc.
I have done a bit of reading and I have found that data can be stored into text files, xml files and databases etc or hard coded into the program.
I am looking to allow new presses to be added so the user would need to add new shutt heuights, blank size etc but the tooling would have to be unqiue dependent on the typs of stage. So I am wondering to store this information would a database be the best option even though the data will not be continually updated more a place for it to be retrived from excpet under failry rare circumstances.
View 3 Replies
Jul 24, 2009
I was thinking about using an access database to store the data but I would like to know if there is a better way of storing data?
View 4 Replies
Dec 19, 2009
I'm writing an app in vb.net and was wondering wath the best way to store/retrieve data was?
View 5 Replies
Mar 31, 2011
I've just finished an application which does everything I want within the Visual Studio environment now I need a way to store the data the user creates but I've never had to do it before and am a bit lost. I've spent days trying to use XML to do this but to no avail mainly cos my classes use ArrayLists as properties and it gets a bit beyond me. I've been told that ArrayLists were not the best choice for this and would be prepared to change my design if need be if I thought the end to this problem was in sight.
View 11 Replies
Apr 21, 2011
I am reading data from wordpad one by one which records the sale of grocery item by barcode. I want to store it in memory so that after reading the whole file I can calculate the total number of the same items sold by comparing the bar code.
View 2 Replies
May 21, 2010
I'm making a program that uses XML to store data and I'm having problems retrieving the data. Here's an example of how I'm storing data:
<?xml version="1.0" encoding="utf-8"?>
<main>
<category>
[Code].....
View 4 Replies
Aug 5, 2009
I'm having problem displaying and storing data from RS232 to access 2007. I have a PIC demo board that sends SMS via AT commands. I want to grab useful information like phone numbers and status message and store/display to access/richtextbox respectively. Right now every line of AT commands are display. And does not store to access. How do i search for the string with numbers like phone numbers?
[Code]...
View 1 Replies
May 31, 2011
I'm creating a program that outputs Quotations (and other information relating to these 1. What is the BEST way to read/write from a database (I only really know how to use Access but if XML or SQL would be better, I'm willing to learn). The database needs to be stored and accessed from the same state every time that the program opens. I've tried multiple different ways, both through DataAdapters (in code) to doing it through connecting the database through the Visual Studio GUI. Neither have seemed to work. Other people have told me that using DataAdapters and such aren't the best way, but no one has been able to tell me what this 'best way' is. Also, I need to somehow be able to link pictures in the database - apparently it's not easy to do in SQL?[code]...
View 5 Replies