Thats actualy prety easy.
#first you define a new variable called "webs" for a new webclient
Dim webs as new net.webclient
dim passwordfile as string = "File link here make sure its in a public folder!"
try
if textbox1.text = webs.downloadstring(passwordfile) then...