I have purchased a 3rd party control, and in the manual it has told me to use the following code:

Code:
Const AP_PROP_OUTDIR = 1
However this code is giving a warning in Visual Studio of:

Variable declaration without 'As' clause; type of Object assumed
I assume that this is VB code and not VB.Net code, however I am uncertain how to resolve this error.

Sorry for something that is probably a simple fix.

Thanks in advance

Simon