Runnig From Server - Allow Employees To Submit Work Orders

Jun 8, 2012

I have written a small program to allow our employees to submit work orders. I want to have each computer on our network to be able to open the program, run it, and have the files (which are actually jpeg's of the form) saved on the server. This part works fine.

I have it loaded on the server and have tried to run it from several computers. While the program does run ok, it does not load the My.Settings items that are on the server. On each computer the program has, or appears to have its own set of my.settings.

If I go to the form in the program that allows me to add items to my.settings, and make changes they are saved, but when I go to the next computer they are not there. It only reflects the my.settings that were put directly in during program construction. (opened my.setting, clicked on the setting and added them there)

My question is,, how to get the program to stay on the server when running it so that the settings are there no matter which pc is running it? This is a windows forms program, I am using Visual Basic 2010 Express.

View 12 Replies


ADVERTISEMENT

Design - Company --> Customer --> Orders (ignore The Details Of How The Orders Have Products Etc)

Mar 9, 2009

I have a scenario at hand which has some design discussion going on. To break it down in simple words, think about a hierarchy as such Company -----> Customer ------> Orders (ignore the details of how the orders have products etc) if I was to expose an API to work with this, what would be a better design.

a)
Dim comp As New Company
comp.GetInfo(123)
Dim cust As New Customer
cust.Name= "CustomerName"
comp.Add( cust)


b)
Dim custhand As Customerhandler
Dim cust As New Customer
cust.Name= "CustomerName"
custhand.AddCustomer(cust,123) ''123 is CompanyID

View 5 Replies

Field Is Bound To The Orders Orders Qry 'View'?

Feb 29, 2012

I am working on an invoicing program that based on the Northwind database.I am pulling information from a 'view' for the orders form.How do i program the customer ID field to populate with the corresponding invoiceID (already done through the view) AND when i drop down the customerID box to list all possible customers from the customers table.I have the SQL for the operation I believe the problem is that the field is bound to the orders Orders Qry 'View'.How can i accomplish both of these tasks within the same dropdown?

View 1 Replies

DB/Reporting :: Will SQL Statements That Work In Compact SQL Server Also Work In The Express Edition Of SQL Server

Jul 25, 2010

will SQL statements that work in Compact SQL Server also work in the Express Edition of SQL Server?

View 2 Replies

Runnig A Procedure Daily?

Sep 13, 2010

I want to run a procedure every day on 5PM.I made an application which in different thread runs a loop all the time, and on a specific time starts a procedure.The loop looks like that:

Private Sub Petla()
Dim wykonany As Boolean = False
Do[code].....

Application works fine, but the problem is that it use 50% of my processor all the time.How should it be done better?

View 4 Replies

Sql Server - Triggering A SUBMIT In An Asp.net Application?

Sep 28, 2011

I need to trigger a submit when saving my image file in SQL 2005 database. A user will upload their image file.My application will then check to see if the image file size is within specific requirements.If so, then save the image into a table where the field is image data type. (if size does not meet requirements, display error message and exit sub). The issue is if I save the image file to the database, the value is saved correctly (however, I have not checked the image size).

If I check the image file size first, THEN save it, the value saved is corrupted (incorrect). Is there a way that I can check the file size, then save the file while doing a submit in code-behind?

My code is below:

Dim iRequiredImageHeight As Integer = 80
Dim iRequiredImageWidth As Integer = 280
Dim imgBytes(FileUpload1.PostedFile.InputStream.Length) As Byte

[code]....

View 1 Replies

VS 2010 Webbrowser Fill Text - Won't Update The Submit Button To Allow To Submit The Form

Feb 17, 2012

I have a webbrowser and on a form I need it to fill text. The problem is, in order for the submit button to activate, you have to atleast type in 1 letter for it to update and make it send. The problem is when I do document.getElementById("p1").innerHTML= "SSSS" it works but it wont update the submit button to allow me to submit the form. What should I do?

View 2 Replies

Javascript - Submit Checkbox State Without A Submit Button?

Mar 27, 2012

I have a view with a few checkboxes that can be selected or unselected. I'd like to always register any change in a checkbox, without the use of a submit button (the user could forget to do it, and it would waste time). So, is there a way to handle this inside the view? Up to now, I've only used the controller to do that job.

[Code]...

View 2 Replies

Users To Submit Their Username By Typing In Their Username And Pressing The Submit Button

Mar 11, 2010

The program is for users to submit their username by typing in their username and pressing the submit button. The username may be able to display on the Usernamelabel in form1.(I made the button on form2) I have problems coding to make the text to come out in form2.My code comes out as error.

Here is the code in form2.
Public Class Form2

Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

[CODE]...

View 4 Replies

Display The Data About Employees In The List Box?

Jun 21, 2010

i'm developing a project on employees. I have added a list box and display the data about my employees in the list box. How am i supposed to do that, do we have to put in codes or need to use that small arrow near the list box.

View 1 Replies

How To Search The Employees Based On Deparments

May 3, 2010

I have been using C# for 4 years along with SQL server. However, today I have to do small application using VB.Net to search some users based on their departments

