vbdotnet.it

Tricks & tips, workaround, forum and ideas with .Net

About the author

Enrico Rossini è il gestore di questo blog.
E-mail me Send mail

Recent posts

Recent comments

Contributi

Best 6 ~ 6 users ~ 6 comments

Info legali

Le opinioni espresse in questo blog sono strettamente personali e ogni persona è responsabile dei commenti che inserisce. I marchi citati sono delle rispettive aziende.

© Copyright 2010

Advertising


IIS 7 e MSCaptcha

Vorresti utilizzare su IIS7 il componente MSCaptcha ma nonostante tutti le configurazione questo non funziona. Per configurare correttamente e farlo funzionare, nella sesione system.weserver\handlers inserire le seguenti righe di codice:

<add name="MSCaptchaImage"

path="CaptchaImage.axd"

verb="GET"

type="MSCaptcha.CaptchaImageHandler, MSCaptcha"

preCondition="integratedMode,runtimeVersionv2.0" />

In allegato il controllo

Bin.zip (16,72 kb)

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,
Categories: iis | windowsform
Posted by enrico on Wednesday, May 05, 2010 8:43 PM
Permalink | Comments (0) | Post RSSRSS comment feed

Accedere ad un file di risorsa globale in ASP.NET

Buon anno! Questo veloce tips per darvi il codice per accedere ad un elemento di una risorsa ovvero un file .resx che si trova all'interno della cartella App_GlobalResources. Ammettendo di aver creato il file Messages.resx ed aver inserito un elemento con nome Saluto, il codice da scrivere è il seguente:

Me.GetGlobalResourceObject("Messages", "Saluto").ToString

È necessario importare System.Globalization.

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: ,
Posted by enrico on Tuesday, January 05, 2010 11:51 AM
Permalink | Comments (0) | Post RSSRSS comment feed