This Microsoft article explains how to create a .Net alternative for control arrays https://msdn.microsoft.com/en-us/library/aa289500(v=vs.71).aspx
and took maybe 10 seconds to find on Google.
Additionally, my Google search listed several such articles, and it has probably already been...
Just to throw a spanner in the works:-
UK postcodes do not need a space between the two parts and as far as I am aware, with one exception (Girobank) have the following format:
AN NAA
ANN NAA
AAN NAA
AANN NAA
ANA NAA
AANA NAA
where A is a letter and N is a number.
The second part is always...
I didn't notice the "Please don't treat me like an idiot as other forms have.. ta" line initially.
I agree with both Andrzejek and SkipVought and would also draw you attention to the two links at the bottom right of each post. The first is self explanatory, but the second is there to enable you...
Sorry, I omitted mentioning that when there is data that needs to be copied in the way you require, I tend to create a class with properties to hold the data and therefore quickly and easily load it into each relevant control. The controls can be populated on each individual form's load event.
I've used the option suggested by Andrzejek many times in the past. However I normally use that for just a few common controls. When a lot of common controls are involved I tend to create a new form containing just those controls and subsequently inherit from it and add any additional controls...
Dim mi As ToolStripMenuItem = New ToolStripMenuItem(ServicesName)
AddHandler mi.Click, AddressOf ServicesTypeToolStripMenuItem_Click
ServiceTypesToolStripMenuItem.DropDownItems.Add(mi)
The above is a snippet from a Services Management program that I have written.
Line 1 creates a new...
If each of the forms from Appt_New onwards are dialogs, then ultimately as they are closed you will return to the main form where you can update the grid from the db.
What you can do depends almost entirely on the licence agreement you have with the third party company.
You may be able to distribute programs you write royalty free (or you may have to pay a royalty to the third party company - this would affect your charges to your client). It is vey unlikely...
Not having your device I haven't tested this, but ....
I've run your c# through one of the converters that I use and the VB is slightly different from yours ......
By the way, you may need to change the Property named Type to [Type], because I think Type is a reserved word.
Imports...
As an alternative - SQL Server 2014 Developer Edition DOES have the Agent AND is now FREE (as is SQL Server 2016 Developer Edition - but this is a much more stressfull install!!)
I've not used Linq, but am interested in getting to know how it works.
As such I have question based on the above answer:
Would the following be possible?
var minCars = Cars.Where(c => c.Amount == Cars.Min(c => c.Amount));
I've just reread your first paragraph. When I've tried to install an earlier version of Visual Studio whilst I've got a newer version installed I've had major problems. I needed to reinstall VS 2012 Ultimate (or whatever that version was called) after I'd installed 2013 Community because I...
One solution might be to do a COMPLETE uninstall of the SQL Server(s). Using Windows uninstall (Programs and Features) leaves a lot of junk behind especially in the Resgistry. I use IOBIT Uninstaller which cleans out almost all of the Registry entries and temp files and makes subsequent clean...
I've found that on Windows 10. It didn't happen on previous versions of Windows. On 10 a number of "Automatic" Services don't always start, so I've written a simple program that lists all of the Automatic Start Services that haven't started so that I can then start them.
Have a look in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.