i got my project from vb 2005 upgraded to vb 2012..now i had so many problems..
like " dim dte as date = now " it says 'now' is not declared.
it may be inaccessible due to its protection level..why is that ?

Now is a property of he DateTime structure, so use:
Dim today As DateTime = DateTime.Now

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.