home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / QuickStart / howto / doc / resourcescustomreader.aspx < prev    next >
Encoding:
Text File  |  2000-05-17  |  1.1 KB  |  38 lines

  1. <!-- #include virtual="/quickstart/howto/include/header.inc" -->
  2.  
  3. <%
  4. Dim runsample as String
  5. runsample = Server.MapPath("/quickstart/howto/samples/resources/custom")
  6. Const viewsource = "/quickstart/howto/samples/resources/custom/CustomReader.src"
  7. Const icon = "/quickstart/images/genicon.gif"
  8. Const caption = "List.exe"
  9. %>
  10.  
  11. <h4>How Do I...Create a resource ?</h4>
  12.  
  13. <div class="indent" style="width:660">
  14. This sample illustrates how to create a reader for a custom resource format.
  15. </div>
  16.  
  17. <h4>Example</h4>
  18.  
  19. <p>
  20. <div class="indent">
  21. <a target="_blank" href="<%=runsample%>">
  22. <img style="border-color:black" border=1 src="<%=icon%>"><br>
  23. </a>
  24. <div class="caption"><%=caption%></div><br>
  25. [<a target="_blank" href="<%=runsample%>">View Sample</a>] | 
  26. [<a target="_blank" href="/quickstart/util/srcview.aspx?path=<%=viewsource%>">View Source</a>]<p>
  27. </div>
  28.  
  29. <h4>Source Code</h4>
  30.  
  31. <div class="code">
  32. <xmp>
  33. <!-- #include virtual="/quickstart/howto/samples/resources/custom/CustomReader.cs" -->
  34. </xmp>
  35. </div>
  36.  
  37. <!-- #include virtual="/quickstart/howto/include/footer.inc" -->
  38.