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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by nishasp

  1. nishasp

    on update cascade does not update foreign key columns

    Do i create this procedure as a trigger that occurs each time i insert values into the primary table?
  2. nishasp

    on update cascade does not update foreign key columns

    Hi all, I am using an identity for a primary key. I have a foreign key in another table which references this primary key and for which the on update cascade is enabled. Does this mean that when i enter in a row for the table with the primary key, the table with the foreign key should also...
  3. nishasp

    Does a thread affect timer tick event

    Hi, I am running a thread that goes to sleep every 150ms. At some point in my application I enable a timer for it to make a button flash different colours. Although the timer gets enabled, it is not stepping through to the timer tick event to make the button flash. Does a thread affect the...
  4. nishasp

    Timer interval keeps changing

    Hi, I am running a serial communications application which should effectively run 24/7. I am using a timer tick event to send messages to the serial port, however i am finding that after the app has been running for 15-30mins, the messages are not being sent at the correct interval of 150ms...
  5. nishasp

    retaining the last state of a form when you re-open it

    Hi JC, How would i go about writing to a delimited text file with the settings stored? I would appreciate if you could show me some sample code. Thanks, nisha
  6. nishasp

    retaining the last state of a form when you re-open it

    Does anyone know how i can open up a form that keeps the last state of its controls as they were before the form was closed eg buttons are disabled when the form is closed, but when the form loads, the buttons are enabled, but need them to be disabled???
  7. nishasp

    Auto Complete text box

    Does anyone know how to create auto complete functionality for a text box??
  8. nishasp

    instance of form does not pass values to another form

    I don't want a new instance of the form as this then doesn't have the associated tag value that indexes the buttons. I have tried to create a new instance of form2 in form1, but then i am unable to get multiple instances of the same form...
  9. nishasp

    instance of form does not pass values to another form

    And another question again... I have the button control array that opens up different instances of form2. The problem is that if i click on a button more than once, it will keep opening up that same form. I need to click on a button, open up its associated form and only when it is closed can...
  10. nishasp

    instance of form does not pass values to another form

    It's really weird, but i restarted the computer and now the messages seem to be going through fine! So, thanks for that anyway!
  11. nishasp

    instance of form does not pass values to another form

    private void WaitTimer_Tick(object sender,System.EventArgs e) { if((this.Port.IsOpen) && (iJIGMsgString <32)) { //SendStr("a10e<2"); if(JIGString.Count == 31) { SendStr(JIGString[iJIGMsgString].ToString()); iJIGMsgString++; if(iJIGMsgString >=31) //keeps on polling {...
  12. nishasp

    instance of form does not pass values to another form

    Yes! In form2 i have set parentForm.resultString = StartRemoteTest.ToString(); I remove this value from the arraylist once i have used it in form1, so the count will only ever be say 30 and 31.
  13. nishasp

    instance of form does not pass values to another form

    I store the add the value to an arraylist, but this value gets removed. Does this not clear the element? If i close one form and then send the value from another form, there is no problem. However if i send a value from the first form and do not close it, then when i send a value from the...
  14. nishasp

    instance of form does not pass values to another form

    One more question regarding this topic... Because i have multiple instances of the same form, if i pass a value from instance1 of form2 to form1, and then do not close that screen, then the same value gets passed across when i try and send a different value from instance2 of form2. Is there...
  15. nishasp

    instance of form does not pass values to another form

    Thank you for all your help. I would have been stuck on this for days otherwise! :-D

Part and Inventory Search

Back
Top