Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 7.00 seconds.

  1. Replies
    11
    Views
    251

    VS Code Re: Detecting record change in datatable

    Argh! I do wish that people could follow instructions. I said that you bind the BindingSource to the grid, not the DataSource of the BindingSource. The DataSource of the BindingSource is the...
  2. Replies
    11
    Views
    251

    VS Code Re: Detecting record change in datatable

    First things first, you're STILL not using the BindingSource properly. Here:
    AllBindings-Etc.DataBindings.Add("Text", dt, "ClientID")
    you are still binding directly to the DataTable. Stop doing...
  3. Replies
    3
    Views
    112

    VS Code Re: Software Development Platform.

    Then why did you specifically choose the VS Code prefix for your post? That is for questions relating to VS Code.

    Also, you might consider upgrading to VS 2019. I'm sure that cross-platform...
  4. Replies
    3
    Views
    112

    VS Code Re: Software Development Platform.

    Firstly, you have specified that you're using VS Code. You can do so if want but it doesn't have great support for VB. You might be better off using VS Community 2019. That's up to you though.

    As...
  5. Replies
    11
    Views
    251

    VS Code Re: Detecting record change in datatable

    No you would not be correct in thinking that. The CurrentChanged event is raised whenever the value of the Current property changes, much as a TextBox raises TextChanged when Text changes. If you...
  6. VS 2019 Re: Loop through Listitems not working

    I don't see the point of MyPath at all.

    For Each row As DataRow In dt2.Rows
    For Each column As DataColumn In dt2.Columns
    YearsList.Add(New MyYears With {.Path = CStr(row(column))})
    ...
  7. VS 2019 Re: [RESOLVED] System.MissingMemberException: 'public member ToList on type String()

    It appears that you just ignored everything I said about the StringBuilder. If you had actually explained what you were trying to accomplish in the first place then we could have told you to do away...
  8. Replies
    11
    Views
    251

    VS Code Re: Detecting record change in datatable

    If you don't bind the BindingSource to the grid, why would selecting a record in the grid affect the BindingSource?
  9. Replies
    1
    Views
    102

    Re: Nimo TV live

    The WebBrowser control is based on IE and does have some limitations compared to the IE app. I believe that a number of those can be overcome without too much effort - I'm not sure how as I don't...
  10. Replies
    11
    Views
    251

    VS Code Re: Detecting record change in datatable

    Then you should do as I instructed in my previous post. Is there an issue with that? The Current property refers to the record currently selected in the UI. When binding a DataTable, that record will...
  11. Re: When reading byte, returning "0" instead of "00" - Byte editing

    Why are you repeating what you have already said when I have already told you how to do it? You stated a problem and I gave you the solution. Use it.

    No you don't. You probably ought to learn the...
  12. Re: When reading byte, returning "0" instead of "00" - Byte editing

    There is no "cutting off" of leading zeroes because there are no leading zeroes to start with. A number is just a number. Leading zeroes is a way to represent a number when written. That means that,...
  13. VS 2019 Re: Loop through Listitems not working

    The whole point of OOP is the first O. Programming objects are based on real-world objects. Let's say that you were creating a list of people by writing their names on a piece of paper. Let's say...
  14. Replies
    11
    Views
    251

    VS Code Re: Detecting record change in datatable

    Ideally, you should be binding via a BindingSource and then handling the appropriate event of that, e.g. CurrentItemChanged. If you don't want to use a BindingSource for some insane reason, the...
  15. Replies
    4
    Views
    239

    VS 2019 Re: vb webview2 new window

    Being sarcastic towards those whom you want to help you doesn't seem to be the best way to encourage them to help you. Firstly, we're all volunteering our time to help strangers here, so acting...
  16. Replies
    4
    Views
    217

    Re: VS2019 Throw new gives excpetion

    This is a perfect example of why you should ALWAYS read the documentation for new types and members, ESPECIALLY when they don't work as expected. You could have got the same information by simply...
  17. VS 2019 Re: System.MissingMemberException: 'public member ToList on type String() not found

    You don't have to assume because you can always work out one way or another whether a type implements a particular interface, but if you could call ToList in C# then it must. In that case, the issue...
  18. Replies
    5
    Views
    229

    VS 2019 Re: StartsWith/EndsWith vs Like

    You wouldn't use EndsWith for that in C# but rather a Regex. Regular expressions are more versatile still, but do need a bit of work to learn. Like a I said, just be consistent. If you consistently...
  19. Replies
    5
    Views
    229

    VS 2019 Re: StartsWith/EndsWith vs Like

    Specifically, yes. Practically, no. Personally, I never use the VB Like operator. You'll likely find that most who use C# as well don't. I'd suggest you go with the former but, whatever you do...
  20. VS 2019 Re: System.MissingMemberException: 'public member ToList on type String() not found

    By the way, using a StringBuilder to create a single String containing lines of words and then calling WriteAllText is a bit silly when you can just call WriteAllLines and pass the original list.
  21. VS 2019 Re: System.MissingMemberException: 'public member ToList on type String() not found

    For a start, you should have Option Strict On in the project properties, in which case issues like this will show up and compile time rather than run time. You should turn it On in the Vs options...
  22. VS 2019 Re: ToolStrip Split Button - Custom highlight Color not drawing the Arrow

    As you didn't show us what you did, it's hard to know exactly what you did wrong, which is exactly why you should ALWAYS shows us what you did. I would assume that you did not correctly create the...
  23. VS 2019 Re: Maximize form vb.net with taskbar

    I tested for myself and I do see a gap if the form has a border but when it doesn't have a border I see no gap. I'm not sure what's different about your system. Anyway, here's something that I think...
  24. VS 2019 Re: Maximize form vb.net with taskbar

    You can't, obviously. You maximised the form and it covered the Taskbar because that's how forms without borders work. If you don't want that to happen then you can't maximise the form. If you want...
  25. Re: Reference ITEXTsharp works in one form but not another ?

    I highly doubt that but, if it is true, you failed to mention that in either of your previous posts too. Just provide a FULL and CLEAR explanation of the problem at the outset and we will have the...
  26. Re: Reference ITEXTsharp works in one form but not another ?

    And you think that it's a great idea to not tell us what those errors are or where thewy occur? I'm not going to waste any more time on this.
  27. Re: Reference ITEXTsharp works in one form but not another ?

    We should never have to ask for this: show us the relevant code, the error messages and where in the code they occur.
  28. VS 2019 Re: Cannot get web app to work with MS Access databases

    If only there was a way that we could find out what line in the code you posted is that line 134. If there was someone who already knew that then they could tell us. Alas, I can't think of any such...
  29. Replies
    6
    Views
    220

    Re: Interpolating values

    It's up to you to determine how you want to do the interpolation. Do you just want to find the two points on either side of your desired value and draw a straight line between them or do you want to...
  30. Replies
    16
    Views
    455

    Re: Loop and search in bin file for bytes?

    Why do you feel the need to lie? No one indicated that you needed to be fluent in VB, never mind any other language or anything beyond programming. It's almost like you have to create this big drama...
  31. Replies
    16
    Views
    455

    Re: Loop and search in bin file for bytes?

    No one has said anything more wrong ever. It's that attitude that has caused you to waste days looking for an easy fix rather than doing it the proper way. An algorithm is just a set of steps to get...
  32. Replies
    16
    Views
    455

    Re: Loop and search in bin file for bytes?

    There's no simple, managed API for finding a series of bytes in a longer series of bytes. There are various algorithms for doing so, so you should research that and look to implement one yourself or...
  33. Replies
    16
    Views
    455

    Re: Loop and search in bin file for bytes?

    Is this a binary file or a text file? They are not the same thing so you need to make up your mind what you're working with. If it's text then you should be searching for text.
  34. Replies
    8
    Views
    329

    Re: tooltip no longer working

    Don't be creating a new ToolTip component for every Button. You don't need any more than one TooTip on the whole form. Add one ToolTip to the form in the designer, then call SetToolTip on that for...
  35. Replies
    2
    Views
    152

    VS 2008 Re: Gmail scheduling in vb.net??

    By the way, are you really using VS 2008? If so, may I ask why, when VS Community 2019 is free for individuals and small teams. There may be a good reason - at least, a reason beyond your control -...
  36. Replies
    2
    Views
    152

    VS 2008 Re: Gmail scheduling in vb.net??

    That's really a Gmail question rather than a VB.NET question. If Gmail exposes such functionality then you'd be able to use any language to use it. I suggest that you do the appropriate...
  37. VS 2019 Re: [RESOLVED] Using arrays to add information to radio buttons/checkboxes on a form

    That is true. The result will be based on the z-order of the controls. That's basically the order they would be layered over each other if they overlapped. by default, that follows the order you add...
  38. Replies
    10
    Views
    408

    VS 2010 Re: Moving away from or extending Enum

    This is one option:

    Public Enum VoucherType
    VoucherType1
    VoucherType2
    VoucherType3
    VoucherType4
    VoucherType5
    End Enum
  39. VS 2019 Re: Simplifying Object Initialization

    Because object initialisation is for setting properties, not calling methods. The one and only thing you can do with object initialisation is set a property of the object you're initialising. Those...
  40. VS 2019 Re: Put Element in WebBrowswer in label with tagname

    Try putting some thought into it. Obviously you were able to identify the tag you wanted such that you could post it here. How did you do that? How did you manually identify the correct tag? We have...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width