Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 5.29 seconds.

  1. Re: Hand cursor (VB) doesn't follow Link cursor (System)

    Perhaps you could provide a series of steps that we could follow to reproduce the issue.
  2. Replies
    14
    Views
    322

    Re: Retrieving lost files

    The online version of TFS became Azure DevOps, which is Git-based. I'm not sure whether they have or are transitioning TFS to Git as well. There used to be a TFS Express but I'm not sure that that...
  3. Replies
    14
    Views
    322

    Re: Retrieving lost files

    For the record, source control will allow you to revert to any previous committed state - including before some or even all files were deleted - and branching is built right in. For instance, if you...
  4. Replies
    14
    Views
    322

    Re: Retrieving lost files

    This isn't really a VB issue because the type of files makes no difference to whether the OS can recover them. What I will say is that you should have been using source control in the first place, in...
  5. Replies
    3
    Views
    164

    VS 2012 Re: ListBox items will add infinitely

    You should turn Option Strict On immediately. It would have refused to compile that bad code and you would have then been forced to find out why it was bad and fix it. If you had read the...
  6. Re: Error on creating user control object

    You should be using source control to begin with. You can get a free Azure DevOps account and support is built right into VS. It also supports GitHub, any other Git provider and many other source...
  7. VS 2019 Re: DataGridView Autocomplete TextBox

    My comment was nothing to do with the Select Case statement. It was about the DataTable.Select method.
  8. Re: Error on creating user control object

    You're obviously doing some bad maths to get that text in the first place. I suspect that you are doing a percentage calculation somewhere and converting the result to a String but the result is...
  9. Re: Adding a Reference to a Library class in VB Net (Foundation)

    You say that you have imported the namespace but the error message is specifying the fully-qualified name. The whole point of importing the namespace is so that you don't have to qualify the name....
  10. Re: Adding a Reference to a Library class in VB Net (Foundation)

    That all sounds in order. I just did the same thing and and it all worked for me.

    181439
  11. Re: Is there any way to get tabs control have a dark background?

    There are a number of actual ribbon controls available out there. Why not use one of those?

    Anyway, you can't just change a property to change the appearance of the tabs but you can set the...
  12. VS 2019 Re: DataGridView Autocomplete TextBox

    One issue I can see with Select is that it will always check every row, because it returns an array that can contain multiple matches, while my code stops searching when it finds the first match. If...
  13. Re: Is there any way to creat a multidimensional array in my data object

    If you want to use a property with two indexes then do exactly that. An example is the Item property of the DataGridView class, which will return a cell by column name and row index or by column...
  14. Re: Is there any way to creat a multidimensional array in my data object

    Firstly, there's no 2D array there. You are using a jagged array, i.e. a 1D array of 1D arrays. This is a 2D array:
    Dim matrix As Object(,)
    This is a jagged array:
    Dim matrix As Object()()
    With a...
  15. Re: Adding a Reference to a Library class in VB Net (Foundation)

    Is your project targeting .NET Framework or .NET Core and which version? Note that .NET 5.0 is .NET Core. EXACTLY what steps did you follow to add the reference and did you also import the namespace?
  16. Replies
    2
    Views
    153

    VS 2019 Re: Desktop Application with SignalR

    Do some reading on SignalR. We have no idea what you know and what you don't know at the moment. It's not really our job to teach you from scratch and it's a waste of time to tell you what you...
  17. VS 2019 Re: DataGridView Autocomplete TextBox

    Forget about auto-complete. In order to complete something automatically, there has to be something to complete. If your grid is read-only then there's no data being entered so there's nothing to...
  18. Replies
    3
    Views
    152

    Re: Trying to understand C# XAML

    You seem to be conflating things here. It appears that what you're actually comparing is Windows Presentation Foundation (WPF) and Windows Forms. Both technologies use VB or C# code, but WPF also...
  19. Re: Reflection getting property names returns base class properties last

    I can't imagine how that would be possible through simple Framework functionality. You're talking about IPC, for one thing.
  20. Re: [RESOLVED] Reflection getting property names returns base class properties last

    I accept chocolate in lieu. You can email it and I'll 3d-print it. ;)
  21. Re: [RESOLVED] Reflection get default property value set at design time

    If you wanted to sort on property values then, at some point, you'd have to be calling GetValue on a PropertyInfo object. If it was an instance property then you'd have to have an instance to get...
  22. Replies
    10
    Views
    247

    Re: Displaying images

    Create an Image object however is appropriate and display it in a PictureBox. Simple. If you want a thumbnail, call GetThumbnailImage on that Image object. Also simple.

    For future reference, you...
  23. Re: Reflection getting property names returns base class properties last

    The properties are always going to come back that way because that's how the Type class is implemented. GetProperties will return properties declared in the specific type under investigation first,...
  24. VS 2019 Re: VB.Net - How do I make a 'TopMost' toggle button with a checkbox?

    Maybe you could try it and see for yourself. Your arms aren't painted on. The reason you weren't just given code to copy and paste in the first place was so you would put some thought and effort into...
  25. VS 2019 Re: Using a menu item to clear everything, but text in a textbox

    Perhaps you could provide a detailed description of the behaviour you expected and the behaviour you saw and how they differed. You could even provide an example or two. That way, we wouldn't have to...
  26. Replies
    7
    Views
    203

    Re: Setting option buttons to false

    I would agree that RadioButton isn't necessarily the best name as far as being descriptive, given how many people probably have no clue about the origin of the name. That said, the name is the name...
  27. Replies
    7
    Views
    203

    Re: Setting option buttons to false

    Presumably you mean RadioButtons. It's a good idea to use the correct names for things to avoid confusion.

    The issue is that one of your RadioButtons is the first control in the Tab order. The...
  28. Replies
    3
    Views
    132

    Re: seperating strings (again)

    You already know what IndexOf gets the index of the first occurrence. When you looked at the documentation for yourself, did you find a similar method that gets the last index?
  29. Re: How can I find a integer array key in a dictionary

    In case any of the LINQ code was confusing, here's a version that doesn't use any LINQ:

    Public Class IntegerArrayEqualityComparer
    Implements IEqualityComparer(Of Integer())

    Public...
  30. Re: How can I find a integer array key in a dictionary

    All arrays are instances of the Array class, which means they are reference types. Just like any other reference type, the default when matching keys in a Dictionary is to use reference equality,...
  31. VS 2019 Re: my.settings - Missing ApplicationSettings so unable to do bindings

    No, that's the problem in the first place. You'll create a new .NET Framework 4.8 project, if you want to use that functionality.
  32. VS 2019 Re: my.settings - Missing ApplicationSettings so unable to do bindings

    You have created a project that targets .NET Core rather than .NET Framework. .NET 5.0 is .NET Core, although they have dropped the Core suffix from the name because that's all there is going to be...
  33. Replies
    12
    Views
    378

    VS 2019 Re: How to simplify and compress code?

    Fair enough, but there are two TextBoxes per CheckBox, so that means either two Dictionaries keyed on the same CheckBoxes or one Dictionary where the values are some type that contains two TextBoxes,...
  34. VS 2019 Re: [RESOLVED] Adding a parameter to the ColumnChanged event

    myArgs is a method parameter, not a type. It's type is determined by the event being handled. If the event being handled is DataTable.RowChanged then the second parameter of the event handler is type...
  35. Replies
    12
    Views
    378

    VS 2019 Re: How to simplify and compress code?

    If you wanted to use the numbers in the control names instead of arrays then here's the code from my previous post modified to do that:

    Private Sub CheckBoxes_CheckedChanged(sender As Object, e As...
  36. Replies
    12
    Views
    378

    VS 2019 Re: How to simplify and compress code?

    There are multiple ways this could be done. Here is an example of just one of them:

    Private checkBoxes As CheckBox()
    Private textBoxes As TextBox()

    Private Sub Form1_Load(sender As Object, e...
  37. VS 2019 Re: Adding a parameter to the ColumnChanged event

    The point of the first link is that you don't have an event handler method in your module. You have a regular method in your module and then you use Lambda as the event handler and call that method...
  38. Re: define application installation folder

    If you use the Publish feature in VS then you are using ClickOnce. ClickOnce apps are installed to the ClickOnce cache. If you want to be able to control where the application is installed then don't...
  39. Replies
    12
    Views
    378

    VS 2019 Re: How to simplify and compress code?

    As tg says, you can handle multiple events with a single method. If you then proceed to use a Select Case or If statements to do different things for each event though, it's pointless. You need to...
  40. Re: How do I add a field to a datatable?

    I assume that you have created a typed DataSet with table adapters. In that case, you open the Data Sources window and refresh the data source from the database. There's a button on the toolbar but I...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width