I am trying to use adovbs.inc but it isn't working.
<!-- #INCLUDE FILE="adovbs.inc" -->
This is how I am calling the file and it is in my root directory, etc. It can find the file but it gives me an error:
Error Type:
Microsoft JScript compilation (0x800A03F7)
Unterminated string constant
/mustangs/adovbs.asp, line 2, column 69
'--------------------------------------------------------------------
--------------------------------------------------------------------^
It appears it isn't reading those lines as comments. However, when I remove those lines from the file I get an error:
Error Type:
Microsoft JScript compilation (0x800A03EC)
Expected ';'
/mustangs/adovbs.asp, line 3, column 6
Const adOpenForwardOnly = 0
-----^
I cannot figure out why this is happening. It seems like it isn't reading the adovbs.inc file correctly. I even tried to change it to adovbs.asp but that did not help.
I hope you can. Thanks in advance.
Education is what you get from reading the small print.
Experience is what you get from not reading it.
<!-- #INCLUDE FILE="adovbs.inc" -->
This is how I am calling the file and it is in my root directory, etc. It can find the file but it gives me an error:
Error Type:
Microsoft JScript compilation (0x800A03F7)
Unterminated string constant
/mustangs/adovbs.asp, line 2, column 69
'--------------------------------------------------------------------
--------------------------------------------------------------------^
It appears it isn't reading those lines as comments. However, when I remove those lines from the file I get an error:
Error Type:
Microsoft JScript compilation (0x800A03EC)
Expected ';'
/mustangs/adovbs.asp, line 3, column 6
Const adOpenForwardOnly = 0
-----^
I cannot figure out why this is happening. It seems like it isn't reading the adovbs.inc file correctly. I even tried to change it to adovbs.asp but that did not help.
I hope you can. Thanks in advance.
Education is what you get from reading the small print.
Experience is what you get from not reading it.