r/visualbasic • • Apr 10 '24

Creating a database

Im currently in 11th grade and required to use vb.net 2010 to make a virtual classroom. Is there another way to make a database other than ms access? I tried mysql from tutorials in youtube but I can’t since those tutorials are like 10 years ago and there are features that I can’t access since I have windows 11.

4 Upvotes

19 comments sorted by

View all comments

Show parent comment

1

u/Mayayana Apr 11 '24

You're clearly a by-the-book person. That's fine. And MSIs may be of no value to the OP. But no harm done. They're handy and adaptable. Some people may have a use for them.

I'm generally doing this because I can, and it suits my needs. As I mentioned, I have an email storage database that's searchable. I have an IP <-> location database that I use to resolve IP addresses in my web server logs... A zip code database. Various things. It's relatively easy to create a new MSI with the requisite tables. Then it's relatively easy to write VBScripts to load the data. Then it's relatively easy to use script in an HTA GUI to access the database. It's for minor custom uses that don't justify writing compiled software, calling into a fullscale database.

I originally got into this because I had a blind friend who I was writing software for, some years ago. I needed SAPI5 support. It turned out the only way to get it was with an MSI or through the platform SDK. Both were gigantic packages. So I decided to figure out just how these MSIs worked. I concluded that it's a wildly bloated, ridiculous system for installing software. Though it has one redeeming feature: It's feasble to dissect and log every file and Registry setting that a given installer will install if run. It's also a handy system to use for lightweight databases that have pre-installed support on all Windows machines.