Search results

  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...
  16. P

    Combo Box.....HELP

    How do I do that? Not really understand your meaning.....
  17. P

    Double Clicked the DataGrid and obtained specific information from specific row

    Dear all, I am attempting to do something interesting with the datagrid, when I click a specific row on the datagrid, it open a form and the information that was on that row transferred to the form that just opened. Is it possible to do that? I know that it is possible on VB 6, but how can I...
  18. P

    Combo Box.....HELP

    Hi all, I am try to make something that can update my database from my combobox, since I have 10 comboboxes on my form, and each perform the same function and had the same data source. The scenario is that: 1. I have 2 tables that needed to update 2. I need to check whether the string that I...
  19. P

    Passing integer value between forms

    Hi all, I am having 2 forms, and I have declared an integer variable in form 1, then I assign something from from2 to that integer value, but it just didnt pass my value, can somebody tell me why??But when I am passing a textbox value, it can be passed. PlayKid
  20. P

    Possible to hide columns in the Datagrid?

    Dear all, Just wonder is it possible to hide any columns in the datagrid? I have read some books, but they didnt say anything about this issue, but is it possible. Thanks PlayKid
Back
Top