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

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