Added Folder

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Uri Dimant

    #1

    Added Folder

    Hello
    VS2005
    I have just added a new folder to my vb.net application (client data) and
    brougth two file (.gif) .Now I want to access to those files from my
    application. how can I do that? How cam I determine the path of the folder?
    Thanks


  • Dennis

    #2
    RE: Added Folder

    If the "client data" folder is put in the same directory as your application
    executable (bin directory when using the IDE), you can get the pat from
    Application.Exe cutablePath & "/client data" & "/"
    --
    Dennis in Houston


    "Uri Dimant" wrote:
    [color=blue]
    > Hello
    > VS2005
    > I have just added a new folder to my vb.net application (client data) and
    > brougth two file (.gif) .Now I want to access to those files from my
    > application. how can I do that? How cam I determine the path of the folder?
    > Thanks
    >
    >
    >[/color]

    Comment

    • Dennis

      #3
      RE: Added Folder

      Sorry, it sould have been
      Dim fi As New FileInfo(Applic ation.Executabl ePath)
      fi.DirectoryNam e & "\client data\"
      --
      Dennis in Houston


      "Uri Dimant" wrote:
      [color=blue]
      > Hello
      > VS2005
      > I have just added a new folder to my vb.net application (client data) and
      > brougth two file (.gif) .Now I want to access to those files from my
      > application. how can I do that? How cam I determine the path of the folder?
      > Thanks
      >
      >
      >[/color]

      Comment

      Working...