Dün Microsoft Speech SDK ile basit bir şekilde metin okuma örneği göstermiştim. İnternette araştırırken sayın Işıl Orhanel‘in de tam tersi için bir makalesi bulunuyor. Okumanızı tavsiye ederim:
Monthly Archives: Ocak 2010
Domain’de Bulunan Bilgisayarların Listesini Almak
public List<string> GetComputersInDomain(string domainName)
{
DirectoryEntry entry = new DirectoryEntry("LDAP://" + domainName);
DirectorySearcher searcher = new DirectorySearcher(entry);
searcher.Filter = "(objectClass=computer)";
List<string> result = new List<string>();
foreach (SearchResult sr in searcher.FindAll())
{
result.Add(sr.GetDirectoryEntry().Name.ToString());
}
return result;
}
ile kolayca domain’de bulunan bilgisayarların listesini alabiliriz.
public List<string> GetComputersInDomain(string domainName)
{
DirectoryEntry entry = new DirectoryEntry("LDAP://" + domainName);
DirectorySearcher searcher = new DirectorySearcher(entry);
searcher.Filter = "(objectClass=computer)";
List<string> result = new List<string>();
foreach (SearchResult sr in searcher.FindAll())
{
result.Add(sr.GetDirectoryEntry().Name.ToString());
}
return result;
}
Microsoft Speech SDK ile basit bir uygulama
Windows işletim sistemlerinde yıllardır bir özellik olan metin okuma, gene yıllardır API desteği ile geliştiricilere olanak sağlanıyor. Geliştiriciler buradaki adresten indirdikten sonra yüklenmesi gerekiyor.
Ve Başlıyoruz..
Microsoft Visual Studio’da yeni bir Winforms uygulaması oluşturduktan sonra uygulama penceremize Toolbox ‘tan bir adet Textbox ve bir adet Button sürükleyip bırakıyoruz.
Visual Studio 2010 Projelerini 2008′e dönüştürmek
Visual Studio 2010′a oluşturduğunuz yada Visual Studio 2008′den buraya dönüştürdüğünüz projeleriniz varsa denediğiniz zaman geri VS2008′de çalıştıramayacağınızı göreceksiniz. Eğer bu projeleri VS2008′de çalıştırmak istiyorsanız uygulamanız gereken birkaç adım var.
- .sln uzantılı proje dosyasını Notepad gibi bir editörde açın.
- Şu satırı bulun:
- Microsoft Visual Studio Solution File, Format Version 11.00
- Buradaki 11.00 ‘ı 10.00 ile değiştirin
- Şu satırı bulun:
- # Visual Studio 10
- Buradaki 10 ‘u 2008 ile değiştirin
- Save the File
- .cache dosyalarını aşağıdaki klasörlerde bulun ve silin:
- obj/debug
- obj/release
- Projeyi Visual Studio 2008 ‘de açın
- Projeyi Visual Studio 2008′de Built edin
Alıntı: http://www.dougortiz.blogspot.com/2009/05/converting-visual-studio-2010-project.html
Converting a Visual Studio 2010 Projects to Visual Studio 2008
Maybe some of you see that the projects that you created in Visual Studio 2010 or the converted from Visual Studio 2008 cannot be opened from VS2008. If you want to open these in VS2008, you have to do following instructions:
- Open the .sln file corresponding to the Project to be converted with Notepad
- Locate the following line:
- Microsoft Visual Studio Solution File, Format Version 11.00
- Replace 11.00 with 10.00
- Locate the following line:
- # Visual Studio 10
- Replace 10 with 2008
- Save the File
- Delete the .cache files existing in the following paths:
- obj/debug
- obj/release
- Open the project with Visual Studio 2008
- Build the project with Visual Studio 2008
Quote: http://www.dougortiz.blogspot.com/2009/05/converting-visual-studio-2010-project.html
