Search:
Type: Posts; User: si_the_geek
Search:
Search took 5.74 seconds.
-
It would depend on the software at the other end, which presumably varies.
Good software wouldn't care about caps (as some users wont get it right, which could cause complaints), but it is...
-
The message "too many arguments" means that you are passing too many values to the method (ie: you have more items inside the brackets than you are allowed).
In this case you have only one item...
-
You can't reference controls before they are created, and the declarations section actually runs before the controls are created.
Set the value of yb in the Load event instead.
-
What you are describing there sounds like it might be what is often called "shrink-flation" (less product for the same price), but it might also just be that they altered the packaging to make it...
-
While there is certainly truth in that, the idea of vaccinating people as soon as possible (and therefore not all of them at once) means that you are basically removing some of that flaming trash.
...
-
What you were using in VB 6 was Control Arrays, but they don't exist in the same way in VB.Net (there are several variations that give you more options).
For this kind of thing you can simply...
-
When mixing And/AndAlso with Or/OrElse, use brackets where appropriate to indicate how they should be grouped (this ensures the behaviour you want, and helps readability).
Your If statement could...
-
It was a shame Max couldn't keep it on track at the critical moment, but it was great to see close competition at the front.
I also liked the fact that my team McLaren did well, and should be...
-
You certainly aren't the first to make that mistake - the naming of variations is all a bit confusing!
I have now moved this thread to the 'Office Development/VBA' forum.
-
-
Thread moved to the 'General Developer' forum.
-
Welcome to VBForums :wave:
I have moved this thread from the 'VBScript' forum (for .vbs files etc) to the 'VB.Net' (VB2002 and later) forum
-
I agree, nearly all countries did noticeably better than the US and UK.
Despite the WHO making a very big deal of testing, we didn't have the testing system to make it work... and didn't get that...
-
In several countries (including the UK and US) masks would have been in very short supply if they had been advised from the start.
Here the NHS couldn't get enough equipment, and needed...
-
In that case it doesn't sound like a DLL is an appropriate solution.
Changing a DLL is almost identical to changing the main program, and this extra work to link the two is just adding extra...
-
Welcome to VBForums :wave:
Thread moved to the 'Application Deployment' forum, which is where questions about installing/distributing your software belong
-
You can't change a project between .Net Core and .Net Framework - if you pick the wrong one, you need to create a new project using the right one.
Be wary of the project type you create, one that...
-
What you want is a User Control, which you can add via the Project menu.
You can position controls (and write code) as if it is a form, and then when you Build the project it will be added to the...
-
Welcome to VBForums :wave:
Go to the home page of our site: https://www.vbforums.com/forum.php
..then pick the forum that is most appropriate for your question, and click on it.
When the...
-
Welcome to VBForums :wave:
Thread moved from the 'CodeBank VB.Net' forum (which is for you to post working code examples, not questions) to the 'VB.Net' forum
-
Base your code on TysonLPrice's example, especially including ReleaseComObject and using that - as that is what should ensure that Excel closes.
-
An array (or an alternative such as a List()) needs to store the items within it, plus a small amount of extra data for itself.
It should be noted however that the extra memory usage is totally...
-
Welcome to VBForums :wave:
This style isn't valid:
ElseIf Grade >= 50 < 60 Then
You need to write it out more fully, like this:
ElseIf Grade >= 50 And Grade < 60 Then
-
Tthe only new information that seems relevant is that you don't seem to have a variable/property that refers to the control, so you need to get it somehow, perhaps something like this:
Dim UC1 as...
-
You should not use an Event for this, a Property is the way to go.
To understand the difference between the two, think about a TextBox:
the .Text property allows you to set/read the text
the...
-
Welcome to VBForums :wave:
In UserControl1 create a Property to set the text of the label. If you don't know how, see this: ...
-
Welcome to VBForums :wave:
Initially a List(of ...) is not set to anything (it is not even an empty list), so you need to initialise it appropriately by assigning an empty list to it.
You can...
-
Assuming that the values that end up in updatestockquery look OK to you, try using a different format for the date values.
Instead of:
"yyyyMMdd HHmmss"
try:
"yyyy-MM-dd HHmmss"
or:...
-
What are the values in Cells[10] and Cells[8] when the issue occurs?
-
The code in Timer1_Tick moves it up
The code in PictureBox1_LocationChanged checks if it has moved down past a certain point (which it wont have, because it is moving up).
You probably want...
-
Welcome to VBForums :wave:
Thread moved from the 'VB.Net' forum to the 'Office Development/VBA' forum... note that while it certainly isn't made clear, the "VB Editor" in Office programs is...
-
You can simplify it using an array and a loop, eg:
Private Sub StateColor()
Dim controlsToColor() as Textbox = {tbALMiles, tbAKMiles, tbAZMiles,
...
-
You can just add a Join to the SQL statement, and return the appropriate field, eg:
SELECT STATE, ISNULL(SUM(MILES),0) AS TOTAL_MILES, ISNULL(SUM(GALLONS),0) AS...
-
If I was the successor I would prefer it had been changed, but would understand if it wasn't.
Doing a few at a time (and potentially giving up after a while) is certainly a valid approach :)
-
Those two code blocks can be changed to these variations:
frmCustomerService frmCustomerService = new frmCustomerService(txtCustNo.Text, tab, sdc)
{
StartPosition =...
-
Debugging is examining what happens as the code runs, for example seeing which parts of the code actually run (due to If statements etc), what the values of variables etc are, and so on.
There is...
-
I'm fairly certain he wont do anything dangerous himself (he doesn't want to look bad), but I am concerned about what he will inspire his fans to do.
The amount of weaponry they turned up with the...
-
I think that is one of the features you get as a PowerPoster (2000+ posts)
-
Time for some good news... Twitter has permanently banned Trumps account.
I wonder what he'll do with his time now, does he still have access to the Nukes? :eek:
-
If you only call it once in total then it doesn't matter.
If you might ever call it more than once while the program is running, then Delaney's suggestion is better (and the other is dodgy).
...
|
Click Here to Expand Forum to Full Width
|