Recent content by PlayKid

  1. P

    How do I set rules for my database?

    Dear all, I would like to know how to set certain rules for my database relationships with parent and child tables, such as cascade, restrict.... I am using SQL Server, but I cannot find a way to accomplish this task, I am using VB.Net to design my application, using VB.Net to view my database...
  2. P

    Another stupid question on combobox

    No, this is not what I mean, I am populating the combobox by dataview, and it automatically populate the data onto it, since I am not adding it manually, so your code is not what I want. But thanks for your replying. PlayKid
  3. P

    Another stupid question on combobox

    Dear all, I am trying to filter data by using dataview and display the results on the combo box, but the problem is it displays more than 1 exactly the same results on a combo box, how can I do it to prevent this happned? Thanks PlayKid
  4. P

    Possible to read a specific line on a text file?

    Yip, I am on it....... Thanks
  5. P

    Possible to read a specific line on a text file?

    Dear all, I am trying to read something from a text file, and each line representing different thing, how do I do that? Thanks PlayKid
  6. P

    How do I prevent user from entering strings other than numeric onto the textbox?

    Dear all, How do I do that? To prevent user from entering "abcd", the user may only enter "1234"..... Say if the user enter something thats not numeric, then the textbox wont response.... Thanks PlayKid
  7. P

    Passing integer value between forms

    Yes, I did, but when I clicked the form, the debugger is not responding, what can I do?
  8. P

    DateTimePicker Differences in numbers of days problem

    Thanks very much, PlausiblyDamp... it works..... its really help me alot. Thanks PlayKid
  9. P

    Passing integer value between forms

    This is one of my method, another method is without the shared, still either ways, they still not working. Is there something wrong with my code?
  10. P

    DateTimePicker Differences in numbers of days problem

    Here is my code: Private Sub DateReturnTP_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateReturnTP.ValueChanged Dim Difference As TimeSpan Difference = DateReturnTP.Value - DateReturnTP.Value DurationText.Text =...
  11. P

    Passing integer value between forms

    Thanks for all of your replies, here is my code. In Form 1: Private Sub MorepersonButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MorepersonButton.Click Dim MDIChildMCPersons As New MCPersons MCPersons.SupplierNumber = 2...
  12. P

    DateTimePicker Differences in numbers of days problem

    I tried your method, but it doesnt work, I am using VB.Net.
  13. P

    Possible to hide columns in the Datagrid?

    Thanks for both of your replies, but I have used another method, here is my code, if there is anyone would like to use as well. ClientDataSet1.Tables("Client").Columns("ClientNo").ColumnMapping = MappingType.
  14. P

    DateTimePicker Differences in numbers of days problem

    Dear all, I am trying to calculate the difference between 2 DateTimePickers values, and I am unable to calculate the differences in numbers of days, it is fine if they both within the same month, but if the month is changed, the problem arise, it just calculated the differences in day and not...
  15. P

    Combo Box.....HELP

    Joe: Thats part of my idea, but since I have 10 combo boxes that do the same tricks, if I entered something on my box, then all other boxes do the same thing, which overwrites my text that I have entered on my combo box. I have changed my code, here is my updated code, but still gives me...
Back
Top