Search:
Type: Posts; User: jmcilhinney
Search:
Search took 5.30 seconds; generated 31 minute(s) ago.
-
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.
-
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...
-
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...
-
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.
-
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.
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
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...
-
You seem to have missed that part.
-
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...
-
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...
-
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.
-
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...
-
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...
-
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...
-
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?...
-
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...
-
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...
-
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)...
-
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:
...
-
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...
-
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.
-
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...
-
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.
-
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...
-
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.
-
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...
-
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...
-
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...
-
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...
-
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...
-
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.
-
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.
-
I have to agree with you here. Any solution to any problem that doesn't fix every other problem should not even be considered.
-
That Microsoft was evil for abandoning VB6, no doubt.
|
Click Here to Expand Forum to Full Width
|