Search results for query: *

  1. P

    Windows Service Error/Log File Location.

    Richard, According to the technicians who work at my company, they expect to find the log files in the program files directory. I have been writing .Net Applications and services for the past 4 years and this is the first time I've written something where I needed to track an extensive log of...
  2. P

    Windows Service Error/Log File Location.

    That is where I am currently writing the file to (= Program Data on Server 2008), but I guarantee that if I asked one of my tech's to locate the error log, they wouldn't be able to find it. I can really test that if you want? My point is, if the logfile is not easy to find, then how would...
  3. P

    Windows Service Error/Log File Location.

    ApplicationData folders are user specific and this is a windows service (hence a specific user is inapplicable). Your statement about data files is inaccurate, in addition to my example of MS placing SQL data files inside the program files folder, I also looked at a program called syslogd which...
  4. P

    Windows Service Error/Log File Location.

    You wouldn't look for an event/log file in the program data directory (you JUST wouldn't). I should be able to store this in the program files directory with my application.
  5. P

    Windows Service Error/Log File Location.

    I'm already logging to the event log for critial application errors and failures. I need to store a detailed list of records that are being processed and the action the service took including any resulting error. Each night, this will equate to approx 600-800 entries in the text file. I don't...
  6. P

    Windows Service Error/Log File Location.

    Before I post about my problem, please consider the following: If you are having problems with a windows application (especially a commercial app that run's as a service on a server), where would you look for the error/log file? Ok, so yes, I have written a windows service that run's on a...
  7. P

    Combobox will NOT update dataset value to NULL\Blank

    I have made SOME progress in this issue with regard to the text box, but NOT the ComboBox. I added 2 lines to make the dataset accept NULL's on the CheckNumber and CustomerID columns, I also amended the databinding code. Here is the new code, but the combo box still doesn't work. Imports...
  8. P

    Combobox will NOT update dataset value to NULL\Blank

    I am completley lost as to why this code is causing BOTH the textbox and the combobox to not update the dataset. The textbox behavior is even worse because the value keeps reverting back to it's prior value when I delete the entry or type a text value. Is this a new bug?
  9. P

    Combobox will NOT update dataset value to NULL\Blank

    I was just creating a mock up project and now I'm getting some truly bizzare behaviour. Now when I delete the entry in a text box, it's reverting back to the previous value. Here is my code. Imports System.Data Imports System.Data.SqlClient Public Class Form1 Dim Connectionstring1 As...
  10. P

    Combobox will NOT update dataset value to NULL\Blank

    I can confirm that the combobox.selectedvalue = "" after the user deletes the entry in the combobox. My databinding is set to the SelectedValue so I don't understand why the dataset is not updated. I'm not having any other datasave related problems other than this.
  11. P

    Combobox will NOT update dataset value to NULL\Blank

    Maybe you misunderstood my scenario. They are clicking into the combo box and pressing the backspace key. They are removing the selection they made. Exactly as you would do in a text box.
  12. P

    Combobox will NOT update dataset value to NULL\Blank

    Is it a known issue that the combobox will not save changes to the dataset if the entry in the combobox is blank? This problem is driving me insane! Here's the scenario. The user open the form, the record loads, they make a selection from a combobox and save the record. The user then...
  13. P

    Combobox Validating - on value changed?

    Hi, Is it possible to only validate a combobox if it's value is changed? I'm looking for something similar to the .modified property of the textbox countrol. Private Sub txtCheckNumber_Validating(sender As System.Object, e As System.ComponentModel.CancelEventArgs) Handles...
  14. P

    Problem saving new record in a form. Do I need a binding source?

    Thanks for the help here. There are pro's and con's to using the dataset designer....some of which I have experienced. As a useless piece of information, we recently hired 2 new developers from accross our state. 1 is a Computer Programming college professor and the other is a newly graduated...
  15. P

    Problem saving new record in a form. Do I need a binding source?

    If I don't run a select statement, how do I create the dataset to store the data?
  16. P

    Problem saving new record in a form. Do I need a binding source?

    I was playing with this over the weekend and pretty much ended up where you suggested. I kept the binding source and performed a bindingsource.AddNew before filling the text boxes and a bindingsource.EndEdit after they were populated. When I call my save routine, I am also performing a...
  17. P

    Problem saving new record in a form. Do I need a binding source?

    I have also tried modifying the DataBindings with the following code. mybindingsource.DataSource = ExpenseTicketsDataSet.Tables("ExpenseHdr") 'bind text boxes to the dataset. ExpenseID.DataBindings.Add("Text", mybindingsource, "ExpenseID")...
  18. P

    Problem saving new record in a form. Do I need a binding source?

    It is also not updating any ExpenseHdr changes on existing records when the save function is called. I must be doing something wrong but I don't understand what it is. If the form is able to show the correct values when an Existing ExpenseID is supplied, then the data binding must be working...
  19. P

    Problem saving new record in a form. Do I need a binding source?

    I have built a form which is used to input sales expenses. It consists of a few text boxes (for Expense Header information) and the DevExpress DataGrid (for Expense Details entries). The Textboxes are bound to the ExpenseHdr table in the ExpenseTickets Dataset and the grid is bound to a table...
  20. P

    3rd Party DataGrid(View) control

    Thanks for the advice. I ended up going with the DevExpress Grid Control. It has a few "issues" with it's behavior but these can be fixed in code.
Back
Top