Monday, May 12, 2008

I am having some issues with using the enumerator classes in my project.  For my dropdown I am using the suggestion that was posted by prof haines .. adding all of the choices to the dropdown then using a case to actually select the TaskType and TaskStatus.. However, when I am trying to actually save the information that was entered with the AddEmployeeTask method I am uncertain how to get the Task ID for whichever task was selected in the drop down. This is the code I am trying to use.  It works as long as I code in the case as i did below:

Try

Dim thisEmp As wrefEmployeeManagementService.Employee

Dim thisID As String

Dim taskID As String

thisEmp = Me.cbxEmployeeName.SelectedValue

thisID = thisEmp.ID

thisTask = Me.cbxTaskType.SelectedValue

taskID = task.ID

' MessageBox.Show(taskID)

emptask = New wrefEmployeeManagementService.EmployeeTask

emptask.DateWorked = Me.dtCalendar.Value

emptask.HoursWorked = Me.txtEmloyeeHours.Text

' MessageBox.Show(thisEmp.FullName)

emptask.EmployeeId = thisID

' MessageBox.Show(thisID)

emptask.ID = Count + 2

emptask.TaskId = taskID

ws.addEmployeeTask(emptask)

Select Case Me.cbxTaskType.SelectedItem

Case "Armaflex"

thisTask = wrefEmployeeManagementService.TaskType.Armaflex

task.TaskName = "Armaflex"

If task.TaskStatus = wrefEmployeeManagementService.TaskStatus.Completed Then

task.ID = "00011"

Else

task.ID = "00012"

End If

Anybody have any suggestions??

 

Thanks!

5/12/2008 10:31:32 PM (Central Standard Time, UTC-06:00)
 Sunday, May 04, 2008
 #
 

Is anybody else completely frustrated with this project?  I am very frustrated and am just at a loss of what to do right now regarding actually adding "dummy" data into the webservice for me to use for testing purposes.  Grr! 

5/4/2008 4:41:42 PM (Central Standard Time, UTC-06:00)
 Monday, April 21, 2008
 #
 

I am having an issue with Assignment 4.  I got the data to save locally to an xml file with the code still similar to Lab 4 where the form populates with all of the information from the webservice when first opened.  Then I changed the code to load either locally from the "patient.xml" file or from the Webservice when you click on the load menu button.  However, once everything populates using the Load feature, it will not work using the Save feature to save the data to xml.  It gives me the following error: The process cannot access the file '\patients.xml' because it is being used by another process.  It gives me this pop up whether I am connected and loaded the data from the webservice or if I am not connected and loaded the data locally from patients.xml.  Anyone have suggestions on what I am doing incorrectly?

Thanks!

4/21/2008 6:18:28 PM (Central Standard Time, UTC-06:00)
 Monday, April 14, 2008
 #
 

For my project I am working on creating a database that hopefully in the future will be able to be used by my boyfriend who works in the construction industry.  I am working on building a database to track employee hours on a daily basis, along with which site the employee is working at.  Currently employee hours are tracked in a notepad by the construction site foremen (yes a little antiquated!!).  So hopefully my attempt at building a database can be useful to the company he works for and be used to track employees' time while onsite.

4/14/2008 8:37:54 PM (Central Standard Time, UTC-06:00)
 Tuesday, February 26, 2008
 #
 

I was unable to make it to class today due to illness.  I really wanted to make it considering we have our first exam next week, however, I just was not feeling good enough to even get out of bed.  Could anyone give me any insight to what took place in class tonight.  I have printed out the powerpoint notes but if there were any other important announcements please share them with me.  I noticed on the course website that our exam is going to be online.  Do we still have class next Tuesday (the 4th)?  Thank you in advance for any responses.

2/26/2008 8:10:20 PM (Central Standard Time, UTC-06:00)
 Sunday, February 03, 2008

Has anyone tried to download the Visual Studio 2005 Professional Edition CD1 and CD2?  If so were you successful?  I've downloaded the two and have burned them to CD but I do not know how to go about opening them?  It still is just the .iso file on the CD's.  Any ideas anyone?

2/3/2008 5:13:26 PM (Central Standard Time, UTC-06:00)
 Saturday, February 02, 2008

I'm trying to download the 90-day trial Visual Studio and I am having trouble.  I downloaded the Visual Studio 2005 but then it asks what program I should run this with.  Are there other components to download also?   

2/2/2008 11:46:28 AM (Central Standard Time, UTC-06:00)
Search
Navigation
On this page....
Archives
<September 2008>
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011
Aggregate Me!
RSS 2.0 | Atom 1.0 | CDF
Categories
Blogroll
Contact me
Send mail to the author(s) E-mail
Themes
Pick a theme:
Administration