Directory path

From: Tony Nixon (tony.nixon_at_eng.monash.edu.au)
Date: 11/27/03


Date: Fri, 28 Nov 2003 09:35:22 +1100

Hi all,

This is really dumb, but I've never had to do it before.

I have moved a large number of files that my program uses into a sub
directory.

eg C:\myproj\files

How do you programatically access these files from the 'myproj'
directory.

Ex..

Image1.Picture.LoadFromFile('\files\apicture.bmp'); // ?????

TIA

Tony



Relevant Pages

  • Re: Catching the New Page event in VBA
    ... Thanks, Tony, for your prompt reply. ... API calls, as it gets complicated. ... and the user types into a second ... Private Sub wdApp_WindowSelectionChange ...
    (microsoft.public.word.vba.general)
  • Re: Automatic saving and closing
    ... save the workbook and your users would re-open it prior to making any changes. ... Sub StartOnTime() ... Application.OnTime RunTime, "SaveAndCloseMe",, False ...
    (microsoft.public.excel.programming)
  • RE: Countdown timer
    ... Private Sub Workbook_Open ... This saves and closes the workbook after 2 hrs and 1 minute of inactivity. ... Dim TimeRemaining As Long ...
    (microsoft.public.excel.programming)
  • RE: Message boxes
    ... "Steve the large" wrote: ... Private Sub CommandButton1_Click ... any of them haven't been populated when a command button is clicked to move ...
    (microsoft.public.excel.programming)
  • Re: Close form?
    ... "Tony Williams" wrote in message ... >> Private Sub txtMontha_Exit ... >> Dim TitleStr As String ...
    (microsoft.public.access.formscoding)