<?xml version="1.0" encoding="iso-8859-9" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Clomosy | Forum : Açılan Console Ekranını Kapatma</title>
  <link>https://forum.clomosy.com.tr/</link>
  <description><![CDATA[XML içerik linki; Clomosy | Forum : Clomosy ile de&#287;i&#351;ken kullan&#305;m&#305; : Açılan Console Ekranını Kapatma]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 15 Apr 2026 02:40:41 +0000</pubDate>
  <lastBuildDate>Wed, 18 Mar 2026 10:43:07 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.07</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forum.clomosy.com.tr/RSS_post_feed.asp?TID=1260</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Clomosy | Forum]]></title>
   <url>https://forum.clomosy.com.tr/forum_images/logo.png</url>
   <link>https://forum.clomosy.com.tr/</link>
  </image>
  <item>
   <title><![CDATA[Açılan Console Ekranını Kapatma : Hay&#305;r &#351;u anda o ekran&#305; g&#246;rmemekteyim...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1260&amp;PID=3239#3239</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1260<br /><strong>Gönderim Zamanı:</strong> 18&nbsp;Mart&nbsp;2026 Saat 10:43<br /><br />Hayır şu anda o ekranı görmemekteyim bir problem bulunmamaktadır.<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516"</a> integrity="sha512-8DS7rgIrAmghBFwoOTujcf6D9rXvH8xm8JQ1Ja01h9QX8EzXldiszufYa4IFfKdLUKTTrnSFXLDkUEOTrZQ8Qg==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Wed, 18 Mar 2026 10:43:07 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1260&amp;PID=3239#3239</guid>
  </item> 
  <item>
   <title><![CDATA[Açılan Console Ekranını Kapatma : Merhaba G&#252;ney,Son konuda kodun...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1260&amp;PID=2813#2813</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=257">Emr.Erkmn</a><br /><strong>Konu:</strong> 1260<br /><strong>Gönderim Zamanı:</strong> 04&nbsp;Şubat&nbsp;2026 Saat 18:27<br /><br />Merhaba Güney,&nbsp;<br>Son konuda kodun doğru demişsin. Şu an mevcut hatan devam ediyor mu?<a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{"version":"2024.11.0","token":"439455f3e46c40b98dbd42a2f1a954d8","r":1,"server_timing":{"name":{"cfCacheStatus":true,"cfEdge":true,"cfExtPri":true,"cfL4":true,"cfOrigin":true,"cfSpeedBrain":true},"location_startswith":null}}" crossorigin="anonymous"&gt;< defer="" ="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28&#111;n72PdrCzSjY4U6VaAw1EQ==" -cf-beac&#111;n="&quot;versi&#111;n&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;_timing&quot;:&quot;name&quot;:&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true,&quot;locati&#111;n_startswith&quot;:null" crossorigin="an&#111;nymous"><span style="font-size:10px"><br /><br />Düzenleyen Emr.Erkmn - 04&nbsp;Şubat&nbsp;2026 Saat 18:28</span>]]>
   </description>
   <pubDate>Wed, 04 Feb 2026 18:27:53 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1260&amp;PID=2813#2813</guid>
  </item> 
  <item>
   <title><![CDATA[Açılan Console Ekranını Kapatma : Kodun Do&#287;ru Halivar ConfigList...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1260&amp;PID=2812#2812</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1260<br /><strong>Gönderim Zamanı:</strong> 04&nbsp;Şubat&nbsp;2026 Saat 14:50<br /><br />Kodun Doğru Hali<br><br><br><br><br><br><div>var</div><div>&nbsp; ConfigList : TClStringList;</div><div>&nbsp; ConfigPath : String;</div><div>&nbsp; WatchdogTimer : TClTimer;</div><div>&nbsp; IsChecking : Boolean;</div><div>&nbsp; InheritedForm : TclForm;</div><div>&nbsp; CheckQuery : TClSqlQuery;</div><div><br></div><div>void InitForm(AForm : TclForm);</div><div>{</div><div>&nbsp; InheritedForm = AForm;</div><div>}</div><div><br></div><div>void InitConfig;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; ConfigPath = Clomosy.AppFilesPath + 'db_config.txt';</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (ConfigList == nil)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ConfigList = Clomosy.StringListNew;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (clFileExists('db_config.txt', Clomosy.AppFilesPath))</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ConfigList.Text = clLoadFromFile(ConfigPath);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('InitConfig Exception: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void SaveDBConnection(AHost, AUser, APass, ADBName : String; APort: Integer);</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; if (ConfigList == nil) { ConfigList = Clomosy.StringListNew; }</div><div>&nbsp; &nbsp; ConfigList.Clear;</div><div>&nbsp; &nbsp; ConfigList.Add('Host=' + AHost);</div><div>&nbsp; &nbsp; ConfigList.Add('User=' + AUser);</div><div>&nbsp; &nbsp; ConfigList.Add('Pass=' + APass);</div><div>&nbsp; &nbsp; ConfigList.Add('DB=' + ADBName);</div><div>&nbsp; &nbsp; ConfigList.Add('Port=' + IntToStr(APort));</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; clSaveToFile(ConfigPath, ConfigList.Text);</div><div>&nbsp; &nbsp; ShowMessage('Database configuration saved successfully.');</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('SaveDBConnection Exception: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void OnHealthTimeout;</div><div>{</div><div>&nbsp; if (IsChecking == True)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; IsChecking = False;</div><div>&nbsp; &nbsp; WatchdogTimer.Enabled = False;</div><div>&nbsp; &nbsp; ShowMessage('Connection Timeout: Server 5 saniye içinde cevap vermedi.');</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void SetupTimer;</div><div>{</div><div>&nbsp; if ((WatchdogTimer == nil) &amp;&amp; (InheritedForm &lt;&gt; nil))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; WatchdogTimer = InheritedForm.AddNewTimer(InheritedForm, 'WatchdogTimer', 5000);</div><div>&nbsp; &nbsp; WatchdogTimer.Enabled = False;</div><div>&nbsp; &nbsp; InheritedForm.AddNewEvent(WatchdogTimer, tbeOnTimer, 'OnHealthTimeout');</div><div>&nbsp; }</div><div>}</div><div><br></div><div>function CheckDatabaseHealth(AHost, AUser, APass, ADBName : String; APort: Integer): Boolean;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Result = False;</div><div>&nbsp; &nbsp; SetupTimer;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (WatchdogTimer == nil)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Hata: Timer başlatılamadı. InitForm çağrıldığından emin olun.');</div><div>&nbsp; &nbsp; &nbsp; exit;</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; IsChecking = True;</div><div>&nbsp; &nbsp; WatchdogTimer.Interval = 5000;&nbsp;</div><div>&nbsp; &nbsp; WatchdogTimer.Enabled = True;</div><div><br></div><div>&nbsp; &nbsp; // Step 1: Connectivity Check</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerConnect('SQL Server', AHost, AUser, APass, ADBName, APort);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; // Step 2: Lazy Initialization of Query</div><div>&nbsp; &nbsp; CheckQuery = Clomosy.DBSQLServerQuery;</div><div>&nbsp; &nbsp; CheckQuery.SQL.Text = 'SELECT DB_ID(' + QuotedStr(ADBName) + ') as db_found';</div><div>&nbsp; &nbsp; CheckQuery.Open;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (IsChecking == True)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; IsChecking = False;</div><div>&nbsp; &nbsp; &nbsp; WatchdogTimer.Enabled = False;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; if (CheckQuery.FieldByName('db_found').AsString == '')</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Hata: Database bulunamadı.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Result = False;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.DBSQLServerConnect('SQL Server', AHost, AUser, APass, ADBName, APort);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Result = True;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; IsChecking = False;</div><div>&nbsp; &nbsp; if (WatchdogTimer &lt;&gt; nil)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; WatchdogTimer.Enabled = False;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; ShowMessage('Bağlantı Hatası: ' + LastExceptionMessage);</div><div>&nbsp; &nbsp; Result = False;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>function LoadAndConnect: Boolean;</div><div>var</div><div>&nbsp; vHost, vUser, vPass, vDB : String;</div><div>&nbsp; vPort : Integer;</div><div>{</div><div>&nbsp; InitConfig;</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Result = False;</div><div>&nbsp; &nbsp; if (ConfigList.Count &gt; 0)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; vHost = ConfigList.Values&#091;'Host'&#093;;</div><div>&nbsp; &nbsp; &nbsp; vUser = ConfigList.Values&#091;'User'&#093;;</div><div>&nbsp; &nbsp; &nbsp; vPass = ConfigList.Values&#091;'Pass'&#093;;</div><div>&nbsp; &nbsp; &nbsp; vDB&nbsp; &nbsp;= ConfigList.Values&#091;'DB'&#093;;</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (ConfigList.Values&#091;'Port'&#093; == '')</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; vPort = 1433;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; vPort = StrToInt(ConfigList.Values&#091;'Port'&#093;);</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; Result = CheckDatabaseHealth(vHost, vUser, vPass, vDB, vPort);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else&nbsp;</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Ayarlar bulunamadı.');</div><div>&nbsp; &nbsp; &nbsp; Result = False;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('LoadAndConnect Exception: ' + LastExceptionMessage);</div><div>&nbsp; &nbsp; Result = False;</div><div>&nbsp; }</div><div>}</div><div>{</div><div><br></div><div>&nbsp; WatchdogTimer = nil;</div><div>}<br><br><br><br><br><br></div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Wed, 04 Feb 2026 14:50:15 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1260&amp;PID=2812#2812</guid>
  </item> 
  <item>
   <title><![CDATA[Açılan Console Ekranını Kapatma : Kodumda e&#287;er ki bilgiler yanl&#305;&#351;...]]></title>
   <link>https://forum.clomosy.com.tr/forum_posts.asp?TID=1260&amp;PID=2811#2811</link>
   <description>
    <![CDATA[<strong>Yazar:</strong> <a href="https://forum.clomosy.com.tr/member_profile.asp?PF=344">M-Guney</a><br /><strong>Konu:</strong> 1260<br /><strong>Gönderim Zamanı:</strong> 04&nbsp;Şubat&nbsp;2026 Saat 14:46<br /><br />Kodumda eğer ki bilgiler yanlış girilirse timeout veriyor ve ardından bir console ekranı açılıyor o ekranı kapatmanın yolunu bulamadım. Mobilde o ekran geldikten sonra Edit inputlarını bozuyor değişmiş olan input u görmüyor eskiye sabit kalıyor.<br><br><div>var</div><div>&nbsp; ConfigList : TClStringList;</div><div>&nbsp; ConfigPath : String;</div><div>&nbsp; WatchdogTimer : TClTimer;</div><div>&nbsp; IsChecking : Boolean;</div><div>&nbsp; InheritedForm : TclForm;</div><div>&nbsp; CheckQuery : TClSqlQuery;</div><div><br></div><div>void InitForm(AForm : TclForm);</div><div>{</div><div>&nbsp; InheritedForm = AForm;</div><div>}</div><div><br></div><div>void InitConfig;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; ConfigPath = Clomosy.AppFilesPath + 'db_config.txt';</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (ConfigList == nil)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ConfigList = Clomosy.StringListNew;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (clFileExists('db_config.txt', Clomosy.AppFilesPath))</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ConfigList.Text = clLoadFromFile(ConfigPath);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('InitConfig Exception: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void SaveDBConnection(AHost, AUser, APass, ADBName : String; APort: Integer);</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; if (ConfigList == nil) { ConfigList = Clomosy.StringListNew; }</div><div>&nbsp; &nbsp; ConfigList.Clear;</div><div>&nbsp; &nbsp; ConfigList.Add('Host=' + AHost);</div><div>&nbsp; &nbsp; ConfigList.Add('User=' + AUser);</div><div>&nbsp; &nbsp; ConfigList.Add('Pass=' + APass);</div><div>&nbsp; &nbsp; ConfigList.Add('DB=' + ADBName);</div><div>&nbsp; &nbsp; ConfigList.Add('Port=' + IntToStr(APort));</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; clSaveToFile(ConfigPath, ConfigList.Text);</div><div>&nbsp; &nbsp; ShowMessage('Database configuration saved successfully.');</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('SaveDBConnection Exception: ' + LastExceptionMessage);</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void OnHealthTimeout;</div><div>{</div><div>&nbsp; if (IsChecking == True)</div><div>&nbsp; {</div><div>&nbsp; &nbsp; IsChecking = False;</div><div>&nbsp; &nbsp; WatchdogTimer.Enabled = False;</div><div>&nbsp; &nbsp; ShowMessage('Connection Timeout: Server 5 saniye içinde cevap vermedi.');</div><div>&nbsp; }</div><div>}</div><div><br></div><div>void SetupTimer;</div><div>{</div><div>&nbsp; if ((WatchdogTimer == nil) &amp;&amp; (InheritedForm &lt;&gt; nil))</div><div>&nbsp; {</div><div>&nbsp; &nbsp; WatchdogTimer = InheritedForm.AddNewTimer(InheritedForm, 'WatchdogTimer', 5000);</div><div>&nbsp; &nbsp; WatchdogTimer.Enabled = False;</div><div>&nbsp; &nbsp; InheritedForm.AddNewEvent(WatchdogTimer, tbeOnTimer, 'OnHealthTimeout');</div><div>&nbsp; }</div><div>}</div><div><br></div><div>function CheckDatabaseHealth(AHost, AUser, APass, ADBName : String; APort: Integer): Boolean;</div><div>{</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Result = False;</div><div>&nbsp; &nbsp; SetupTimer;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (WatchdogTimer == nil)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Hata: Timer başlatılamadı. InitForm çağrıldığından emin olun.');</div><div>&nbsp; &nbsp; &nbsp; exit;</div><div>&nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; IsChecking = True;</div><div>&nbsp; &nbsp; WatchdogTimer.Interval = 5000;&nbsp;</div><div>&nbsp; &nbsp; WatchdogTimer.Enabled = True;</div><div><br></div><div>&nbsp; &nbsp; // Step 1: Connectivity Check</div><div>&nbsp; &nbsp; Clomosy.DBSQLServerConnect('SQL Server', AHost, AUser, APass, ADBName, APort);</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; // Step 2: Lazy Initialization of Query</div><div>&nbsp; &nbsp; CheckQuery.SQL.Text = 'SELECT DB_ID(' + QuotedStr(ADBName) + ') as db_found';</div><div>&nbsp; &nbsp; CheckQuery.Open;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; if (IsChecking == True)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; IsChecking = False;</div><div>&nbsp; &nbsp; &nbsp; WatchdogTimer.Enabled = False;</div><div><br></div><div>&nbsp; &nbsp; &nbsp; if (CheckQuery.FieldByName('db_found').AsString == '')</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; ShowMessage('Hata: Database bulunamadı.');</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Result = False;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Clomosy.DBSQLServerConnect('SQL Server', AHost, AUser, APass, ADBName, APort);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Result = True;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; IsChecking = False;</div><div>&nbsp; &nbsp; if (WatchdogTimer &lt;&gt; nil)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; WatchdogTimer.Enabled = False;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; ShowMessage('Bağlantı Hatası: ' + LastExceptionMessage);</div><div>&nbsp; &nbsp; Result = False;</div><div>&nbsp; }</div><div>}</div><div><br></div><div>function LoadAndConnect: Boolean;</div><div>var</div><div>&nbsp; vHost, vUser, vPass, vDB : String;</div><div>&nbsp; vPort : Integer;</div><div>{</div><div>&nbsp; InitConfig;</div><div>&nbsp; try</div><div>&nbsp; &nbsp; Result = False;</div><div>&nbsp; &nbsp; if (ConfigList.Count &gt; 0)</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; vHost = ConfigList.Values&#091;'Host'&#093;;</div><div>&nbsp; &nbsp; &nbsp; vUser = ConfigList.Values&#091;'User'&#093;;</div><div>&nbsp; &nbsp; &nbsp; vPass = ConfigList.Values&#091;'Pass'&#093;;</div><div>&nbsp; &nbsp; &nbsp; vDB&nbsp; &nbsp;= ConfigList.Values&#091;'DB'&#093;;</div><div>&nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; if (ConfigList.Values&#091;'Port'&#093; == '')</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; vPort = 1433;</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; else</div><div>&nbsp; &nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; vPort = StrToInt(ConfigList.Values&#091;'Port'&#093;);</div><div>&nbsp; &nbsp; &nbsp; }</div><div>&nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; Result = CheckDatabaseHealth(vHost, vUser, vPass, vDB, vPort);</div><div>&nbsp; &nbsp; }</div><div>&nbsp; &nbsp; else&nbsp;</div><div>&nbsp; &nbsp; {</div><div>&nbsp; &nbsp; &nbsp; ShowMessage('Ayarlar bulunamadı.');</div><div>&nbsp; &nbsp; &nbsp; Result = False;</div><div>&nbsp; &nbsp; }</div><div>&nbsp; except</div><div>&nbsp; &nbsp; ShowMessage('LoadAndConnect Exception: ' + LastExceptionMessage);</div><div>&nbsp; &nbsp; Result = False;</div><div>&nbsp; }</div><div>}</div><div>{</div><div>&nbsp; WatchdogTimer = nil;</div><div>}</div><a href="https://static.cloudflareinsights.com/beac&#111;n.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015" target="_blank" rel="nofollow">https://static.cloudflareinsights.com/beacon.min.js/vcd15cbe7772f49c399c6a5babf22c1241717689176015"</a> integrity="sha512-ZpsOmlRQV6y907TI0dKBHq9Md29nnaEIPlkf84rnaERnq6zvWvPUqr2ft8M1aS28oN72PdrCzSjY4U6VaAw1EQ==" data-cf-beacon="{&quot;version&quot;:&quot;2024.11.0&quot;,&quot;token&quot;:&quot;439455f3e46c40b98dbd42a2f1a954d8&quot;,&quot;r&quot;:1,&quot;server_timing&quot;:{&quot;name&quot;:{&quot;cfCacheStatus&quot;:true,&quot;cfEdge&quot;:true,&quot;cfExtPri&quot;:true,&quot;cfL4&quot;:true,&quot;cfOrigin&quot;:true,&quot;cfSpeedBrain&quot;:true},&quot;location_startswith&quot;:null}}" crossorigin="anonymous">]]>
   </description>
   <pubDate>Wed, 04 Feb 2026 14:46:28 +0000</pubDate>
   <guid isPermaLink="true">https://forum.clomosy.com.tr/forum_posts.asp?TID=1260&amp;PID=2811#2811</guid>
  </item> 
 </channel>
</rss>