CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2002
    Location
    Hyderabad
    Posts
    76

    about config files

    Hi all,
    Can we have a custom config file other than web.config in asp.net application and app.config in windows application?
    Is .NET framework provides any way to access such config file programmatically?

    regards,
    Ashish Sheth

  2. #2
    Join Date
    Feb 2003
    Posts
    26

    Re: about config files

    What is the format of the config file? Is it XML or other type? If it is XML I would look into using the XMLDocument class.

    Hope that helps.

  3. #3
    Andy Tacker is offline More than "Just Another Member"
    Join Date
    Jun 2001
    Location
    55°50' N 37°39' E
    Posts
    1,503

    Re: about config files

    Quote Originally Posted by shethashish_a
    Hi all,
    Can we have a custom config file other than web.config in asp.net application and app.config in windows application?
    Is .NET framework provides any way to access such config file programmatically?

    regards,
    Nope, you will have to implement the config file yourself. one other way is to use XML as mentioned by clayk0he
    If you think you CAN, you can, If you think you CAN'T, you are probably right.

    Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured