Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 6.40 seconds.

  1. Replies
    5
    Views
    119

    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?
  2. Replies
    1
    Views
    67

    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...
  3. Replies
    5
    Views
    119

    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...
  4. 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...
  5. 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,...
  6. Replies
    2
    Views
    123

    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...
  7. Replies
    5
    Views
    119

    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...
  8. Replies
    4
    Views
    220

    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...
  9. Replies
    4
    Views
    202

    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...
  10. 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...
  11. Replies
    5
    Views
    210

    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...
  12. Replies
    5
    Views
    210

    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...
  13. 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.
  14. 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...
  15. 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...
  16. 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...
  17. 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...
  18. 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...
  19. 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.
  20. 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.
  21. 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...
  22. Replies
    6
    Views
    215

    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...
  23. Replies
    16
    Views
    440

    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...
  24. Replies
    16
    Views
    440

    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...
  25. Replies
    16
    Views
    440

    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...
  26. Replies
    16
    Views
    440

    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.
  27. Replies
    8
    Views
    323

    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...
  28. Replies
    2
    Views
    146

    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 -...
  29. Replies
    2
    Views
    146

    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...
  30. 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...
  31. Replies
    10
    Views
    406

    VS 2010 Re: Moving away from or extending Enum

    This is one option:

    Public Enum VoucherType
    VoucherType1
    VoucherType2
    VoucherType3
    VoucherType4
    VoucherType5
    End Enum
  32. 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...
  33. 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...
  34. VS 2019 Re: Put Element in WebBrowswer in label with tagname

    That's what I'm asking you. You seem to think that we can magically tell you how to identify one tag in a page that you haven't bothered to show us or describe in any way. Try using your own eyes and...
  35. VS 2019 Re: Put Element in WebBrowswer in label with tagname

    I already told you what's needed, i.e. you need to be able to uniquely identify the tag you want to get the data from. If you don't understand HTML then you need to learn enough to be able to do...
  36. VS 2019 Re: Put Element in WebBrowswer in label with tagname

    If you expect to get data from a specific tag then you have to be able to uniquely identify that tag. Obviously an id is the best way to do that but it can be done other ways. It's not magic though....
  37. Replies
    9
    Views
    298

    VS 2017 Re: LINQ question

    I do tend to dwell on this a bit because a lot of people don't immediately see the difference or realise that it's important. The implementations of those four methods is effectively like this:
    ...
  38. Replies
    9
    Views
    298

    VS 2017 Re: LINQ question

    To address the question as asked:
    Dim name = BookAbbrList.FirstOrDefault(Function(book) book(1) = abbreviation)?(0)
    The First, FirstOrDefault, Single and SingleOrDefault methods all work similarly...
  39. VS 2019 Re: Using arrays to add information to radio buttons/checkboxes on a form

    Given that RadioButtons operate as a group in the same container, you can just get all the RadioButtons in that container, e.g.
    Dim dayRadioButtons = dayGroupBox.Controls.OfType(Of...
  40. Replies
    9
    Views
    298

    VS 2017 Re: LINQ question

    In that case, it sounds like you should be defining a dedicated type to represent a "row" and then creating a List(Of T) where T is that type. You can certainly write LINQ queries to do things with a...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width