<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Basic 6.0</title><link>https://www.dotnetzone.gr:443/cs/forums/25/ShowForum.aspx</link><description>Θέματα που αφορούν την VB6 και COM components</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Ευρεση ποιο Socket  εχει κλεισει</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/57174.aspx</link><pubDate>Thu, 18 Feb 2010 02:25:27 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:57174</guid><dc:creator>ntaryl</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/57174.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=25&amp;PostID=57174</wfw:commentRss><description>&lt;P&gt;Καλησπερα  και παλι   &lt;/P&gt;&lt;P&gt;Φιλε  μου  το Close event  &lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;SPAN style="color:Black;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;&lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Private&lt;/SPAN&gt; &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Sub&lt;/SPAN&gt; Listen_Sock_Close(Index &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Integer&lt;/SPAN&gt;)
&lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;On&lt;/SPAN&gt; &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Error&lt;/SPAN&gt; &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Resume&lt;/SPAN&gt; &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Dim&lt;/SPAN&gt; X &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Integer&lt;/SPAN&gt;
Listen_Sock(Index).Close
        Index &lt;SPAN style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/SPAN&gt; Index &lt;SPAN style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;-&lt;/SPAN&gt; 1
        
        Unload Listen_Sock(Index)

    &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;For&lt;/SPAN&gt; X &lt;SPAN style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/SPAN&gt; 1 &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;To&lt;/SPAN&gt; Lv.ListItems.&lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Count&lt;/SPAN&gt;
       &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;If&lt;/SPAN&gt; Lv.ListItems.&lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Item&lt;/SPAN&gt;(X).SubItems(1) &lt;SPAN style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/SPAN&gt; Index &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Then&lt;/SPAN&gt;
            Lv.ListItems.&lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Remove&lt;/SPAN&gt; (Lv.ListItems.&lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Item&lt;/SPAN&gt;(X).Index)
            
        
        
        &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Me&lt;/SPAN&gt;.SkNum.Caption &lt;SPAN style="color:Red;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;"("&lt;/SPAN&gt; &amp;amp; Lv.ListItems.&lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Count&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color:#666666;background-color:#e4e4e4;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;")"&lt;/SPAN&gt;
     &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Exit&lt;/SPAN&gt; &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Sub&lt;/SPAN&gt;
    &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;If&lt;/SPAN&gt;
  &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Next&lt;/SPAN&gt; X
&lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color:Blue;background-color:Transparent;font-family:Courier New;font-size:11px;font-weight:normal;"&gt;Sub&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;/P&gt;</description></item><item><title>Απ: Ευρεση ποιο Socket  εχει κλεισει</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/57173.aspx</link><pubDate>Wed, 17 Feb 2010 23:40:42 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:57173</guid><dc:creator>ntaryl</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/57173.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=25&amp;PostID=57173</wfw:commentRss><description>&lt;P&gt;Καλο απογευμα  &lt;/P&gt;&lt;P&gt;φιλε  μου   χρησιμοποιω  το winsock control που  ερχεται με την vb6  και array  ετσι  ωστε να  εχω την δυνατοτητα να  συνδεθουν  παραπανω  απο ενα.&lt;/P&gt;&lt;P&gt;Μολις  παω  σπιτι θα  ποσταρω  τον  κωδικα  για  το  Close event&lt;/P&gt;&lt;P&gt;ευχαριστω   &lt;/P&gt;</description></item><item><title>Απ: Ευρεση ποιο Socket  εχει κλεισει</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/57165.aspx</link><pubDate>Wed, 17 Feb 2010 17:00:06 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:57165</guid><dc:creator>George J. Capnias</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/57165.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=25&amp;PostID=57165</wfw:commentRss><description>&lt;P&gt;Αν χρησιμοποιείς το Winsock control που έρχεται με την VB6, όταν ένας remote client κλείνει τη σύνδεση, τότε το Close event του control κάνει fire-up. Αν έχεις control array, θα σου περάσει και το Index του control που έχει κλείσει η σύνδεση. &lt;/P&gt;
&lt;P&gt;Σε αυτό το event μπορείς να γράψεις το κώδικα που χρειάζεται για να κάνεις το clear-up στην εφαρμογή σου...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;George J.&lt;BR&gt;&lt;/P&gt;</description></item><item><title>Ευρεση ποιο Socket  εχει κλεισει</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/57161.aspx</link><pubDate>Wed, 17 Feb 2010 04:14:28 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:57161</guid><dc:creator>ntaryl</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/57161.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=25&amp;PostID=57161</wfw:commentRss><description>&lt;P&gt;καλησπερα  &lt;/P&gt;&lt;P&gt;Θελω να φτιαξω  ενα function ετσι ωστε οταν καποιος server  κλεινει  και  φευγει απο την λιστα (η συνδεση )να μπορω να γνωριζω πιο socket  εχει κλεισει . &lt;/P&gt;&lt;P&gt;ευχαριστω  πολυ  &lt;/P&gt;&lt;P&gt;καλο  βραδυ   &lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&lt;/P&gt;</description></item></channel></rss>