Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. How to ditribute xml files with dll

How to ditribute xml files with dll

Scheduled Pinned Locked Moved Visual Basic
questioncsharpvisual-studioxmlhelp
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    Fawxes
    wrote on last edited by
    #1

    I'm writing a class project in visual studio 2003. Part of the data used by the classes is stored in xml files that the user will be able to edit. The classes are used by other applications and an end user could have more than one of these applications on their machine. How do I distribute the classes so that they know where to find the xml data files every time and they are only saved once. I had originally used the Application.StartupPath to find the folder where the class dll file is stored but, when I create another application the value returned by Application.StartupPath doesn't return the folder where the xml data files are stored it returns (quite rightly) the folder of the original application. Any idea on how I go about distributing and accessing these xml files? Any help would be gratefully received as this is a project I intend to open up on a 'do-what-you-want' licence without copyright and for all to use. Thanks in advance An optimist's glass is half full. A pesimist's glass is half empty. An engineer goes and gets the right size glass.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups