Search:

Type: Posts; User: jmcilhinney

Page 1 of 13 1 2 3 4

Search: Search took 5.30 seconds; generated 31 minute(s) ago.

  1. Re: Empty Path Name Is Not Legal Error help

    Personally, I'm not going to spend time trying to help someone with that attitude. You can't figure out how to check whether a variable has a value? You're just not trying.
  2. Re: Empty Path Name Is Not Legal Error help

    I would question why you're even calling that method at all if no file has been selected. In that case, presumably filename must either be Nothing or String.Empty, neither of which can possibly do...
  3. Re: Empty Path Name Is Not Legal Error help

    Firstly, ShowDialog returns a DialogResult value so you should be comparing the result to a value of that type. You should turn Option Strict On and start using the correct data types.

    As for the...
  4. Replies
    15
    Views
    258

    Re: VB app takes long time to load

    If you can't find anyone to do it for you, delete all the obj and bin folders from your solution, zip it up and attach it here. Someone here may well be willing to test it for you.
  5. Replies
    15
    Views
    258

    Re: VB app takes long time to load

    What you think isn't really relevant. Find out what actually is the case, so we don't waste our time trying to find another cause that doesn't exist.
  6. Replies
    15
    Views
    258

    Re: VB app takes long time to load

    It sounds like an issue with your system rather than this application. Try the same project/application on a different machine and see whether it behaves the same. If it doesn't then obviously it's...
  7. Replies
    3
    Views
    106

    VS 2019 Re: Using MysqlBulkloader

    Also courtesy of the documentation, there's a Columns property that is a List(Of String) that contains the column names. You add the names of the columns you want populated to that, e.g.
    Dim loader...
  8. Replies
    3
    Views
    106

    VS 2019 Re: Using MysqlBulkloader

    I've never used the MySqlBulkLoader class - I'd never even heard of it before reading your post - but a web search led me to the documentation and about 30 seconds of perusing that led me to the...
  9. Replies
    3
    Views
    106

    VS 2019 Re: Using MysqlBulkloader

    I suggest that you download and install Instant VB from Tangible Software Solutions. It is the best C# to VB converter I have seen and will probably do anything you need. If there are any issues with...
  10. Re: Stop Mediaplayer Or Pause from Form1. Mediaplayer is active on Form2 Syntax VS13

    Can you control the media player with code in Form2? If so then this question is not about controlling a media player from Form1 but simply how to call a method of Form2 from Form1. You simply put...
  11. VS 2012 Re: [RESOLVED] Want to hijack a SqlDataReader class so it can be sourced from multipl

    Pondering the change in declaration of the Close method, my guess would be that they made the change so that you aren't forced to implement the Close method if you don't actually need to close...
  12. Replies
    8
    Views
    493

    Re: How do I create a database?

    I didn't even notice the age of the thread, or the name of the poster for that matter. I just assumed that it was the OP replying to a recent thread. It never occurred to me that anyone would be...
  13. Replies
    7
    Views
    186

    VS 2017 Re: Sorting Numbers in Textbox

    So your issue is actually nothing to do with sorting and actually just displaying text in a TextBox on multiple lines. Just put your values into a collection and then use String.Join to combine it...
  14. Replies
    7
    Views
    186

    VS 2017 Re: Sorting Numbers in Textbox

    You seem to have missed that part.
  15. Replies
    7
    Views
    186

    VS 2017 Re: Sorting Numbers in Textbox

    There's a lot wrong there. NEVER post JUST a screenshot. Code is text so you should post it as text, formatted as code. That way, we can read it without a magnifying glass and, most importantly, we...
  16. Replies
    8
    Views
    493

    Re: How do I create a database?

    Then stop being arrogant. It's against the rules of this site to ask the same question in multiple threads because it's a great way to waste the time of people who are volunteering their time to help...
  17. Re: Create a Database Programmatically and

    The database is master, which is also the default if a database isn't specified. You generally wouldn't connect to an existing database to create a new database.
  18. Re: Create a Database Programmatically and

    For future reference, please don't post only pictures of error messages. You can provide a picture as well, if it adds some value, but you should ALWAYS provide the error message as text. If we want...
  19. VS 2012 Re: [RESOLVED] Want to hijack a SqlDataReader class so it can be sourced from multipl

    I just checked the documentation and, in fact, the declaration was changed in .NET Framework 4.6. It was introduced to .NET Core in version 2.0 and it was virtual there, so maybe they decided to fix...
  20. VS 2012 Re: [RESOLVED] Want to hijack a SqlDataReader class so it can be sourced from multipl

    Hmmm... something funny going on there. That error message suggests that the DbDataReader.Close method is declared abstract (the C# equivalent of MustInherit) but, as you can see from the code in...
  21. VS 2012 Re: [RESOLVED] Want to hijack a SqlDataReader class so it can be sourced from multipl

    That's not true. The code in post #24 was copied directly from the source code for the DbDataReader class. How could you override a method in the first place if it didn't exist in the base class?...
  22. VS 2012 Re: [RESOLVED] Want to hijack a SqlDataReader class so it can be sourced from multipl

    Your Close method should not be calling the base Dispose method. It should be calling the base Close method. Generally speaking, you can override a method to replace it or extend it. In the former...
  23. VS 2012 Re: [RESOLVED] Want to hijack a SqlDataReader class so it can be sourced from multipl

    That would be the wrong thing to do. If you do that then calling Close will not actually do anything useful. As we have already established, calling Dispose invokes the Close method but not vice...
  24. VS 2012 Re: [RESOLVED] Want to hijack a SqlDataReader class so it can be sourced from multipl

    That's correct. The work gets done in the Close method. If the code calls Close then that's it. If the code calls Dispose, as would be done with a Using block, then Dispose will call Dispose(Boolean)...
  25. VS 2012 Re: [RESOLVED] Want to hijack a SqlDataReader class so it can be sourced from multipl

    Actually, my previous post is true in general but not quite in this case. Here's the IDisposable implementation from the DbDataReader class, taken from the source code I linked to earlier:


    ...
  26. VS 2012 Re: [RESOLVED] Want to hijack a SqlDataReader class so it can be sourced from multipl

    You don't overload the Dispose method. You override the Dispose(Boolean) method. Here's a basic disposable class:

    Public Class Class1
    Implements IDisposable

    Private disposedValue As...
  27. Re: How can I create an executable app within an app

    Start here:

    https://www.bing.com/search?q=.net+codedom

    A lot of relevant information will likely relate to C# but everything will be the same or similar for VB.
  28. Replies
    4
    Views
    181

    VS 2015 Re: [RESOLVED] Dock panel above menustrip

    The order in which controls dock to edges is determined by the z-order. That is the same order that determines which control appears in front and which behind when they overlap. Controls that would...
  29. Re: Visual Studio 2017 How to create a individual setup grouping 3 applications .net

    By the way, this is a deployment issue, not a VB issue, so I have asked the mods to move this thread to Application Deployment. Please post in the most appropriate forum for the subject of the thread.
  30. Re: Visual Studio 2017 How to create a individual setup grouping 3 applications .net

    ClickOnce is the only deployment technology built into VS by default these days. You used to be able create a Windows Installer Setup project but that was removed some time ago, in favour of a...
  31. Re: How can vb6 program be opened in browser

    You might start by posting in the correct forum. CodeBank forums are not for asking questions. I have asked the mods to move this thread. Please do not create a duplicate in the mean time.
  32. VS 2010 Re: [RESOLVED] Incremental generation is slow even for small values

    No need to even use a StringBuilder. Just do something like this:

    Dim numbers = Enumerable.Range(1, 10).Select(Function(n) n * 10 + 1)

    TextBox4.Text = String.Join(" ", numbers)

    The range can...
  33. Replies
    530
    Views
    16,634

    Re: The US fragile democracy Exposed

    I agree, and many Republicans in particular make that argument. It's a dishonest argument in their case because they don't want the states to set a minimum wage either. It would be better if the...
  34. VS 2010 Re: Insert same repeated characters among words

    So something other than what you actually asked for in the first post then? Perhaps you should provide all the relevant information up front. That way, we won't be forced to guess or assume and then...
  35. Re: Fetch time from database and schedule task in Azure at that perticular time

    We use Azure Functions for scheduled tasks in the Azure environment. We specify the schedule in the project though. I'm not sure how to specify the schedule dynamically but it may be possible. Are...
  36. VS 2019 Re: Where can I initialize an array that can be accessed from the whole form?

    Just like any other variable, if you want to access your array variable in multiple methods then you need to declare outside all methods, i.e. you need to declare a member variable rather than a...
  37. Replies
    21
    Views
    615

    VS 2013 Re: Error

    Text is a member of the Control class so there's no need to cast a Control reference as any other type in order to set the Text property.
  38. Re: vb.net combine multiple text files

    If your issue is resolved, please use the Thread Tools menu to mark the thread Resolved so that we don't have to open it and read the whole thing to find out that you no longer need help.
  39. Replies
    530
    Views
    16,634

    Re: The US fragile democracy Exposed

    I have to agree with you here. Any solution to any problem that doesn't fix every other problem should not even be considered.
  40. Replies
    530
    Views
    16,634

    Re: The US fragile democracy Exposed

    That Microsoft was evil for abandoning VB6, no doubt.
Results 1 to 40 of 484
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width