Allow only one instance of MDI child in your VB.NET MDI application
1 minute read
I have encountered a problem in class today, we needed our Contact Manager application only to run one instance of every MDI child form, so the user will not be able to start unlimited(more than 1) number of Contacts form, or any of the settings forms. I have binged the solution and found a piece of code that allows something like that, but as i am teaching VB.NET here, i had to rewrite it from C# to VB.NET. The original C# Code provided by Roy Osherove is HERE
Here is the VB.NET code i have rewritten from Roy’s version:
I wrote about migrating the Redis database from AWS ElastiCache to another provider a few years ago . In my case it was Azure, but it doesn’t matter. I used ...
When building any product or business, you want to make it as resilient as possible. You should do that from the very beginning, but sometimes this is hard, ...
During my career in software development, proper communication (or lack of it) has been crucial in instigating some creative discussions and/or flame wars du...
Usually when we run scheduled jobs we like to bunch a few things together for convenience. Let’s say that you have hourly, daily, weekly, monthly task list t...
Comments