Elow guys need help on why it occurs error in my vb.net2005 while on 2003 it does not have an error..Here is my code:
Code:Dim aConfig As Configuration.ConfigurationSettings Dim strServerName As String = aConfig.AppSettings("ServerName")
on my app.config file here is the code:
At my first child form it display no problem but when i call child of my first child form it displays "Access of shared members, constant member, enum member, or nested type through an instance; qualifying expression will not be evaluated". Why this error comes out guys? Need help on how to do it..Thanks in advance and have a nice day! God Bless..Code:<?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="ServerName" value="(local)"/> </appSettings> </configuration>





Reply With Quote