Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 2.70 seconds.

  1. Replies
    4
    Views
    171

    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...
  2. Replies
    4
    Views
    162

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

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

    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...
  6. 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.
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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.
  13. 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.
  14. 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...
  15. Replies
    6
    Views
    187

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

    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...
  17. Replies
    16
    Views
    391

    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...
  18. Replies
    16
    Views
    391

    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...
  19. Replies
    16
    Views
    391

    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.
  20. Replies
    8
    Views
    304

    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...
  21. Replies
    2
    Views
    134

    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 -...
  22. Replies
    2
    Views
    134

    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...
  23. 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...
  24. Replies
    10
    Views
    380

    VS 2010 Re: Moving away from or extending Enum

    This is one option:

    Public Enum VoucherType
    VoucherType1
    VoucherType2
    VoucherType3
    VoucherType4
    VoucherType5
    End Enum
  25. 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...
  26. 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...
  27. 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...
  28. 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...
  29. 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....
  30. Replies
    9
    Views
    277

    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:
    ...
  31. Replies
    9
    Views
    277

    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...
  32. 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...
  33. Replies
    9
    Views
    277

    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...
  34. Re: Deployment Issue - Cannot Download Application

    And my point is that something has gone wrong with that way but if you don't tell us what you've done then we can't tell you what you've done wrong. It's not rocket surgery: tell us what you're...
  35. VS 2015 Re: Use dataset in module public read only error

    You're trying to make this complicated when it's not. There's nothing special about a DataSet. An object is an object. You already know how to call a method and pass an object as an argument because...
  36. Re: Why don't we use double quotes when working with variables?

    This is pretty basic stuff that you really shouldn't need explaining because it's covered by beginner tutorials. Double quotes denote a literal String value. The only thing you wrap in double quotes...
  37. Re: toolstripmenuitem toolstriptext appears

    Actually, I tell a lie. I think that it actually happens every time unless you move the mouse away and back again such that the tool tip disappears and reappears but the submenu remains visible. It...
  38. Re: toolstripmenuitem toolstriptext appears

    This seems to be a bug that, in my testing, showed up about half the time, or perhaps a little more. I haven't tested it myself but this SO question seems to provide a workaround:
    ...
  39. Replies
    5
    Views
    288

    Re: Button2 not referenced !

    That's not really true. Button2 is a variable and it certainly has been declared at that point. The actual problem is that the Button object has not been created and assigned to that variable at that...
  40. Replies
    5
    Views
    294

    5.0 Re: Datagridview styling class

    Never just say that something "doesn't work". All code works because all code does exactly what it does. You need to explain EXACTLY what you expect to happen and exactly what does happen. Don't...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width