ADO HelpFile attribute

Pangalagaan at Paggamit

Ang HelpFile attribute ay nagbibigay ng isang string na naglalaman ng buong daan ng help file sa Microsoft Windows help system.

Ang attribute na ito ay nagbibigay-daan sa iyo na ipagsama sa Windows help system, halimbawa, maaari mong tumawag sa Windows API help function.

Kung walang kapangyarihan na ipagsama sa Windows help system, ang HelpContext attribute ay ibibigay "".

Mga pangunahing panauhan

strErrorFile=objErr.HelpFile

Mga halimbawa

<%
for each objErr in objConn.Errors
  response.write("<p>")
  response.write("Paglalarawan:")
  response.write(objErr.Description & "<br />")
  response.write("Tulong konteksto:")
  response.write(objErr.HelpContext & "<br />")
  response.write("Tulong file:")
  response.write(objErr.HelpFile & "<br />")
  response.write("Native error: ")
  response.write(objErr.NativeError & "<br />")
  response.write("Error number: ")
  response.write(objErr.Number & "<br />")
  response.write("Error source: ")
  response.write(objErr.Source & "<br />")
  response.write("SQL state: ")
  response.write(objErr.SQLState & "<br />")
  response.write("</p>")
next
%>