This is the first time that I am trying to do something in Active directory (and this is the first time I ever seen the Active directory). I always write database queries and I have no idea how to do query on Active directory How to search the employees based on deparments?

[Code]...

View 20 Replies

Use Thumb Scanner To Take Attendance Of Employees Using VB?

Oct 18, 2009

Dear members please guide me how thumb scanner use to take attendance of employees using vb.net and oracle 9i.

View 1 Replies

Two Grids Displaying Records Of Employees Like Name, Job No, And Position?

Feb 8, 2010

I have two grids displaying records of employees like name, job no, and position . Now I have to swap their jobs from Emp A to Emp B which is from one grid to other.

View 1 Replies

Using Collection - Store Info Of Employees On Daily Basis?

Aug 25, 2010

I am trying to come up with a way to store 3 pieces of information for each employee in the company on a daily basis. So for instance:
Day 1: Joe, 8, 80
Day 2: Sam, 10, 90
Day 3: Bill, 5, 40
Day 4: Bob, 8, 40
Day 5: Sue, 2, 50
I am very new to collections and most of the applications that I build are Create, Read, Update and Delete type applications that don't really need arrays so I have almost no experience with either.

This is what I have so far.
VB
'
Dim iDays As Integer = NumberDaysPerMonth(Date.Now)
Dim DayNumber(iDays) As Integer
Dim EmployeeRecords As List(Of String) = New List(Of String)
For i = 1 To DayNumber.Count - 1
[Code] .....

View 4 Replies

Create A Project That Will Input An Employees Sales And Calculate The Gross Pay?

Oct 24, 2011

Create a project that will input an employees sales and calculate the gross pay,deductions, and net pay. Each employee will receive a base pay of 900 plus a sale commission of 6% of sales.After calculating the net pay, calculate the budget amount for each category based on the percentages given in the tables below.

Pay
Base Pay
�900.00
Commission

[code]....

Your Form should use text boxes to input the employee name and the euro amount of the sales and also use text boxes to display the results of the calculations. Provide buttons for Calculate, Clear, and Exit. Display a message to the user for any bad input data.Hints - You need to declare module-level constants, declare variables, carry out calculations and use try/catch to handle any exceptions that may occur.

View 7 Replies

Forms :: Make An Application That Allows The Manager Of The Company Whether The Employees Are Truly Active?

Sep 18, 2011

I want to make an application that allows the manager of the company whether the employees are truly active: screenshot and a "timer" to measure the time of the activity of the employee Can be controlled using the mouse or keyboard while the application is not active, but in execution.Is it possible in vb.net to know if the user of the machine is using the mouse or keyboard? My idea is to set a "Timer" which triggers automatically after the connection of the employee and every 10 seconds the application checks whether the mouse position has changed or a letter is entered on the keyboard except the"Timer" Will Be stopped until have a new mouse position or activity on the keyboard. But the problem is: is the application able to know the position of the mouse or to capture all keyboard input even if the application n 'is not active(not in the foreground)?

View 2 Replies

.net - How Does File Upload Work On A Server

May 10, 2011

I have the following problem: I have a client who will upload an Excel file online. This Excel file will need to be imported to a database table, which I can do using the openrowset command. Once it has been imported, I can display the data using a GridView.

Now, I have referred [URL], but in both of them, the upload folder (destination) is hardcoded. How can I change this to reflect the file's destination to be on the server? And, once this is done, how can I then use openrowset to extract the contents of the Excel fie?

Additionally, how can I emulate the entire process on my machine before it is deployed?

View 1 Replies

Code Don't Work On One Server Anymore

Jun 30, 2010

For a month now I cannot see one of my servers disk info anymore. I have tryd with both of this codes.On the first code I get this error "Failed to optasin Server Information".[code]On my second code to just give disk space on c: I get this error "Drive already mapped" and "Drive not available or forlder not accesabile".[code]

View 1 Replies

How To File Upload Work On A Server

May 23, 2009

I have the following problem: I have a client who will upload an Excel file online. This Excel file will need to be imported to a database table, which I can do using the openrowset command. Once it has been imported, I can display the data using a GridView.

View 3 Replies

IDE :: How To Get SQL Server 08 To Work With Visual Basic 08

Dec 3, 2008

this is my first time here and im a little lost - so i'm hoping this is the right area to post this (I have used other forums before, but jumping in and out of various msdn area's makes figruing out a site map very differcult at first).

View 1 Replies

One Dimensional Arrays - Display The Number Of Employees Who Have Earnt A Salary Within The Ranges Below

May 25, 2009

i am a beginner learning vb.net. I have an excercise to create a form and on clicking the totals buttons it should display the number of employees who have earnt a salary within the ranges below. Now this code works, but i want to substitute the Select Case Statement with a more efficient for..next statment to increment my counter. The code is:

[Code]....

View 2 Replies

Webbrowser Control Does Not Work On Win 2003 Server?

Feb 5, 2011

I have a program which uses web browser control to automize some testing. it works fine on local machine. however, when I deploy it on windows server 2003, for some reasons, the program can not click any buttons automatically in the IE browser control.

I checked, the IE on windows 2003, because of security, the internet is set in the highest security zone, all others, i.e. activex, scripting, ... are enabled.

