top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

VB.net: How to retrieve information from the configuration file at run time and design time?

+4 votes
395 views
VB.net: How to retrieve information from the configuration file at run time and design time?
posted Jul 29, 2014 by Muskan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Retrieve information from the configuration file at run time

  1. To retrieve information from the configuration file.

  2. Create an instance of AppSettingsReader to read the configuration file.

  3. Call the GetValue method to read values represented in the configuration file.

  4. To add configuration file entries

  5. Create elements in the node of the configuration file.

  6. Specify a value for the entry and a key in the element.

Credit: https://www.wikitechy.com/interview/VB.NET-configuration-file.html

answer Jul 19, 2017 by Manikandan J
Similar Questions
+3 votes

Can someone suggest me that how can I write the code for file compressing in VB.NET?

+5 votes

How to change postion if a contrl at runtime in vb.net?

...