Good tips! I also use a WiFi program named OSToto Hotspot to sharing Internet via WiFi from my Windows 10 laptop to my Sony Xperia Z3. You also have a try this freeware!
Re: to connect my android tab to pc for internet sharing
You can try to make a WiFi hotspot on Windows 7 computer, and then your tablet link to it for sharing Internet. A tool named OSToto Hotspot can help you!