Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 5.04 seconds.

  1. Replies
    2
    Views
    101

    Re: Can VB.Net adjust bios settings?

    That would depend on the API provided by the motherboard manufacturer. I think they pretty much all provide a Windows utility these days but I'm not sure that they would publish the API because they...
  2. Replies
    18
    Views
    371

    VS 2019 Re: Create a List for multiple entries

    I don't see that. There's no reason that a single file path can't be added to multiple values if that file contains multiple keywords. The OP said that they want to get all the files containing a...
  3. Replies
    18
    Views
    371

    VS 2019 Re: Create a List for multiple entries

    Definitely not that. It defeats the purpose of a Dictionary, which is fast lookup.
  4. Replies
    3
    Views
    138

    Re: Is there a 62-ary algorithm?

    Base-64 is a common way to represent binary data as text, because every digit represents 8 bytes. Presumably you could do any base below that simply by dropping the last two digits from the vase-64...
  5. Re: SharpDevelop 5.1 Visual form designer function is invalid ON VB.NET?

    SharpDevelop is open-source. Presumably the group who maintained it decided that it wasn't worth continuing to do so. Again, we're not privy to their decision-making process but I would imagine that...
  6. Re: SharpDevelop 5.1 Visual form designer function is invalid ON VB.NET?

    If there is a bug in the designer then that is something that you should report to them to fix. If that's not what you're talking about then try providing a full and clear explanation of the problem....
  7. Replies
    17
    Views
    347

    Re: Combining method for math

    And still you're talking about others giving you code when you've made no attempt at all to determine the logic.

    You don't need any programming experience to determine the logic so that you have...
  8. Replies
    4
    Views
    154

    Poll: VS 2015 Re: image vb.net

    If it didn't work then you did it wrong. As you seem to think that you don't need to show us what you did, we can't tell you what's wrong with it. ALWAYS provide a FULL and CLEAR explanation of the...
  9. Replies
    13
    Views
    295

    Re: Editing a text file

    Thanks. Fixed. That's not the first time I've made a typo like that. How much trouble could it cause to post the exact opposite to what I meant to say?
  10. VS 2013 Re: Get activate application name and details

    You would have to delve into unmanaged code, i.e. Windows API functions, for that. The first step would be to call the GetActiveWindow API to get the handle of the currently active window. You can...
  11. Replies
    17
    Views
    347

    Re: Combining method for math

    You're not having trouble figuring out the code. You're (supposedly) having trouble figuring out the logic. The code is simply an implementation of the logic. The logic would be the same no matter...
  12. Replies
    13
    Views
    295

    Re: Editing a text file

    That's why you need to take note of the error message and/or symptoms. That will lead you to the cause. For instance, if you get a FileNotFoundException then the issue is obviously not that you can't...
  13. Replies
    13
    Views
    295

    Re: Editing a text file

    I just created a Windows Forms Application project targeting .NET Framework 4.8. I added a TextBox to the form and set Multiline to True. I added a text file named TestData.txt to the project and set...
  14. Replies
    13
    Views
    295

    Re: Editing a text file

    You are correct. Do you have a link to the thread I posted that in, so that I can edit it?
  15. Replies
    7
    Views
    233

    Re: tutorial links

    Why would a tutorial provide interactive help? That's what sites like this one are for. Instead of asking for another tutorial when, by your own admission, you already have a good one, you should...
  16. Replies
    6
    Views
    229

    Re: Visual studio??

    This is a VB.NET forum. Are you writing VB.NET code? If so then this is a good place to ask questions when you have trouble. Note that every version of VB from 2002 is VB.NET, even though the .NET...
  17. VS 2019 Re: Using a menu item to clear everything, but text in a textbox

    Don't forget to mark your thread Resolved using the Thread Tools menu if the issue has indeed been resolved.
  18. Re: Question regarding upgrading from 4.0 framework

    That's a fair point, but I'm not sure that I'd be migrating an existing application to .NET Core just yet. There is a tool in preview for automating that migration but it's rather rough at the...
  19. Re: [RESOLVED] Create a table in a class that inherits from another class. vb.net

    And I told you that that created the array but it didn't set the elements of the array, so I provided help, if that's OK with you. Providing you with code that you can copy and paste without...
  20. Re: Create a table in a class that inherits from another class. vb.net

    Because I'm trying to get you to think and apply some logic to the situation so you can solve problems for yourself and avoid asking stupid questions. The issue is that the question about the...
  21. Re: Create a table in a class that inherits from another class. vb.net

    I'm going to go back to an analogy that I used elsewhere that you seem to have completely ignored, just like everything else that isn't code that you can copy and paste without putting any thought...
  22. Re: Create a table in a class that inherits from another class. vb.net

    What you're doing wrong is exactly what I told you on two other sites that you're doing wrong. You are creating an array but you never put anything into the elements, then you expect to be able to...
  23. Re: Question regarding upgrading from 4.0 framework

    You're unlikely to see any performance gains for the same code other than in some very specific scenarios where the relevant Framework code has actually been updated by Microsoft. The biggest...
  24. Replies
    6
    Views
    321

    Re: .NET Framework 4.0 for Windows XP PE

    It certainly has nothing to do with VB.NET as asked, so it either belongs in General Developer or maybe even General PC or the question that actually needs to be answered hasn't actually been asked.
  25. Re: How can I put a code in the print event of the detail section in crystal report?

    You don't put code in an event. You put code in an event handler, which is just a method with an appropriate signature and registered to handle an event. Is there an event to handle? Have you looked?...
  26. Replies
    3
    Views
    181

    VS 2019 Re: progressbar math

    If you issue is resolved, please use the Thread Tools menu to mark the thread Resolved. That way, we can see that you don't need any more help without opening and read the whole thread.
  27. Replies
    6
    Views
    321

    Re: .NET Framework 4.0 for Windows XP PE

    This question has nothing at all to do with VB.NET. I have asked the mods to move it to a more appropriate location.
  28. VS 2019 Re: Optimizing VB.NRT code with Stringbuilder

    There is an overhead associated with a StringBuilder so it actually requires about a dozen substrings before using one is advantageous with regards to performance. Even if you are using more than...
  29. Replies
    5
    Views
    203

    VS 2019 Re: display label relative to textbox

    You have left out a significant amount of relevant information but, if the assumptions I'm forced to make are correct, you don't need any code at all. Just use the Anchor properties of the controls....
  30. Re: Getting the selected item in a ListView control

    Look at the title of this thread. What does that question have to do with that topic? Nothing. Please keep each thread to a single topic and each topic to a single thread. If you have a question on a...
  31. Re: Getting the selected item in a ListView control

    This is an issue that a lot of people encounter because the ListView works differently to other controls in this regard. If an item is selected and then you select a different item, the...
  32. Thread: test

    by jmcilhinney
    Replies
    1
    Views
    224

    Re: test

    Please don't use Chit Chat for testing. There is a specific forum dedicated to testing site features here.
  33. Replies
    5
    Views
    269

    Re: Fill a Data Table

    To be clear, you have a String with 670 characters and you want to populate the grid with 10 columns and 67 rows with one character in each cell, correct?
  34. Replies
    5
    Views
    269

    Re: Fill a Data Table

    First things first, this:
    table.Columns.Add("10", Type.GetType("System.String"))
    would be better done like this:
    table.Columns.Add("10", GetType(String))
  35. Replies
    24
    Views
    597

    VS 2013 Re: Issue with registry editing

    Was it, perhaps, that the developer made the Registry change under the CurrentUser hive, rather than the LocalMachine hive, like I suggested in post #6?
  36. VS 2019 Re: Using a menu item to clear everything, but text in a textbox

    I would think that this would do the job:
    myTextBox.Text = New String(myTextBox.Text.Where(Function(ch) Char.IsLetterOrDigit(ch)).ToArray())
    A String is an IEnumerable(Of Char) and the Where method...
  37. VS 2019 Re: Original DataTable columns after LINQ query

    You have two choices. You can group by all of the first three columns instead of just the first, in which case the col1 and col2 values will be part of your key. Alternatively, you can get the col1...
  38. Re: [RESOLVED] Arrays- Sorting and initialization

    It has come in handy at times, when you want to loop over a list and one other thing as well. I suspect that it was added later because people were having to use Concat with a second list of one item...
  39. Re: [RESOLVED] Arrays- Sorting and initialization

    I admire your confidence but don't bet the farm on that. ;)
  40. Re: [RESOLVED] Arrays- Sorting and initialization

    I'm so used to just targeting the latest, I forget to consider versions sometimes. I'm not sure why anyone doesn't target the latest unless they have a specific reason to do otherwise.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width