<?xml version="1.0" encoding="utf-8" ?>
<?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>Codejock Developer Community : CommonDialog FilterShowSave</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : CommonDialog FilterShowSave]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:33:18 +0000</pubDate>
  <lastBuildDate>Wed, 14 May 2008 07:23:47 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=10616</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[CommonDialog FilterShowSave : Hi,  we have to make it work...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10616&amp;PID=35182&amp;title=commondialog-filtershowsave#35182</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 10616<br /><strong>Posted:</strong> 14 May 2008 at 7:23am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>we have to make it work same as standard CommonDialog form Microsoft.</DIV><DIV>&nbsp;</DIV><DIV>Use CancelError property.</DIV><DIV>&nbsp;</DIV><DIV>Private Sub PushButton1_Click()</DIV><DIV><strong>&nbsp;On Error GoTo ErrHandler</strong></DIV><DIV>Dim FiNam As String</DIV><DIV>Set ComCom = Me.CommonDialog1</DIV><DIV>With ComCom<BR>&nbsp;<strong>&nbsp;&nbsp; .CancelError = True</strong><BR>&nbsp;<BR>&nbsp;&nbsp;&nbsp; '.DialogStyle = 1<BR>&nbsp;&nbsp;&nbsp; .DefaultExt = "*.jpg"<BR>&nbsp;&nbsp;&nbsp; .Filter = "Joint Photographic Experts Group (.jpg)|*.jpg|Windows Bitmap (.bmp)|*.bmp|Graphics Interchange Format (.gif)|*.gif|Tagged Image Format (.tif)|*.tif|Windows Metafile (.wmf)|*.wmf"<BR>&nbsp;&nbsp;&nbsp; .DialogTitle = "Wo befindet sich die Grafikdatei?"<BR>&nbsp;&nbsp;&nbsp; .InitDir = "c:\"<BR>&nbsp;&nbsp;&nbsp; .FileName = "c:\Test.jpg"<BR>'&nbsp;&nbsp;&nbsp; .FileTitle = ""<BR>&nbsp;&nbsp;&nbsp; .ShowSave<BR>&nbsp;&nbsp;&nbsp; FiNam = .FileName<BR>&nbsp;&nbsp;&nbsp; If .FileTitle = "" Then Exit Sub<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; MsgBox FiNam, vbInformation, .FileTitle<BR>End With</DIV><DIV><BR><strong>ErrHandler:<BR>&nbsp; 'User pressed the Cancel button<BR></strong>&nbsp; Exit Sub</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 14 May 2008 07:23:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10616&amp;PID=35182&amp;title=commondialog-filtershowsave#35182</guid>
  </item> 
  <item>
   <title><![CDATA[CommonDialog FilterShowSave : uploads/20080514_015455_CodeJo...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=10616&amp;PID=35174&amp;title=commondialog-filtershowsave#35174</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2660">McKloony</a><br /><strong>Subject:</strong> 10616<br /><strong>Posted:</strong> 14 May 2008 at 1:59am<br /><br /><a href="https://forum.codejock.com/uploads/20080514_015455_CodeJock_Dialog.zip" target="_blank">uploads/20080514_015455_CodeJock_Dialog.zip</A><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>How can i find out, if the user has pressed the Cancle Button of the ShowSave or ShgowOpen Dialog. If I check the FileTitle Porperty it only works teh first time of use.</DIV><DIV>&nbsp;</DIV><DIV>1. Open the attached VB sample</DIV><DIV>2. Press the Form Button and then press the Save Button in the ShowSave dialog</DIV><DIV>3. Then Press the Form Button again and then press the Cancle Button in the ShowSave dialog.</DIV><DIV>4. You will see, that die FileTitle Dialog shows agaon the content of the saved file in step 2.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 14 May 2008 01:59:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=10616&amp;PID=35174&amp;title=commondialog-filtershowsave#35174</guid>
  </item> 
 </channel>
</rss>