Cablage boitier TF2007
Autre lien
Clean up Winsxs on Windows 7/2008 R2 after SP1 install
Run (as administrator) the command prompt and type : dism /online /cleanup-image /spsuperseded The worst offender was the Winsxs directory. To read more about what Winsxs actually does, go here. More : @Happy SysAdmin @Alan’s sysadmin Blog
[HowTo] Write Excel file to web page (aspx)
Writing an Excel file to the response object in ASP.NET is quite easy… This piece of code works with most of the files type… string YourFilename = “test.xlsx”; string path = Server.MapPath(YourPath + YourFilename); Response.ClearContent(); Response.AddHeader(“content-disposition”, “attachement;filename=” + YourFilename); // Ouvrir avec MSExcel Response.ContentType = “application/ms-excel”; // MSWord // Response.ContentType = “application/msword”; // Text // […]
[HowTo] Define a constant globaly in C# (like DEBUG)
You can add the define compiler switch in your IDE. Open the project’s Property Pages dialog box. Click the Configuration Properties folder. Click the Build property page. Modify the Conditional Compilation Constants property
[.NET] Use IIS Express instead ASP.NET Development Server (Cassini)
Tutorial in French Download link
[HowTo] Use jQuery with Aspx UpdatePanel (datepicker Sample code inside)
As the update panel is going to reload the contents of the html. You’ll have to listen for the UpdatePanel to complete and recreate the datepicker. Here is a very basic sample. This doesn’t take into account multiple update panels on your page or potential memory leaks from not properly destroying your datepicker. Another thing […]
How to disable copy paste and autocomplete for an HTML textbox
Use the following events : onCopy onPaste onDrag onDrop Autocomplete Like this : <INPUT size=12 name=”FundsTransferTo” maxlength=12 onCopy=”return false” onDrag=”return false” onDrop=”return false” onPaste=”return false” autocomplete=off> Source
[jQuery] how to put a link in a fancybox title
http://www.devppl.com/forum/post64655.html <a title=”text about the project :: <a href=’http://www.someclient.com’>Launch website</a>” href=”delete/big.png”><img src=”delete/thumb.png” alt=”” width=”115″ height=”115″ /></a> $(‘a.gallery’).fancybox({ ‘titlePosition’ : ‘inside’ });
Android : HowTo Sauvegarde de l’état de l’application
Comme précisé plus haut, Android détruit votre vue en cas de changement d’orientation pour construire la nouvelle vue. Donc vous voulez peut être sauvegarder des données avant le changement d’orientation, par exemple si l’utilisateur a commencé à saisir du texte. Pour résoudre ce problème, il suffit d’utiliser la méthode onSaveInstanceState(). Cette méthode est appelée à […]
Android : HowTo give acces to internet to an activity
<uses-permission android:name=”android.permission.INTERNET” />