woramon Posted April 1, 2011 Share Posted April 1, 2011 Aklımda yine bi proje var ve bunun için birden fazla exe gerekiyor.. ama 1 den fazla exe ile uğraşmak istemiyorum tek exe ya da dll yardımıyla bi şeyler yapılabilirmi.. yada daha farklı bi şekilde olabilrmi yorumlarını bekliyorum . ama dll işi biraz zor gözüküyor (utoit dll yazabiliyormu onu da bilmiyorum doğrusu) Quote Link to comment Share on other sites More sharing options...
blue_life Posted April 2, 2011 Share Posted April 2, 2011 @woramon Tam olarak ne yapmak isiyorsun? Birden fazla exe ile yapacağın işi (işe bağlı olarak) tek bir exe ile de yapabilirsin. Autoitte dll çalıştırılabiliyor lakin dll yazılamıyor. Quote Link to comment Share on other sites More sharing options...
woramon Posted April 2, 2011 Author Share Posted April 2, 2011 bilgisayardan neti kesmek(eternet kartını devre dısı bırakmadan) ve ondan sonra belirli işlemleri yaptırmak istiyorum fakat autoitin neti kesme konusunda bi kod varmı yq mu bilmiyorum Quote Link to comment Share on other sites More sharing options...
woramon Posted April 2, 2011 Author Share Posted April 2, 2011 bilgisayardan neti kesmek(eternet kartını devre dısı bırakmadan) ve ondan sonra belirli işlemleri yaptırmak istiyorum fakat autoitin neti kesme konusunda bi kod varmı yq mu bilmiyorum Quote Link to comment Share on other sites More sharing options...
blue_life Posted April 2, 2011 Share Posted April 2, 2011 @woramon Internetin çalışması için gerekli bir servisi kapatman çözüm olabilir... Misal ben şuan xp kullanıyorum ve dhcp servisini kapatmam internet bağlantısını kesiyor... [codebox]#RequireAdmin _BL_Service_Disable_Enable("dhcp",True) MsgBox(64,"","dhcp kapandı!") _BL_Service_Disable_Enable("dhcp") MsgBox(64,"","dhcp açıldı!") Func _BL_Service_Disable_Enable($ServiceName = "dhcp",$Disable = False) Local $Type = "start" If $Disable = True Then $Type = "stop" RunWait("net " & $Type & " " & $ServiceName,@SystemDir,@SW_HIDE) EndFunc[/codebox] Autoit forumunda daha gelişmiş örnekler haliyle vardır... Araştırmak lazım... Quote Link to comment Share on other sites More sharing options...
woramon Posted April 2, 2011 Author Share Posted April 2, 2011 hmm saolasın... servisleri kapatmak aklıma gelmemişti... foruma bakarım Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.