Error on MOSS workflow using Active Directory Groups (domain groups)

27. June 2008
Lightweight Directory Access Protocol Clients that use the DirectorySearcher class to query the Active Directory directory service may receive an incomplete result set. It could be identified by the following error :  System.DirectoryServices.DirectoryServicesCOMException (0x800700EA): More data is available.   This problem appears on MOSS 2007 while a workflow is processed and a domain group was used to define the approvers.   To correct the... [More]

.NET Projects, Office, SharePoint , ,

Internet Explorer : ouvrir un document Excel depuis un lien hypertext.

27. June 2008
Voici comment ouvrir un document Excel sous forme de lien hypertexte à partir d'un script javascript puis vbscript. Il est important que le niveau de sécurité du navigateur autorise l'execution de composants ActiveX. Ces scripts peuvent être utiles dans un contexte ou seul Internet Explorer est utilisé. (contrainte d'execution ActiveX). JAVASCRIPT <script language="javascript" type="text/javascript"> <!-- ... [More]

COM, Javascript, Office, Win32 , , ,

Compte rendu des Microsoft TechDays 2007

24. February 2007
A l’issu de cet évenement, je me suis efforcé de rédiger mes notes et j’imagine qu’elles pourront toujours intéresser d’autres personnes qui, peut-être, n’ont pas pu assister à toutes les sessions, voire à aucune !!! Microsoft va certainement publier les PPT et des webcasts. En attendant, je pense qu’une vue plus synthétique, ou simplement, un autre regard, peut toujours être inté... [More]

.NET Projects, Architecture, Asp.net, Biztalk, css, Developer Tools, Javascript, News, Office, Security, SharePoint, Windows , , , , , , , , , , ,

Export a DataTable to CSV format (Excel compatible)

18. December 2006
You can use ExportDataTable method to export a generic datatable content to a CSV format. The following sample is used in ASP.NET context to export the result of a gridview. This code-sample should be place in the handler method of a click button event. protected void LinkButtonExportAsExcel_Click(object sender, EventArgs e) { try { DataView dataView = (DataView)Cache["DataSource"]; if (dataView == null) dataView = GetDataView(); char[] bufferedExport = ExportDataTab... [More]

C# sample code, Office ,

Free ressources from Microsoft for learning sharepoint 2007

21. October 2006
eBook : 7 Development Projects with the 2007 Microsoft Office System and Windows SharePoint Services 2007.pdf eLearning : https://www.microsoftelearning.com/catalog/itproDev.aspx#officeSystem2007

SharePoint, Office, Learning, doc , , ,

Dernières nouvelles post devdays 2006 !

23. April 2006
Puisque cela concerne les DevDays 2006 from France, je la fait en français ! Bon, voila avec une semaine de retard (je taquine), on a enfin accès aux ressources des devdays. Une connexion passport est nécessaire pour accéder au élements suivants : - Accueil et introduction - Test et qualité des applications avec Visual Studio Team System - Architecture orientée service avec Windows Communication Foundation - Intégrer un workflow dans... [More]

News, SharePoint, Architecture, XML, Web Services, .NET Projects, Developer Tools, Office , , , , , , ,

How to modify Microsoft Office document properties (Excel, Word, Powerpoint) without Office installed ?

24. December 2005
From your Visual Studio’s projet (.NET 2003 or 2005), add a reference to the pre-registered dll DSOFILE.DLL downloaded from : Support Microsoft You can use this sample which do the following : Open a office document in read-only mode Compare the custom property named ‘connectionStringCustomProperty’ with a new value If the value is already set : return Else re-open the document in read-write mode and set the new value private void UpdateConnectionString(string filePat... [More]

Office