I've recently converted a project from vb into vb.net; as i'm not familiar with vb. once compiled i recieve a handfull of errors all of which are associated with the same lines of code.
the above line of code is perfectly acceptable within the Visual Basic 6.0 environment, however, within Visual Studios the line is flawed as a result of
"Set-Cookie: "
the above code gives no errors; however, the applcation wont function?
overload resolution failed because no accessible 'InStr' can be called without a narrowing conversion.
VB.NET:
start = InStr(start, data, "Set-Cookie: ") + 12
"Set-Cookie: "
VB.NET:
start = InStr(start, data) + 12
overload resolution failed because no accessible 'InStr' can be called without a narrowing conversion.