Hey doctorj97, for your second question,
how to make the vb.net application work over LAN.
1) Install SQL Server Express edition in a machine which you want to act as server machine.
2) Allow TCP/IP connection in server machine. Open SQL Server Configuration Manager -> in left panel expand SQL Server [version] Network Configuration -> double click Protocols for SQLEXPRESS -> in right panel right click TCP/IP and select Enable.
3) Set exception for the port number which you're using for SQL Server in server machine.
I) Default port number is 1433. To find/set your port number, open SQL Server Configuration Manager -> in left panel expand SQL Server [version] Network Configuration -> double click Protocols for SQLEXPRESS, right click TCP/IP and select Properties -> Select IP Addresses tab -> scroll down to IP4 -> TCP Port (your port number).
II) Control Panel > Windows Firewall > Advanced settings -> Inbound Rules (in left panel) -> Select New Rule... (in Actions) -> Select Port -> Click Next -> Select TCP and Enter your SQL Server's port number (1433 default port number) -> Click Next -> Select Allow the connection -> Click Next -> Select the network types in which you want to allow set an exception -> Click Next -> Enter any name -> Click Finish.
4) Connect other computers to this server machine via your lan cable.
5) Assign unique IP address to all machines over this lan network including the server machine.
6) In your application's connection string line use Data Source as Server machine's IP Address (lan's IP address), Port Number.
Eg: Data Source=190.190.190.1,1433;
For your first question,
how to have one database for both.
1) Host your website in any server like IIS in your server machine.
2) Assign your internet's IP address (If you're using this website only in your lan network means use your server machine's lan connection's IP address. Else if you want to use apart from lan network means then assign your internet's IP address) to your website in IIS.
3) In your website's connection string line use Data Server as Server machine's IP Address , Port Number. Eg:
Data Server=190.190.190.1,1433;
4) You can browse your website using your server's IP address (internet's IP address not lan's IP address).