PColik Posted November 26, 2011 Share Posted November 26, 2011 arkadaşlar size yeni yaptığım küçük araçta kullanabileceğim 3 soru olacak. 1- Program sistem çubuğuna küçültülmüş olarak başlayacak. 2- Programa "Başlangıçta Çalıştır" diye bir checkbox eklicem. seçili olduğunda program windows başlangıcında çalışacak. 3- program sistem çubuğunda iken üste çıkarmak için Shift+ESC kısayolu kullanılacak. yardımcı olursanız sevinirim. bu çok önemli. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted November 26, 2011 Share Posted November 26, 2011 hepsi sitede mevcut, daha önce verdiğimiz şeyler? Quote Link to comment Share on other sites More sharing options...
pilgetir Posted November 26, 2011 Share Posted November 26, 2011 (edited) 1-Projenin on show bölmüne; [quote]Window.Minimize(Application.GetWndHandle());[/quote] aklıma başka bir şey gelmiyor şimdi 2-Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "Program ismi", _SourceFolder .. "\\" .. _SourceFilename, REG_SZ) Edited November 26, 2011 by pilgetir Quote Link to comment Share on other sites More sharing options...
PColik Posted November 26, 2011 Author Share Posted November 26, 2011 zaten ben bir konuyu açmadan önce sitede derin bir arama yapıyorum, bulamayınca konuyu açıyorum. Quote Link to comment Share on other sites More sharing options...
KintaRo Posted November 26, 2011 Share Posted November 26, 2011 [quote name='PColik' date='26 November 2011 - 20:18 ' timestamp='1322331515' post='1118837'] arkadaşlar size yeni yaptığım küçük araçta kullanabileceğim 3 soru olacak. 1- Program sistem çubuğuna küçültülmüş olarak başlayacak. 2- Programa "Başlangıçta Çalıştır" diye bir checkbox eklicem. seçili olduğunda program windows başlangıcında çalışacak. 3- program sistem çubuğunda iken üste çıkarmak için Shift+ESC kısayolu kullanılacak. yardımcı olursanız sevinirim. bu çok önemli. [/quote] 1- Actions> On Startup: [code]Application.Minimize();[/code] 2- CheckBox On Click: [code]if CheckBox.GetChecked(this, true) Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "Program ismi", _SourceFolder .. "\\" .. _SourceFilename, REG_SZ) else Registry.DeleteValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "Program ismi") end[/code] 3- Page>On Show: Page.StartTimer(100, 1) Page>On Timer: [code]if e_ID == 1 then if System.IsKeyDown(27) and System.IsKeyDown(16) then Application.Restore() end end[/code] Quote Link to comment Share on other sites More sharing options...
PColik Posted November 26, 2011 Author Share Posted November 26, 2011 checkbox da kullandığım kod şu; if CheckBox.GetChecked(this, true) Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "Kolay_Ara.exe", _SourceFolder .. "\\" .. _SourceFilename, REG_SZ) else Registry.DeleteValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "Kolay_Ara.exe") end ve şu hatayı alıyorum; [img]http://i.imgur.com/CV20a.png[/img] Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted November 26, 2011 Share Posted November 26, 2011 [codebox] if CheckBox.GetChecked(this, true) then Registry.SetValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Run","KolayAra",_SourceFolder.."\\".._SourceFilename, REG_SZ) else Registry.DeleteValue(HKEY_LOCAL_MACHINE, "Software\\Microsoft\\Windows\\CurrentVersion\\Run", "Kolay Ara") end [/codebox] Quote Link to comment Share on other sites More sharing options...
PColik Posted November 26, 2011 Author Share Posted November 26, 2011 [img]http://i.imgur.com/AyYmC.png[/img] Quote Link to comment Share on other sites More sharing options...
DivaneTR Posted November 26, 2011 Share Posted November 26, 2011 [center][b]Codebox Tagında Satır Kaymış Olabilir. Bi Satır Kodu Kopyala Yapıştır Yapamıyorsan Ben Ne Yapabilirim.[/b][/center] Quote Link to comment Share on other sites More sharing options...
PColik Posted November 26, 2011 Author Share Posted November 26, 2011 yapabiliyorumda ben hiç dikkat etmemiştim. hata bende, çünkü gözden geçirmedim. en son resimde verdiğim üçüncü satırdaki kodu ikinci satırın sonuna ekledim oldu. kodlar için teşekkürler. 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.