<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://rayharwood.com/Wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://rayharwood.com/Wiki/index.php?action=history&amp;feed=atom&amp;title=Open_File_Dialog</id>
		<title>Open File Dialog - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://rayharwood.com/Wiki/index.php?action=history&amp;feed=atom&amp;title=Open_File_Dialog"/>
		<link rel="alternate" type="text/html" href="http://rayharwood.com/Wiki/index.php?title=Open_File_Dialog&amp;action=history"/>
		<updated>2026-11-06T06:33:24Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.3</generator>

	<entry>
		<id>http://rayharwood.com/Wiki/index.php?title=Open_File_Dialog&amp;diff=33&amp;oldid=prev</id>
		<title>Rayharwood: Created page with &quot;This can easily be placed in a button handler or other code.          Try             Dim TheResult As DialogResult = ofdFileDialog.ShowDialog()             Select Case TheRes...&quot;</title>
		<link rel="alternate" type="text/html" href="http://rayharwood.com/Wiki/index.php?title=Open_File_Dialog&amp;diff=33&amp;oldid=prev"/>
				<updated>2013-05-21T13:42:47Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This can easily be placed in a button handler or other code.          Try             Dim TheResult As DialogResult = ofdFileDialog.ShowDialog()             Select Case TheRes...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This can easily be placed in a button handler or other code.&lt;br /&gt;
&lt;br /&gt;
        Try&lt;br /&gt;
            Dim TheResult As DialogResult = ofdFileDialog.ShowDialog()&lt;br /&gt;
            Select Case TheResult&lt;br /&gt;
                Case Windows.Forms.DialogResult.OK&lt;br /&gt;
                    'LogAction(&amp;quot;Selected file: &amp;quot; &amp;amp; ofdFileDialog.FileName)&lt;br /&gt;
                Case Else&lt;br /&gt;
                    LogAction(&amp;quot;User canceled process...&amp;quot;)&lt;br /&gt;
                    Exit Sub&lt;br /&gt;
            End Select&lt;br /&gt;
            ' Do processing here:&lt;br /&gt;
            ProcessDataFile(ofdFileDialog.FileName)&lt;br /&gt;
        Catch ex As Exception&lt;br /&gt;
            LogAction(&amp;quot;Error processing data: &amp;quot; &amp;amp; ex.Message)&lt;br /&gt;
        End Try&lt;/div&gt;</summary>
		<author><name>Rayharwood</name></author>	</entry>

	</feed>