<?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>WinForms</title><link>https://www.dotnetzone.gr:443/cs/forums/12/ShowForum.aspx</link><description>Θέματα για rich client / windows εφαρμογές, σε οποιαδήποτε γλώσσα (VB.NET, C#, managed C++, κ.α.)</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Πρόβλημα στο ShowDialog</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23867.aspx</link><pubDate>Tue, 23 Jan 2007 03:56:13 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23867</guid><dc:creator>Nassos.NET</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23867.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23867</wfw:commentRss><description>Πότε πέρνω κανονακι???? looooooool&lt;br /&gt;
&lt;br /&gt;</description></item><item><title>Απ: Πρόβλημα στο ShowDialog</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23865.aspx</link><pubDate>Tue, 23 Jan 2007 03:03:14 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23865</guid><dc:creator>KelMan</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23865.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23865</wfw:commentRss><description>Βάζεις και το "Σας βοήθησε η απάντηση" στην απάντηση που σε βοήθησε σε "Ναι, με βοήθησε" &lt;img src="/cs/emoticons/emotion-5.gif" alt="Wink" /&gt;</description></item><item><title>Απ: Πρόβλημα στο ShowDialog</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23864.aspx</link><pubDate>Tue, 23 Jan 2007 03:01:40 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23864</guid><dc:creator>nts</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23864.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23864</wfw:commentRss><description>Ναι σωστά. πως γίνεται αυτό γιατί είμαι νέους :)</description></item><item><title>Απ: Πρόβλημα στο ShowDialog</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23863.aspx</link><pubDate>Tue, 23 Jan 2007 02:34:18 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23863</guid><dc:creator>Nassos.NET</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23863.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23863</wfw:commentRss><description>looool το φαντάστικα!! &lt;br /&gt;
&lt;br /&gt;
Αν το πρόβλημα λύθηκε κανε και το post σου Resolved!! ;-)</description></item><item><title>Απ: Πρόβλημα στο ShowDialog</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23862.aspx</link><pubDate>Tue, 23 Jan 2007 02:25:45 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23862</guid><dc:creator>nts</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23862.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23862</wfw:commentRss><description>Σ' ευχαριστώ πολύ. όντως λύθηκε.&lt;br /&gt;
&lt;br /&gt;
Μπα δεν νιώθω τόοοσο τυχερός!!!</description></item><item><title>Απ: Πρόβλημα στο ShowDialog</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23861.aspx</link><pubDate>Tue, 23 Jan 2007 02:08:56 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23861</guid><dc:creator>Nassos.NET</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23861.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23861</wfw:commentRss><description>&lt;P&gt;και αν δεν θες να βγάλεις το(Application.EnableVisualStyles() )&lt;/P&gt;
&lt;P&gt;και νίωθεις τυχερός κάνε το &lt;A href="http://blogs.msdn.com/asanto/archive/2004/08/18/216825.aspx"&gt;Implementation&lt;/A&gt; Του τύπου&lt;/P&gt;
&lt;P&gt;Hope that helped&lt;/P&gt;
&lt;P&gt;Nassos&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Απ: Πρόβλημα στο ShowDialog</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23860.aspx</link><pubDate>Tue, 23 Jan 2007 02:03:01 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23860</guid><dc:creator>Nassos.NET</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23860.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23860</wfw:commentRss><description>Αν χρησιμοποιείς VS 2003 &lt;A href="http://www.hanselman.com/blog/PermaLink.aspx?guid=36187116-fbe3-4959-af04-c0c9e42479a5"&gt;Δες αυτό!!&lt;/A&gt;</description></item><item><title>Απ: Πρόβλημα στο ShowDialog</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23859.aspx</link><pubDate>Tue, 23 Jan 2007 01:56:16 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23859</guid><dc:creator>Nassos.NET</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23859.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23859</wfw:commentRss><description>Αν η γραμμή&lt;br /&gt;
&lt;br /&gt;
lfile = InputBox(strmsg) &lt;br /&gt;
&lt;br /&gt;
είναι μέσα στην frmLogin τοτε το προβλημα ειναι ότι προσπαθείς να ανοίξεις μια Dialog  (inputBox) από μέσα απο μία άλλη Dıalogç&lt;br /&gt;
&lt;br /&gt;
Συμβαίνει κατι τέτοιο?&lt;br /&gt;
&lt;br /&gt;
Νασος</description></item><item><title>Απ: Πρόβλημα στο ShowDialog</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23855.aspx</link><pubDate>Tue, 23 Jan 2007 01:01:18 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23855</guid><dc:creator>nts</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23855.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23855</wfw:commentRss><description>το καλώ από την Applicationmainform όταν ο χρήστης διαλέξει την εντολή από το menu.&lt;br /&gt;
&lt;br /&gt;
η sub main βρίσκεται στο module CommonCode.&lt;br /&gt;
&lt;br /&gt;
(δεν ξέρω αν σε διαφώτισα)&lt;br /&gt;
&lt;br /&gt;
ο λόγος που θέλω να είναι modal είναι για να μην μπορεί ο χρήστης να πατάει στα menu ενόσω γίνεται login στην database.</description></item><item><title>Απ: Πρόβλημα στο ShowDialog</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23853.aspx</link><pubDate>Tue, 23 Jan 2007 00:31:31 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23853</guid><dc:creator>Nassos.NET</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23853.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23853</wfw:commentRss><description>&lt;P&gt;Το &lt;/P&gt;
&lt;P&gt;"Dim f As New frmLogin &lt;BR&gt;f.Owner = Me f.ShowDialog(ApplicationMainForm) "&lt;/P&gt;
&lt;P&gt;που βρίσκετε?&lt;/P&gt;
&lt;P&gt;σε άλλη Function? σε άλλο class?&lt;/P&gt;
&lt;P&gt;αν μπορεις δώσε περισσότερα Infos!!&lt;/P&gt;
&lt;P&gt;Nassos&lt;BR&gt;&lt;/P&gt;</description></item><item><title>Πρόβλημα στο ShowDialog</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23850.aspx</link><pubDate>Mon, 22 Jan 2007 23:02:18 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23850</guid><dc:creator>nts</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23850.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23850</wfw:commentRss><description>Γειά σας και καλή χρονιά. 
&lt;br&gt;κάποια στιγμή παρουσιάστηκε ένα πρόβλημα με τις φόρμες που ανοίγω με showdialog και InputBox. &lt;br&gt;όταν κλείνει η modal φόρμα παίρνω μήνυμα "External component has thrown an exception".&lt;br&gt;&amp;nbsp;όταν οι φόρμες ανοίγουν με show δεν υπάρχει κανένα πρόβλημα.
&lt;br&gt;επισυνάπτω τον κώδικα εκκίνησης μήπως υπάρχει κάποιο πρόβλημα εδώ.&lt;br&gt;&lt;br&gt;Public Sub Main()&lt;br&gt;Dim splash As New frmSplash
            &lt;br&gt;&lt;br&gt;splash.Show()
            &lt;br&gt;splash.Update()

            &lt;br&gt;&lt;br&gt;ApplicationMainForm = New frmMain

            &lt;br&gt;&lt;br&gt;ApplicationMainForm.Show()
            &lt;br&gt;ApplicationMainForm.Update()
            &lt;br&gt;&lt;br&gt;splash.Close()
            &lt;br&gt;splash.Dispose()

             &lt;br&gt;&lt;br&gt;Application.EnableVisualStyles()
            &lt;br&gt;Application.Run(ApplicationMainForm)
        &lt;br&gt;&lt;br&gt;End Sub

&lt;br&gt;&lt;br&gt;το σκάσιμο συμβαίνει στο 
                &lt;br&gt;Dim f As New frmLogin
                &lt;br&gt;f.Owner = Me
                f.ShowDialog(ApplicationMainForm)

&lt;br&gt;&lt;br&gt;και στο
        &lt;br&gt;Dim lfile As String
        &lt;br&gt;lfile = InputBox(strmsg)

&lt;br&gt;&lt;br&gt;Μήπως έχετε κάποια λύση ή ιδέα 

&lt;br&gt;Ευχαριστώ
&lt;br&gt;Νίκος Τσούπρος</description></item></channel></rss>