var shell = new ActiveXObject("WScript.Shell"); //新建键值 shell.RegWrite("HKEY_LOCAL_MACHINE\\Software\\Microsoft\\windows\\CurrentVersion\\Run\\new1","D:\\Program Files\\Tencent\\QQ\\QQ.exe","REG_SZ"); //删除键值 //shell.RegDelete("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run\\new1"); --> 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u...
by cbs20 - Java文档中心 - 2007-01-04 17:26:56 阅读(831) 回复(0)
转:陈锐达 javascript函数调用模式 调用一个函数将会挂起当前函数的执行,并传递控制权与参数给新的函数。 除了声明的参数,每个函数会接收到两个新的附加参数:this和arguments。 this是个很重要的参数,并且它的值是由调用模式决定的。 以下是javascript中很重要的4个调用模式: a. 方法调用模式the method invocation pattern b. 函数调用模式the function invocation pattern c. 构造器调用模式the constructor...
//*********java.htm************ function getScreenDimension() { document.myApplet.sayHello(); } //*********inJava.java*********** import java.awt.*; import java.applet.*; public class inJava extends Applet{ public void sayHello() { Graphics g = getGraphics(); g.drawString("Hello from JAVA!", 10, 10); } } 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/...
####################文件一####################
##################文件二########################33