http://expert.csdn.net/Expert/topic/1298/1298154.xml?temp=.7537653
解决方案 »
- phpzie 不完全使用教程
- Delphi for php DBG Failed to start debug session
- MySQL有没有存储过程?
- ajax可以返回多个值么?
- 为何error_reporting(E_ERROR | E_PARSE);无效???????
- 任务还没完成,但IE的状态栏已显示为完成。为何??
- 如何在PHP程序中实现连续播放MP3
- 求验证码代码
- php、apache在linux下以CGI方式安裝,httpd.conf怎麼配置呀?
- 向大家请教有关Oracle中文支持的问题,困扰我很久了
- 问个小问题:现在有个PHP V4.3.0 RC3,它和PHP V4.3.0 有什么区别
- 根据现象找PHP的配置错误。高手应能一口说出。
<?php
#实例化一个对象 $word = new COM("word.application") or die("Unable to instantiate Word"); #取得并显示版本 print "Loaded Word, version {$word->Version}<BR>"; #另一种方法去取得版本 $testversion = com_get($word->application,version); print "Version using Com_get(): $testversion <BR>"; #使其可见 $word->Visible = 1; #创建新文件 $word->Documents->Add(); #写字符 $word->Selection->TypeText("This is a test..."); #保存 $word->Documents[1]->SaveAs("Useless test.doc"); #关闭 $word->Quit(); ?>