View 1 Replies

VS 2010 Constants And Calculations - Project - Input An Employees Sales And Calculate The Gross Pay

Apr 6, 2012

This is the Project that i have to make. Create a project that will input an employees sales and calculate the gross pay, deductions, and net pay. Each employee will receive a base pay of $900 plus a sale commission of 6% of sales.

After calculating the net pay, calculate the budget amount for each category based on the percentages given in the tables below:

Your Form should use text boxes to input the employees name and the amount of the sales and also use text boxes to display the results of the calculations. Provide buttons for Calculate, Clear, and Exit. Display a message to the user for any bad input data. Now i want to know for constants its going to be : commission sale, deductions and everything in Budget? I am also guessing that for the gross pay its going to be the" Gross pay = base pay * Commission" ?

View 2 Replies

Automatically Print Out Orders?

Mar 7, 2010

I am wanting to create a VB.Net app that checks a database and then prints out the latest orders, the database is mysql and i need it to periodatically check and only print new orders i.e. not print ones it has already printed out.

View 3 Replies

Creating A List Of Orders

Jun 5, 2011

So I have a program that is supposed to support a small business. I have the work completed and the professor said it was correct but I wanted to go do a little extra. Basically, on the Order screen, you begin to type the name of a customer/supplier/employee into a text box and a list of names that fit the criteria pops up in a list box (lbMatchingAccounts). When you select it, you can hit enter new order and be transported to the Order Details screen to enter the new order.

[Code]...

View 2 Replies

Display Customer Orders That Have Been Placed?

Jun 28, 2009

It's a basic Access database driven e-commerce site. I have a home page, a products page, an orders page, an order confirm page, a shopping cart page and a view current orders page. The site uses an Access database with three tables. A Customer table, with all of the customer details, (FirstName, LastName, EmailAdd, CardNo, CardEx, SortCode, DeliveryAdd, Postcode)A Products table, with all the product information, (ProductID, ProductName, Price, ProductType, Images, ProductDescription). And an Orders table which contains CustomerID and ProductID.I've managed to get the orders page to work, this leads to the order confirmation page which displays the details the customer just placed.Here is what I have in the order confirmation page load event so far. Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)

[code]...

This returns this error "Syntax error in FROM clause." I'm guessing my SQL code is wrong. I noticed when I placed the order in the order page it added an entry in the Access database where the generated CustomerID was 12 on the customers table and 4 in the orders table. Shouldn't these numbers be the same when they are generated?

View 2 Replies

How To Calculate Orders (Seven Different Items)

Jun 8, 2011

I need to make an application that can calculate the items the user chooses from. There is 7 different items the user can choose from.

Small Coffee ..... $4.95
Medium Coffee .... $6.87
Large Coffee ..... $8.52
Bagel ............ $2.99
Cream ............ $0.71
Sugar ............ $0.50
Lid .............. $0.99

Total the coffee order (subtotal + tax at 6% = grand total). Allow the user to delete items from the customer order and to allow the user to start the order for a new customer (clear all). Create a button that gives a 10% discount for coffee only and adjusts the subtotal, tax, and total. Make certain the user can not click the button more than once per customer and if an item is removed from the customer order, make sure the discounted price is removed rather than the list price of the coffee. The button can only be clicked after the coffee is ordered, not before the coffee is selected.

This is what I got so far
Public Class Form1
Private myCoolCheckBoxPrices() As Double = {4.95, 6.87, 8.52, 2.99, 0.71, 0.5, 0.99}
Private myTax As Double = 0.06 'Tax used to add to Total Price
Private Sub lstItems_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles lstItems.DoubleClick
[Code] .....

View 13 Replies

How To Display Customer Orders That Have Been Placed

May 4, 2012

I have a home page, a products page, an orders page, an order confirm page, a shopping cart page and a view current orders page. The site uses an Access database with three tables. A Customer table, with all of the customer details, (FirstName, LastName, EmailAdd, CardNo, CardEx, SortCode, DeliveryAdd, Postcode)A Products table, with all the product information, (ProductID, ProductName, Price, ProductType, Images, ProductDescription).And an Orders table which contains CustomerID and ProductID.I've managed to get the orders page to work, this leads to the order confirmation page which displays the details the customer just placed.[code]This returns this error "Syntax error in FROM clause." I'm guessing my SQL code is wrong.I noticed when I placed the order in the order page it added an entry in the Access database where the generated CustomerID was 12 on the customers table and 4 in the orders table.

View 2 Replies

No Orders In The Last X Days - SQL Access ASP

Mar 11, 2009

My table holds the following information:- ID- custID- ordered- amount- dateAddedFrom my ASP (VBScript) page I am trying to show all the rows where someone has not ordered, say in the last 30 days, 2 months, 1 year, etc. I am struggling to put the SQL statement together.

View 1 Replies

Access Remote Sql Server 2005 Work On Windows 7

Dec 21, 2011

how can i access remote sql server 2005 work on windows 7 ? and in the seem time i donot like turn off firewall .

and how i can make sql server listen to it port 1433

View 6 Replies







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