OneDrive: sync icons not showing problem

On my fresh Windows 10 installation, I had OneDrive, OneDrive for Business and Dropbox.

I was able to see only the Dropbox icons, but not the OneDrive ones.

The solution is to go to the registry settings under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ShellIconOverlayIdentifiers and ensure that there are max 15 entries.

In my case I had this:



So in my case I have delete the Dropbox icons, and now I can see the OneDrive sync status.



Addendum:

taking inspiration from the blog post Managing overlay icons for Dropbox and TortoiseSVN and TortoiseGit, I see that the best solution is to keep the important icons for both OneDrive, OneDrive for Business and DropBox (for DropBox, I keep the icons 1, 2, 5, and 7). So in total I have now 14 entries, and I should be fine.

My registry settings now are:



SharePoint 2007: how reproduce the Edit With command

Writing your own web parts, it may be possibile to reproduce the Edit with Word/Excel/... command; in fact, this command check-outs the document, then allows it to edit/read it from the office application.

The trick is to use the editDocumentWithProgID2 javascript function; here is an example call:

editDocumentWithProgID2('http://mywebserver/mysiteurl/myDoc.doc', '', 'SharePoint.OpenDocuments', '0', 'http://mywebserver/mysiteurl', 0);

You can read the following very detailed and intresting post: How to open SharePoint documents in Edit mode with Internet Explorer 6 and Windows XP (without regfix).

A few notes:

  • calling this command forces the refresh of the page. If you want to avoid it, you can set the g_varSkipRefreshOnFocus javascript function to true, as described in this question page: editDocumentWithProgID2 issue;
  • if you handle non Office documents (for example: pdf), you can't call this method, and you have to revert to the link allowing the document to open.

Error while saving Office 2003 files from SharePoint 2007

If you get a JavaScript error while saving Office 2003 files from SharePoint 2007, in particular while you are compiling the metadata in the web page that appears after the save dialog, you need to apply the following hot-fixes to your servers: