<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Selecting a file to open' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Selecting a file to open' posted on the 'Pascal' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Wed, 19 Jun 2013 18:19:57 -0700</pubDate>
    <lastBuildDate>Wed, 19 Jun 2013 18:19:57 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Selecting a file to open</title>
      <link>http://www.programmersheaven.com/mb/pasprog/428739/428739/selecting-a-file-to-open/</link>
      <description>Okay, I know how to specify a given file to open for reading in data from within the program.  For example &lt;br /&gt;
&lt;br /&gt;
Const Fdata$:='C:\Data\Records.dat';&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
What I'm attempting to do is allow the user of the program to browse through their hard drive and the program to then obtain the path and name of file based on the users selection.&lt;br /&gt;
&lt;br /&gt;
In basic I could use Z$=Files$(1)&lt;br /&gt;
I need an equivalent function/ability inside of pascal.&lt;br /&gt;
Thoughts?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/428739/428739/selecting-a-file-to-open/</guid>
      <pubDate>Sat, 09 Jun 2012 09:49:17 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: Selecting a file to open</title>
      <link>http://www.programmersheaven.com/mb/pasprog/428739/428740/re-selecting-a-file-to-open/#428740</link>
      <description>Sorry about the duplication, received an internal forum error on original submission.&lt;br /&gt;
&lt;br /&gt;
Settun&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/428739/428740/re-selecting-a-file-to-open/#428740</guid>
      <pubDate>Sat, 09 Jun 2012 09:57:20 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: Selecting a file to open</title>
      <link>http://www.programmersheaven.com/mb/pasprog/428739/428748/re-selecting-a-file-to-open/#428748</link>
      <description>: Okay, I know how to specify a given file to open for reading in data &lt;br /&gt;
: from within the program.  For example &lt;br /&gt;
: &lt;br /&gt;
: Const Fdata$:='C:\Data\Records.dat';&lt;br /&gt;
: &lt;br /&gt;
: &lt;br /&gt;
: What I'm attempting to do is allow the user of the program to browse &lt;br /&gt;
: through their hard drive and the program to then obtain the path and &lt;br /&gt;
: name of file based on the users selection.&lt;br /&gt;
: &lt;br /&gt;
: In basic I could use Z$=Files$(1)&lt;br /&gt;
: I need an equivalent function/ability inside of pascal.&lt;br /&gt;
: Thoughts?&lt;br /&gt;
: &lt;br /&gt;
: Thanks in advance&lt;br /&gt;
: &lt;br /&gt;
First, I hope you realize that &lt;strong&gt;Fdata$&lt;/strong&gt; is not a valid Pascal identifier.&lt;br /&gt;
&lt;br /&gt;
Second, I don't know exactly what &lt;strong&gt;Files$(1)&lt;/strong&gt; does in BASIC.  However, there is no one line function in Pascal that is going to allow you to browse the hard drive.  You'll have to write one, and it won't be simple.  Do you want to go through that much trouble?  If so I'll try and show you how.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/428739/428748/re-selecting-a-file-to-open/#428748</guid>
      <pubDate>Sun, 10 Jun 2012 23:36:53 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: Selecting a file to open</title>
      <link>http://www.programmersheaven.com/mb/pasprog/428739/428751/re-selecting-a-file-to-open/#428751</link>
      <description>Yes I'm afraid I'm going to need some way for the user to be able to select the file through navigating their hard drive.&lt;br /&gt;
&lt;br /&gt;
As to what Files$(1) does, if you've ever used the open command from within a program and you get the nice window with the ability to browse through your disk drives / folders / files to finally find the correct one.&lt;br /&gt;
&lt;br /&gt;
The problem begins with the fact that everyone can install stuff onto their computers in different locations (drives/folders).  I'm trying to make the program usable by anyone, and since that is the case it needs to be able to find where the external data file is located.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Settun&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/428739/428751/re-selecting-a-file-to-open/#428751</guid>
      <pubDate>Mon, 11 Jun 2012 08:25:36 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: Selecting a file to open</title>
      <link>http://www.programmersheaven.com/mb/pasprog/428739/429026/re-selecting-a-file-to-open/#429026</link>
      <description>: &lt;br /&gt;
&lt;span style="color: Blue;"&gt;&lt;br /&gt;
: As to what Files$(1) does, if you've ever used the open command from &lt;br /&gt;
: within a program and you get the nice window with the ability to &lt;br /&gt;
: browse through your disk drives / folders / files to finally find &lt;br /&gt;
: the correct one.&lt;br /&gt;
: &lt;br /&gt;
: The problem begins with the fact that everyone can install stuff &lt;br /&gt;
: onto their computers in different locations (drives/folders).  I'm &lt;br /&gt;
: trying to make the program usable by anyone, and since that is the &lt;br /&gt;
: case it needs to be able to find where the external data file is &lt;br /&gt;
: located.&lt;br /&gt;
: &lt;br /&gt;
: Thanks,&lt;br /&gt;
: Settun&lt;br /&gt;
: &lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
I think what you want would be easier to accomplish with Delphi, not Pascal.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/428739/429026/re-selecting-a-file-to-open/#429026</guid>
      <pubDate>Wed, 04 Jul 2012 13:50:11 -0700</pubDate>
      <category>Pascal</category>
    </item>
  </channel>
</rss>