Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. danielkelly

    Buffering Serial Port Data

    Hi All, Im hoping someone can assist me with a project I am working on. I have a device connected to the serial port which is continuously sending data. I have included relevant code below. I am trying to read this data into a buffer for processing as I will be looking for certain characters...
  2. danielkelly

    Global Windows Form

    Hi All, I hoping someone can assist me with the problem I am having. I have an application which Im writing that has a timer which on its tick event updates a label which displays the time on the screen. This worked perfectly until I decided to change the form to make it global. I have a...
  3. danielkelly

    Returning To Start of Method / Function

    Hi, Im having some difficulties understanding how best to get around my problem. Basically inside a method I am checking for the existance of various Registry Keys to ensure the correct structure is in place. The actual Method below is called CheckRegistryKeys(). Here is a code Snippet :-...
  4. danielkelly

    Custom User Control and Events

    Hi All, I have created my first custom user control which is basically a CheckBox displayed as a button with a few labels on it. Now Im struggling a bit with understanding the concepts of how events should be working. When I go into my User Control and click on the CheckBox, I created an...
  5. danielkelly

    RichText Box Line

    Hi, Im populating a Rich Text Box from a Database and I want to draw a line / write a series of underscores ( eg ------) to indicate a seperation between certain lines in the Textbox. My issue is I want this line to fill the complete Richtextbox width. I cant figure out how to calculate this...
  6. danielkelly

    DataGridView And Deleting Rows

    Hi, I have a DataGridView control on a POS application I am writing as a project. I am having issues when trying to remove certain items from the control. Below is an example :- 1 Item 1 $5.00 -Extra 1 -Extra 2 1 Item 2 $10.00 1 Item 3...
  7. danielkelly

    DataGridView and On Screen Keyboard

    Hi All, Im developing a POS application as part of a personal project. The project has a Datagridview which has the items being sold (Quantity,Item Name, Price etc). The Datagridview is on the left of the screen and on the bottom right is my virtual keypad which is basically just a series of...
  8. danielkelly

    Thread Performance

    Hi All, Im hoping someone can give me an idea on what I may be doing wrong (if anything). In my project I have a Combo Box which I populate from a SQL Database (using a Dataset and a for statement looping through each record). I have done it on form load and it works well however I decided to...
  9. danielkelly

    Windows Form Events

    Hi All, I'm having some problems finding the correct Forms event from which to fire my code. I want to run a sequence of code automatically once a form is displayed on the screen. Form_load isn't correct as my code finished before the form is displayed. Form_Shown doesn't seem to trigger...
  10. danielkelly

    To Close Text File or Not To Close

    Hi, Im after some advice on how to handle my Text File Operations. I have a Windows Service that writes log information to a text File. Events such as Service Stop / Start, Diagnostic Information etc. My question is should I open the log file and keep it open while the service is running and...
  11. danielkelly

    Client / Server Design Principles

    I was hoping someone may be able to give me some feedback on my design principles. I have done alot of applications relating to databases etc in c# but this is my first try at a Client / Server application. I wannted to check some of the recommended ways of performing client / server actions...
  12. danielkelly

    Sockets

    I am trying to create an application that simply starts listening on a specific port number on the local machine, and writes all data received to a text box on the form. There will be a 3rd party application that is sending data th my IP address on a specifi port number. From what ive been...
  13. danielkelly

    Form Methods

    I have an application that shows a datagrid and when i double click on a cell, it opens a new form with the details of the selected row so i can edit the values. The question i have is how can I tell the main datagridview to refresh once i save the record. I am populating the datagridview from...
  14. danielkelly

    MDI Forms

    Hoping someone can provide some assistance with an MDI application I am creating. Basically i have a parent container and my first child form is a login form where the user enters their logni credentials. This is done by frmLogin form1 = new frmLogin(); frmLogin.mdiParent = this...
  15. danielkelly

    Problem with ASCII String and Serial Ports

    I am trying to communicate with a serial device using Net Framework 2 and the Serial Port Class. I have a protocol definition written in VB which I am having problems converting to C#. The main problem I seem to be having is in the ASCII conversion. The VB code is Chr$(255) //Hex Value 255...
  16. danielkelly

    c# Insert Text into Textbox

    I have a series of textboxes on a Windows Form and a Series of buttons aswell. What I am trying to achieve sounds quite simple but I cannot figure out how to do it. Basically all Im trying to achieve is each button has some predefined text associated with it and when the user clicks the...

Part and Inventory Search

Back
Top