<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic GetOpenFileName from samples(advanced-win32) in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/GetOpenFileName-from-samples-advanced-win32/m-p/957143#M21080</link>
    <description>I am using that project for my purpose; I want to go little bit beyond-that is I want to open and edit a file from the list using say wordpad, word etc. What should I add after- &lt;BR /&gt; &lt;BR /&gt;status = GetOpenFileName(ofn) &lt;BR /&gt;if (status .eq. 0) then &lt;BR /&gt;  type *,'No file name specified' &lt;BR /&gt;else &lt;BR /&gt;  ! Get length of file_spec by looking for trailing NUL &lt;BR /&gt;  ilen = INDEX(file_spec,CHAR(0)) &lt;BR /&gt;  type *,'Filespec is ',file_spec(1:ilen-1) &lt;BR /&gt;  ! Example of how to see if user said "Read Only" &lt;BR /&gt;  !   &lt;BR /&gt;  if (IAND(ofn%flags,OFN_READONLY) /= 0) &amp;amp; &lt;BR /&gt;    type *,'Readonly was requested' &lt;BR /&gt;end if</description>
    <pubDate>Fri, 06 Jul 2001 02:28:36 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2001-07-06T02:28:36Z</dc:date>
    <item>
      <title>GetOpenFileName from samples(advanced-win32)</title>
      <link>https://community.intel.com/t5/Software-Archive/GetOpenFileName-from-samples-advanced-win32/m-p/957143#M21080</link>
      <description>I am using that project for my purpose; I want to go little bit beyond-that is I want to open and edit a file from the list using say wordpad, word etc. What should I add after- &lt;BR /&gt; &lt;BR /&gt;status = GetOpenFileName(ofn) &lt;BR /&gt;if (status .eq. 0) then &lt;BR /&gt;  type *,'No file name specified' &lt;BR /&gt;else &lt;BR /&gt;  ! Get length of file_spec by looking for trailing NUL &lt;BR /&gt;  ilen = INDEX(file_spec,CHAR(0)) &lt;BR /&gt;  type *,'Filespec is ',file_spec(1:ilen-1) &lt;BR /&gt;  ! Example of how to see if user said "Read Only" &lt;BR /&gt;  !   &lt;BR /&gt;  if (IAND(ofn%flags,OFN_READONLY) /= 0) &amp;amp; &lt;BR /&gt;    type *,'Readonly was requested' &lt;BR /&gt;end if</description>
      <pubDate>Fri, 06 Jul 2001 02:28:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/GetOpenFileName-from-samples-advanced-win32/m-p/957143#M21080</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-07-06T02:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: GetOpenFileName from samples(advanced-win32)</title>
      <link>https://community.intel.com/t5/Software-Archive/GetOpenFileName-from-samples-advanced-win32/m-p/957144#M21081</link>
      <description>See my Win32 Corner column in &lt;A href="http://www.compaq.com/fortran/visual/vfn08"&gt;Visual Fortran Newsletter Issue 8&lt;/A&gt;, which discusses the use of ShellExecute.  In your case, use the "edit" action, and it will automatically open the file in the application registered for that file type.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 06 Jul 2001 05:52:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/GetOpenFileName-from-samples-advanced-win32/m-p/957144#M21081</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-07-06T05:52:45Z</dc:date>
    </item>
  </channel>
</rss>

