当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·高手,给分    »显示摘要«
    摘要: 今天新到了一家公司,机器是2000professional,我怎么也装不上sql server 2000,提示不支持这个操作系统,可是我上一家公司,怎么就能装呢?急死我了,一天没装好个sql server。 ......
    摘要: 我打印时出现了这样的问题,打印10-19页时页码只显示1,打印20-29页时只显示2,请问这是怎么回事? ......


内存清空管理(在线等)

Dim   xlApp   As   Excel.Application  
          Dim   xlbook   As   Excel.Workbook  
          Dim   xlsheet   As   Excel.Worksheet  
   
          Set   xlApp   =   New   Excel.Application  
   
          激活EXCEL应用程序  
          Set   xlApp   =   CreateObject("Excel.Application")  
          EXCEL文件所在路径  
          strDestinations   =   "d:\project\公司"   +   "\"   +   "test.xls"  
          打开工作簿  
          Set   xlbook   =   xlApp.Workbooks.Open(strDestinations,   ,   False)  
          打开sheet  
          Set   xlsheet   =   xlbook.Worksheets(1)  
          xlApp.Visible   =   True  
    我用下面的代码来清空内存:  
          Set   xlsheet   =   Nothing  
          Set   xlbook   =   Nothing  
          Set   xlApp   =   Nothing  
  但是好象进程管理器中老是有一个excel进程没有关掉,不知道大家是怎么来关掉打开的excel文件进程的?我关闭的方法对吗?

NO.1   作者: gcj123

 
  Set   xlsheet   =   Nothing  
  Set   xlbook   =   Nothing  
  alapp.Quit  
  Set   xlApp   =   Nothing  
 


 ·在线等待与excel相关    »显示摘要«
    摘要: curdir=getcurrentdir(); sepath=curdir+"\\bb\\sepath.xls"; ex.olepropertyget("activeworkbook").oleprocedure("saveas",sepath.c_str()); 另存时发生意外,错在哪里? ......
» 本期热门文章:
· 热门栏目:
» 相关精选文章
» 其它相关:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE