bè anche in vb.net si possono usare le api,casomai aggiusti un po il codice per vb.net.