Microsoft Visual Basic Library error

I am making a visual basic program for inventory use. When I use the format function a compile error message appears when I try to run the program. I’ve already reinstalled the Visual Basic and still give me the same error when running the program. Any suggestions would gladly be appreciated.

Microsoft Visual Basic
Compile error:
Can't find project or library
