小编DoS*_*ffZ的帖子

我正在检查Office版本

我目前正在为Office保留一个旧插件.当前的解决方案有一种方法,用于确定当前安装的Office版本.它查看了注册数据库PublicKeyToken=71e9bce111e9429cVersion=.一切都很好,花花公子.对于Office 2003 Version=11,对于Office 2007而言Version=12.对于Office 2010而言Version=14.嗯什么?我们不再计算10-11-12-13-14-15等了吗?

也许我的google-fu失败告诉我,我寻找的字数/数字是14,或者我错过了一些细节.查看MSDN并使用<插入诅咒词>搜索引擎也是不成功的.

是Office 2010 Version=14吗?

不幸的是,我只有Office 2007,所以没有帮助.我不是在询问如何获得版本,已经完成了.

version ms-office

2
推荐指数
1
解决办法
2312
查看次数

XmlSerializers.dll没有成功

名称:AIT.OurPluginOffice.Office2010.ExcelAddIn来自:file:/// C:/ Program Files/OurPlugin/OurPlugin Office 2010/AIT.OurPluginOffice.Office2010.ExcelAddIn.vsto

************** Exception Text ************** System.Deployment.Application.DeploymentDownloadException: Downloading file:///C:/Program Files/OurPlugin/OurPlugin Office 2010/AIT.OurPluginOutlook2010.XmlSerializers.dll did not succeed. ---> System.Net.WebException: Could not find file 'C:\Program Files\OurPlugin\OurPlugin Office 2010\AIT.OurPluginOutlook2010.XmlSerializers.dll'. ---> System.Net.WebException: Could not find file 'C:\Program Files\OurPlugin\OurPlugin Office 2010\AIT.OurPluginOutlook2010.XmlSerializers.dll'. ---> System.IO.FileNotFoundException: Could not find file 'C:\Program Files\OurPlugin\OurPlugin Office 2010\AIT.OurPluginOutlook2010.XmlSerializers.dll'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) at …

plugins visual-studio-2010 office-2010

1
推荐指数
1
解决办法
2725
查看次数

需要一些帮助,SQL Server 2000,有和最大(日期)

我需要一点帮助让这个脚本做我想要的.

SELECT KM.initials, 
       TPL.debprice, 
       TMP.pricegroup, 
       TMP.date 
FROM   klientmedarbejder KM 
       INNER JOIN timeprismedarbejderprisgruppe TMP 
               ON KM.employeeno = TMP.employeeno 
       INNER JOIN timeprisprisgruppelinie TPL 
               ON TMP.pricegroup = TPL.pricegroup 
GROUP  BY KM.initials, 
          TMP.date, 
          TPL.debprice, 
          TMP.pricegroup, 
          TPL.date 
HAVING ( Max(TMP.dato) = TPL.date ) 
Run Code Online (Sandbox Code Playgroud)

我需要的是具有最新(最大)日期的debPrice.一名员工经历了他的职业生涯,偶尔他的价格会升级.价格从一组价格中选择.

  1. KlientMedarbejder 是员工表.
  2. TimeprisMedarbejderPrisgruppe 是他的记录升级到新价格的日期列表.
  3. TimeprisPrisgruppeLinie 是您可以拥有的价格列表.

我的解决方案是每位员工最多2个选项.因此:

emp A - 300 - 9 - 1900-01-01  
emp A - 500 - 4 - 2012-01-01  
emp B - 400 - 6 - 1900-01-01  
emp B - 800 - 8 - 2012-04-01  
Run Code Online (Sandbox Code Playgroud)

因此,第一条记录是他加入公司时的默认记录.2012年,他终于有了足够好的价格.现在,我需要在每个员工的升级列表上找到最新日期的答案.因此,emp A应该给我500,而emp …

sql sql-server sql-server-2000 max having

0
推荐指数
1
解决办法
2741
查看次数