Develop A System For Booking Cars?
Mar 1, 2011
I want to develop a system for booking cars for example. Suppose that one customer wants to book a car and this is the last one.Another customer searches with the same criteria and is finding this car too. How I am able to stay away of this situation?I don't know if I explained well... Imagine when you book tickets. How they can 'lock' the last ticket (or maybe the one that someone is viewing it) and make it unavailable to customers that have browse the site after?I use C# and it's about a very simple web service.
View 3 Replies
ADVERTISEMENT
Jun 22, 2010
I have created a hotel booking system programme. However, I am puzzled as to how when the booking button is clicked it can search a database and find the best suited room (RoomType) and make sure that it is available (Date of Departure < system.date).
This data is held in two tables (Access):
Booking:
BookingID (Primary Key)
CustomerID (Foreign Key, Table:Customer)
Date of Arrival (Date)
Date of Departure (Date)
RoomID (Foreign Key,Table:Room) Room:
RoomID (Primary Key)
RoomType (Text)
RoomPrice (Currency)
Floor (Number)
This has all got to be done within a single button click. Any ideas as to how I can place this into my vb code?
I have a rough query for picking a room that is best suited:
Code:
SELECT roomID
FROM Room INNER JOIN Booking ON Room.RoomID = Booking.RoomID
WHERE Room.[Room Type] LIKE '" & Room_TypeTextbox.Text & "'"
AND Booking.[Date of Departure] < Now()
I have been trying for a while to get it to select a single matching record as there is a high chance that this query will return multiple records but im unsure on how to deal with that.
View 16 Replies
Aug 22, 2010
I am trying to put together a booking system. I have managed to program rates, discounts etc., and am now onto calculating the nights for the stay. On my form I have two datetimepickers, and a button. The code I have entered is: (I am using Visual Basic 2008 Express)
CODE:
This works well when getting how many nights between two dates in the same month, but if I enter say 30th August to 2th September, I get a -28. Is there a way to get the number of nights booked between two different months?
View 3 Replies
Aug 22, 2011
If a booking is present in database on 12/27/2011 at 5:00 pm for 2 hours and i try to make a new booking on 12/27/2011 between 5 to 7 pm then my code generates an error message. Even if i try to book at 4:00 pm for 2 hours it generates an error message as the 2nd hour will be overlapped here with already made booking from 5:00 to 7:00.
Now here comes the problem part. When day changes it doesn't generate error message i.e. IF a booking is there on 12/27/2011 at 11:00 pm for 3 hours then it should not allow new booking till 12/28/2011 2:00 am but when i try to book 12/28/2011 at 1:00 am it saves it in the database and doesn't generate an error message. I want an error message generated in such a case.
I am using two separate fields in database one for time and one for date. Both of them have DateTime datatype.
newtime refers to time on which i'm trying to make new booking addednewtime refers to time after adding the duration to time on which i'm trying to make new booking
[Code]...
View 1 Replies
Apr 21, 2011
a company offered me to develop a project for our attendence system in which finger recognition system is used. now i have quitely no idea that what i do and what do i do with this finger recognition system project.
View 3 Replies
Oct 26, 2010
create website involving payments plus some data entry eg booking of some facilities with the main data kept at a LAN window system.
View 4 Replies
Dec 28, 2009
I'm trying to make a project about a basic login system using visual studio 2008.I have a project that has 2 windows forms applications embedded in project.Form1.vb contains this:Code for Create account button:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'we verify if the accounts folder exists
If My.Computer.FileSystem.DirectoryExists("C:\Accounts") = True Then
[code]....
I have some errors of syntax that I don't know how to correct them.If it's neccessary I can also attach the project.It automatically creates on c drive a folder called accounts with 2 files where we have stored the username(Username.txt) and the Password(Password.txt).
View 1 Replies
Mar 13, 2009
I am trying to develop a simple inventory system. I now have all the database set up and would like to know if there is any code that I can refer to that alert users when the stock is low (e.g pop out window informing users that stock is low or change the number of stock in the database table into different colors).
View 16 Replies
Jan 17, 2009
I need to know how to develop an inventory system using vb.net with msaccess
View 1 Replies
Jan 30, 2012
I have been assigned to develop ground control system software. The thing is, i have never use visual basic before. Can anyone help me or guide me on how to develop the ground control system software?? is there any tutorials or basic training module which is almost same like ground control system??
View 6 Replies
Feb 11, 2009
[font=Arial] i whoud like to develop vehical reservation system project what can i do for that?
View 1 Replies
Feb 17, 2010
[Code]...
I need help to insert folderbrowserdialog in the code above, instead of location, "SYS"
Excuse me for English language
View 1 Replies
Jun 2, 2010
I have myself a problem here. I created myself 2 classes like the ones below:
1) Vehicles
2) SportsCars
I then created some "Properties" like the ones below:[code]I want to get the price of a selected car, but when i try to build i get the following error: Property 'Cars' doesn't return a value on all code paths. A null reference exception could occur at run time when the result is used.
View 6 Replies
Mar 9, 2010
Project to develop tidal height prediction system for mobile accplications. how to start! The first objective is to develop a calendar converter. i have tried to do the interface.
View 2 Replies
Apr 16, 2011
I have created a Bus Booking Website [URL]. I want to share the bus booking form with other sites so that they use our services.How can do I this using vb.net?
View 2 Replies
Oct 11, 2011
I am making a vb.net client application that works with a php based website where users can reserve a pc for themselves at a certain day and a certain time. I have made the application in such a way that upon logon, it queries the database and finds the person who booked pc at this time and compares the username to the person logged on. If it matches a welcome screen is showed with additional options. Else a window is shown which says "This PC is already booked. You will be logged of in 10 seconds".
The problem i am facing is, i have coded the close button to logoff since i dont want user to bypass this part, but yesterday i saw that if i close the app directly from taskbar (processes) it just closes.without logging him off.How can we code or is there anything we can do that, even if he closes the application through task bar there is still an instant log off?
View 6 Replies
May 27, 2011
I am using Visual Basic 2010, I have Created A DataSet Called "GaryTPHDB. and from that, I have created A form Called "Booking Form" , And I have also created a "Daily Jobs Form" And on this DailyJobsForm there is a DataGridView1, and at the begining of the row I have inserted a button called "View Job" and when I click this Button I want to View the whole job in the Booking Form so a user can edit the booking.
And at the end of the DataGridView1 Row, I Have inserted Another Button called "Allocate" There Is also a ComboBox. that a user can select a driver and when a driver is selected. I want the user to click the Allocate Button to update the dataset/Database with the selected driver. then remove the row from the DataGridView1. the DataGridView1 should be refreshed each time a row is remove.
View 7 Replies
Mar 31, 2011
I have a problem with the combox its only displaying the first item in the list its being populated by a webserice call the drop down in question is comboboxmodel now the manufacture one is fine and sets as it should any reason as to why the comboboxmodel would not. [code]
View 1 Replies
Feb 11, 2011
Anybody know of an existing open-source booking systems in Sports Clubs or Leisure Facilities based on .NET?
View 2 Replies
May 26, 2011
im writing a room booking application, and after i've entered all the details for a booking, which looks like this;
'Declare Variables
Dim sUser As String
Dim sRoom As String[code].....
and now the problem is, its not working , its all going through ok and im not getting any run time errors. But the booking details arent being shown in the main menu screen.
View 11 Replies
Mar 15, 2012
I have a customer and booking data sets on my form. customer id is a foreign key in booking table .but when i click delete button. it gives me an error: The DELETE statement conflicted with the REFERENCE constraint "FK_Booking_Customer". The conflict occurred in database "photoshoot", table "dbo.Booking", column 'Cust_id'. The statement has been terminated. Its a one to many relation between customer and booking. one customer can make many bookings each booking will belong to only 1 customer.
View 1 Replies
Jun 22, 2011
I am new to this forum and I would like some help from my respected seniors.I am trying to develop a ASP.Net Web Application using C# or VB. First of all prefer me whether C# would be easy or VB for the following scenario:Below are the requirements:
1. For All Users:
Text-chat feature will allow users to chat with the available online users.
2. For Registered User:Allow users to create new folders and sub-folders, to store (upload) files.Allow users to perform move/copy/delete operations on folders and files. The percentage of storage capacity remaining and used should be displayed on the top. Automatic versioning system will record the version/revision information when a file is replaced/overwritten Team management feature will allow users to work in teams (by inviting other existing registered users). The activities of the team include access to the password protected area for the team, uploading files, commenting on the uploaded files (discussion), polls, automatic and manual reminders to the team members.
3. For Administrator:
Approve/Reject new team requests; update/delete existing teams.View all the files and folders uploaded on the server.Allow to perform delete operation on any existing file/folder existing on the server.Delete account for any registered user.Define and Edit storage capacity and other limits such as Maximum file size allowed for uploading.
Queries:
1) As, every user will have his/her own PERSONAL profile page then how will the system redirect the user to his/her PERSONAL profile page after hitting Login?
2) How this chatting feature can be developed?
3) How this storage capacity would be assigned overall?
4) How Administrator will manage all this?
I am totally confused.I have developed SRS as well. but in coding I am totally stuck as I am not so good in coding. I thought Visual Studio 2010 would help me effectively in this case, and I am trying but couldn't find any way for this to be done.
View 4 Replies
Mar 19, 2012
I need to develop some apps that will be accessed from both PC and macs. Can this be done with visual Studio 2010?
View 2 Replies
Dec 29, 2010
Is there any way to develop for MonoTouch using VB.NET, rather than C#?
View 2 Replies
Aug 9, 2011
Want to develop POS program in visual basic?
View 2 Replies
Oct 5, 2009
So, I don't want this to get into a flame war between C# and VB.NET developers. This is purely from a standpoint of a development department going forward. We've been a VB.NET company for years, but that was mainly due to who we've hired. That requirement has fallen off the wayside as of late, as we've pulled in 2 guys who specialize in C#. I used to be a C++/C# guy before converting to VB.NET for this company.
So, to everyone who has to deal with this whether on a hiring basis or a maintainability basis: how do you handle standardizing languages of choice going forward? I'm inclined to make a push for C#, as that'll make 3 solid C# developers here. But just curious what everyone's thoughts on this are.
View 12 Replies
Mar 14, 2011
I am underway to develop a VB.Net compiler using visual studio 2005, but so far I am not aware on how to go about, regarding to what are the key requirements or skills required for developing a compiler.
View 3 Replies
Dec 15, 2010
i need to develop a plugin to evaluate web interfaces. Can someone guide me about how to develop plugin in vb 2008 express.
View 4 Replies
Jan 20, 2010
I develop an VB application unter XP with VS 2003 (.NET 1.1).
Is it possible to run it on a system with Windows 7 (x64) or do i have to change my programming environment ???
The code itself is in a directory on a windwos server and the workstation has only
a link to the EXE-file server01programsigiksigik.exe. until VISTA, it worked, if i call .net configuration wizard and give "full trust" to "intranet".
can i install .net on a pc with windows 7 ?
View 3 Replies
Nov 7, 2009
This is for vb.net I've been working to develop a system which involves computation.What I've been trying to develop in my program is, I have a textbox where user will enter a numeric value,there is a button and a label below and in the first place the label should be set to zero. Everytime you enter a numeric value in the textbox and click the button it should add the value in the label and should save the value in the label so even if you exit the program whatever the last value displayed in the label should remain the same when run the program again,I believe it requires a database to save the value.Basically its like with payment system which saves the total amount of all payments made.
This is how should it works,say for example,if you will enter 1,2,3 it should save the sum value which is 6 in the label even if you close the program and when you run it again and enter another value it should add to the current value which is 6.
View 3 Replies