
Displaying a Local Image in a WebBrowser Control
Instead of using: WebBrowser1.navigate “c:image.gif” Use this: WebBrowser1.navigate “about:”
Instead of using: WebBrowser1.navigate “c:image.gif” Use this: WebBrowser1.navigate “about:”
The following code is an example of how to use the xsl:fallback element to achieve full compatibility between XSLT different versions. Imagine that some future 5.0 version of XSLT implements an element. Processors using earlier versions of XSLT wouldn’t understand that element, so you can include an element to enable
Caching is an important part of Web technology that is often used to improve the Web application performance. In ASP.NET, each user control is cached separately by default. This creates a significant performance improvement. However, suppose you have an application in which the user control does not vary between pages
Use this to determine the names of your network interfaces and IPs. Of course, it can be used only for machines that have more than one network interface. import java.io.*;import java.net.*;import java.util.*;public class NetInterfaces{ public static void main(String argv[]) throws Exception { Enumeration enumInterfaces=NetworkInterface.getNetworkInterfaces();while(enumInterfaces.hasMoreElements()) { NetworkInterface net=(NetworkInterface)enumInterfaces.nextElement(); System.out.println(“NetworkInterface name: “+net.getDisplayName());