Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 3.74 seconds.

  1. Re: Computer monitoring system via Asynchronous TcpListener & TcpClient

    Different error for a different reason. The issue you originally asked about has been resolved so you should mark this thread Resolved, using the Thread Tools menu, and create a new thread for the...
  2. Re: How to ensure that a form is displayed on top?

    Please tell me it was in a galaxy far, far away. ;)
  3. Re: datagrid, arraylist System.IndexOutOfRangeException error

    Start a new thread and provide all the relevant details, including exactly what the user and/or the application is doing when the exception is thrown.
  4. Re: VB 2020 net 6.0 | WebView2 | have old code, dont work on new webview2 Need hel

    When you see a method with a name that ends with Async, it most likely returns a Task(Of T). Where a synchronous method would return an object of type T, an asynchronous method returns a Task(Of T),...
  5. Re: VS 2022 - PowerPacks - Printing - Printform & ReportViewer

    I don't think that you can get an official download from Microsoft any more but, if you search online, you should be able to find third-party download links. I cannot vouch for any of them though....
  6. Re: Computer monitoring system via Asynchronous TcpListener & TcpClient

    I would also suggest that you could simplify your code considerably. This:
    TcpClient client = clients.Select(c => new { client = c, host = c.Value }).Where(x => x.host.Equals(host)).Select(x =>...
  7. Re: Computer monitoring system via Asynchronous TcpListener & TcpClient

    The specific issue is that you are calling First on a sequence with no items. If there's a chance that the sequence is empty then you need to call FirstOrDefault and then check whether the result is...
  8. Replies
    15
    Views
    731

    Re: [RESOLVED] Loading a listbox

    Sure, but that's not what is being suggested.
  9. VS 2019 Re: MouseOver Event doesn't work when object hidden

    You can see an example of what .paul. is talking about here. There are plenty of other examples around but just be aware that many of them lazily call CreateGraphics, which is something you should...
  10. Replies
    15
    Views
    731

    Re: [RESOLVED] Loading a listbox

    If your aim is efficient storage of data then your original idea would seem great. Why should that be your aim though? Do you not have much storage space available? Efficient processing of data...
  11. Replies
    5
    Views
    271

    VS 2019 Re: Number of lines in a sequential file

    You would probably be better off with this:
    IO.File.ReadLines("path").Count()
    Your code doesn't use the data read from the file so why create an array containing it all? That would be especially...
  12. VS 2017 Re: How would I complete this recursion algorithm?

    Algorithms are language independent, so what programming languages you do or don't have experience with is irrelevant, if you really are asking for help with an algorithm. If what you're really...
  13. VS 2019 Re: Help. Can't reset ComboBox to default text.

    Do you want the user to be able enter arbitrary text or do you just want them to be able to select from the drop-down list? If the latter, you probably ought to set the DropDownStyle to DropDownList....
  14. Replies
    15
    Views
    731

    Re: Loading a listbox

    I doubt that you'll find a DBA on the planet to agree with you, nor many application developers.
  15. VS 2019 Re: Help. Can't reset ComboBox to default text.

    Is the DropDownStyle set to DropDown or DropDownList?
  16. Replies
    24
    Views
    872

    Re: problem in webvew

    One wonders why you came here at all if you can do that now. The problem here is that we want to help you but you won't even consider the possibility that you're not doing enough to enable us to do...
  17. Re: Why VB.NET Power Function is so fast ?

    Except not. Why a VB.NET method is as fast as it is is a 100% VB.NET question. How to make a VB6 function faster is a 100% VB6 question. Two different questions on two different languages, both of...
  18. Re: Why VB.NET Power Function is so fast ?

    So what? Should we just do away with the VB6 forum and have all VB6 questions poste3d in the VB.NET forum because "many people proficient VB.NET at the same time proficient VB6"? There is a...
  19. Re: Why VB.NET Power Function is so fast ?

    Your title says:

    Is that really the question you want answered? In your post you ask this:

    Which is a completely different question and something that should be asked in the VB6 forum, not the...
  20. VS 2015 Re: How To Define Variables In Public Class. VB.NET

    I'm guessing that, in this case, ReadOnly properties would be more appropriate, as the values are probably being read from outside the form but not set.
  21. VS 2015 Re: How To Define Variables In Public Class. VB.NET

    Nope. The field declarations and their initialising expressions are executed before the class constructor, so before the InitializeComponent method is executed, so before the TextBoxes are created.
  22. VS 2015 Re: How To Define Variables In Public Class. VB.NET

    While that will at least not throw an exception, there's no point to getting data from a control in the Load event handler because the user can't have entered any data before the form has been...
  23. Replies
    15
    Views
    731

    Re: Loading a listbox

    That all sounds like a very bad idea. Firstly, you don't need multiple columns. You just need one column in another table. The whole point of a relational database is the relations. You can have a...
  24. Replies
    15
    Views
    731

    Re: Loading a listbox

    Your actual question is how to split a String based on a specific format. You can't add that String to the ListBox as it is because that would require the ListBox to know how to split it out into...
  25. VS 2019 Re: NoNullAllowedException error handling

    I don't often use a BindingNavigator but I'm fairly sure that you can handle the Click events of the Buttons and cancel the navigation, so you could validate the current record and only allow...
  26. VS 2019 Re: System.Data.OleDb.OleDbException: 'Syntax error in INSERT INTO statement.' Error

    Actually, taking another look at your code after Shaggy added the CODE tags, I can now see that you have two commas between two of the values. I couldn't see that without the formatting tags, which...
  27. VS 2019 Re: System.Data.OleDb.OleDbException: 'Syntax error in INSERT INTO statement.' Error

    You also have every value wrapped in single quotes when that should only be done for text values, so you might have encountered a data type mismatch if you hadn't encountered a syntax error. If you...
  28. VS 2019 Re: System.Data.OleDb.OleDbException: 'Syntax error in INSERT INTO statement.' Error

    It seems to be the same story every time with this sort of error. People tell us that they have a syntax error in their SQL code and then don't show us their SQL code, which suggests that they...
  29. VS 2017 Re: Unable to add and Delete controls Programmatically in .NET forms

    If you want to remove a specific Panel then you obviously need to be able to uniquely identify it. How exactly do you propose to do that? Is the user clicking a Button on that Panel to remove it? In...
  30. Re: Is somebody backing up the MSDN reference documentation?

    This may be everything:

    https://docs.microsoft.com/en-us/windows/win32/api/
  31. Re: Is somebody backing up the MSDN reference documentation?

    All that information appears to have been migrated to the Microsoft Docs site.

    https://docs.microsoft.com/en-us/windows/win32/winmsg/window-reference

    Actually, I just realised that that may...
  32. Thread: Formatting

    by jmcilhinney
    Replies
    8
    Views
    343

    VS 2010 Re: Formatting

    That seems fair enough. You're not going to get your thread deleted just by adding a post to it though. Only moderators can delete threads and there's a fair likelihood that they'll never see that...
  33. Thread: Formatting

    by jmcilhinney
    Replies
    8
    Views
    343

    VS 2010 Re: Formatting

    Requesting for the original question to be reinstated.
  34. Re: [RESOLVED] Select DatagridView Row Header.

    The headers of both rows and columns are considered cells, with indexes of -1 if I'm not mistaken. If you filter for a column index of >= 0 in your CellEnter event handler then I think that you would...
  35. Re: [RESOLVED] DataGridView Cell value when using Timer to trigger an event.

    You've marked this thread Resoloved and this is a different issue anyway, so you should start a new thread specifically for this new question.
  36. Re: [RESOLVED] DataGridView Cell value when using Timer to trigger an event.

    You probably ought to give a bit more thought to whether that is actually the correct solution. It may be, but it may not be.

    The way a DataGridView is designed, it contains no controls by...
  37. Replies
    9
    Views
    315

    Re: StreamWriter in vb.net

    Note that you can also specify the VB language version in a newer IDE if you want to make sure that you only support language features up to a specific version.
    ...
  38. Replies
    9
    Views
    315

    Re: StreamWriter in vb.net

    That's fair enough, but you also deny users of newer versions better solutions. Probably the best option is to provide the optimal solution but mention if it requires later versions, then include an...
  39. Thread: Formatting

    by jmcilhinney
    Replies
    8
    Views
    343

    VS 2010 Re: Formatting

    Please don't delete your original post. How does that help anyone? Any subsequent posts now have no context and anyone with a similar problem can't possibly be helped. What you should do is post your...
  40. Replies
    32
    Views
    820

    Re: Reference a .NET DLL in VB5

    In that case, you certainly can use the Community edition of VS, which, if I'm not mistaken has been available since 2012. Unless you have a specific reason to do otherwise, I would suggest using at...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width