HELP!
I am making an ASP document that looks for an INI or a registry setting(on the server) and then changes what it says in the HTML. But Whenever I use VB Code to getsetting for registry, it doesnt work. Declaring the INI things doesnt work either. I am new to ASP and VB Script, so how would I go about doing this? Heres what I am trying to do:

Code:
Public Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lsString As Any, ByVal lplFilename As String) As Long
Public Declare Function GetPrivateProfileInt Lib "kernel32" Alias "GetPriviteProfileIntA" (ByVal lpApplicationName As String, ByVal lpKeyName As String, ByVal nDefault As Long, ByVal lpFileName As String) As Long
Public Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As String, ByVal lpDefault As String, ByVal lpReturnedString As String, ByVal nSize As Long, ByVal lpFileName As String) As Long
Tester
Public Sub Tester()
online = GetSetting("FWN Camline", "Setting", "Online", False) 
if online = true then 
response.write "Frankie's Webcam Server is currently ONLINE" 
else 
response.write "Frankie's Webcam Server is currently OFFLINE, please stay tuned." 
end if
end sub
or
Code:
Tester
Public Sub Tester()
online = GetSetting("FWN Camline", "Setting", "Online", False) 
if online = true then 
response.write "Frankie's Webcam Server is currently ONLINE" 
else 
response.write "Frankie's Webcam Server is currently OFFLINE, please stay tuned." 
end if
end sub
Now they both have GetSetting in which that is for registry, but the first one doenst declare the INI function.