home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 40 / IOPROG_40.ISO / SOFT / NETFrameworkSDK.exe / comsdk.cab / samples.exe / QuickStart / howto / doc / resourceswrite.aspx < prev    next >
Encoding:
Text File  |  2000-05-17  |  1.1 KB  |  39 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/write")
  7. Const viewsource = "/quickstart/howto/samples/resources/write/CreateResource.src"
  8. Const icon = "/quickstart/images/genicon.gif"
  9. Const caption = "CreateResource.exe"
  10. %>
  11.  
  12. <h4>How Do I...Create a resource ?</h4>
  13.  
  14. <div class="indent" style="width:660">
  15. This sample illustrates how to use create and write a resource programmatically via the the ResourceWriter API.
  16. </div>
  17.  
  18. <h4>Example</h4>
  19.  
  20. <p>
  21. <div class="indent">
  22. <a target="_blank" href="<%=runsample%>">
  23. <img style="border-color:black" border=1 src="<%=icon%>"><br>
  24. </a>
  25. <div class="caption"><%=caption%></div><br>
  26. [<a target="_blank" href="<%=runsample%>">View Sample</a>] | 
  27. [<a target="_blank" href="/quickstart/util/srcview.aspx?path=<%=viewsource%>">View Source</a>]<p>
  28. </div>
  29.  
  30. <h4>Source Code</h4>
  31.  
  32. <div class="code">
  33. <xmp>
  34. <!-- #include virtual="/quickstart/howto/samples/resources/write/CreateResource.cs" -->
  35. </xmp>
  36. </div>
  37.  
  38. <!-- #include virtual="/quickstart/howto/include/footer.inc" -->
  39.