compatibility

Visual Studio 2012 - MS Excel 2013 Templates only, backward compatibility?

淺唱寂寞╮ 提交于 2019-11-28 11:22:54
问题 I'll be starting a new project in Visual Studio 2012, using a VB Excel template but the only options are for Excel 2013 (there are three options around Add-in, Template or Workbook) but majority of the users will be using 2007 and 2010 Excel. Would an Excel 2013 project be backward compatible with 2007 and 2010? Or must I download a separate template that is not offered in the vanilla version of VS2012? Thanks :) These are the project options: 回答1: Look, Select .NET Framework 4 and you will

Browser compatibility of Polymer

牧云@^-^@ 提交于 2019-11-28 10:45:33
问题 I am starting to use Polymer 1.0: the only thing I tried is a simple template like this: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <script src="bower_components/webcomponentsjs/webcomponents.min.js"></script> <script src="bower_components/webcomponentsjs/webcomponents-lite.min.js"></script> <link rel="import" href="bower_components/polymer/polymer.html"></link> <link rel="import" href="bower_components/iron-icons/iron-icons.html"> <title>Polymer test1</title> </head> <body

vbNewline vs Chr(10) as linebreak delimiter in Windows vs. Mac OSX

偶尔善良 提交于 2019-11-28 10:08:28
问题 I have an Excel sub that uses the Split() function to split CSV data from a cell into an array. However, depending on the version of Excel/OS I'm using, the character used as the line break delimiter changes: Excel 2011 / Mac OSX: fullArray = Split(CSV, vbNewLine) 'successfully returns array fullArray = Split(CSV, Chr(10)) 'fails and returns only a single cell Excel 2007 / Windows 7: fullArray = Split(CSV, Chr(10)) 'successfully returns array fullArray = Split(CSV, vbNewLine) 'fails and

Preferred way to use favicons?

ⅰ亾dé卋堺 提交于 2019-11-28 10:07:46
I was trying to add a favicon to a website earlier and looked for a better way to implement this than to dump a favicon.ico file in the root of the website. I found this nice little guide: How to Add a Favicon . However, the preferred method did not work in IE (7) and the second method is the old fashioned way (which I resigned myself to use). Is there a third method that works across all the most popular browsers? Stan This is what I always use: <link rel="icon" href="favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> The second one is for

How to connect to MSSQL 2000 from PHP 5.3 and up

孤街浪徒 提交于 2019-11-28 09:29:08
I have a legacy business application built on MS SQL Server 2000. I have some webbased utilities that access this database using PHP 5.2 with mssql extension. I need to reinstall the web server, and I looked forward to upgrade to PHP 5.4. Unfortunately, the mssql extension is not supported on PHP 5.3 and newer. There is the sqlsrv extension available form Microsoft , but the description says that it is only supported for accessing SQL server 2005 and up. How can I connect to my SQL Server 2000 from PHP 5.4 ? Did anyone already solve this issue ? This is a really complicated issue. Here are the

CreateTextRange is not working in Chrome

我的梦境 提交于 2019-11-28 09:10:44
In this code, createRange is not working in Chrome. In IE it is working. Please help how to rectify in this. Is there any other property to work like create range. So that it will helpful for my project. <script language=javascript> var isSelected; function markSelection ( txtObj ) { if ( txtObj.createTextRange ) { txtObj.caretPos = document.selection.createRange().duplicate(); isSelected = true; } } function insertTag ( txtName, enclose ) { if(document.f_activity_email == null) { var tag = document.getElementById('EmailTokenID').value; } else { var formC = document.f_activity_email; var tag =

Use Selenium with Chromium Browser

我的梦境 提交于 2019-11-28 08:20:27
In the Selenium options (on Firefox) I can find Custom browser . Is it possible to use this option to run a Selenium test in Chromium Browser (not Chrome)? yes. for chrome use DefaultSelenium selenium = new DefaultSelenium("localhost", 4444, "*custom path/to/chromium" , "www.google.com"); selenium.start(); The other options that you can use are *custom, *chrome(note: this is not Google chrome, its a firefox mode only), *googlechrome, *iexplore. Please check selenium documentation for complete list of the modes. EDIT: Changed googlechrome to chromium Uh, the accepted answer doesn't answer the

Error when installing Visual Studio Tools for Apache Cordova CTP3.0 in Visual Studio 2013

孤者浪人 提交于 2019-11-28 07:44:15
问题 I installed Multi-Device Hybrid Apps for Visual Studio 2013 CTP 2.0. I then updated VS2013 to update 4. Now I can't upgrade MDHA to 3.0 because it tells me to uninstall 2.0 first, however the uninstaller doesn't work. When trying to uninstall 2.0 from Programs and Features, it just goes through the setup and then doesn't remove the software from the Add/Remove list. I tried following this however it doesn't work: http://support.microsoft.com/kb/3014133 回答1: I ended up discovering that the

Case-insensitive storage and unicode compatibility

て烟熏妆下的殇ゞ 提交于 2019-11-28 07:36:24
After I heard of someone at my work using String.toLowerCase() to store case-insensitive codes in a database for searchability, I had an epic fail moment thinking about the number of ways that it can go wrong: Turkey test (in particular changing locales on the running computer) Unicode version upgrades - I mean, who knows about this stuff? If I upgrade to Java 7, I have to reindex my data if I'm being case-insensitive? What technologies are affected by Unicode versions? Do I need to worry about Oracle or SQL Server (or other vendors) changing their unicode versions and resulting in one of my

Making Python 2.7 code run with Python 2.6

淺唱寂寞╮ 提交于 2019-11-28 07:27:59
问题 I have this simply python function that can extract a zip file (platform independent) def unzip(source, target): with zipfile.ZipFile(source , "r") as z: z.extractall(target) print "Extracted : " + source + " to: " + target This runs fine with Python 2.7 but fails with Python 2.6: AttributeError: ZipFile instance has no attribute '__exit__': I found this suggestions that an upgrade is required 2.6 -> 2.7 https://bugs.launchpad.net/horizon/+bug/955994 But is it possible to port the above code