System.Windows.Forms.Application.StartupPath Not working in WPF

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • satiss7pwr
    New Member
    • Jan 2010
    • 41

    #1

    System.Windows.Forms.Application.StartupPath Not working in WPF

    i have one window application developed in VS 2005 which is running successfully on client side,My question is that now i want to convert this window application in WPF browser based application, so what should i keep in mind to convert this application to wpf applicaton,
    One more thing that in Window Application i have used one mdb file which contain database login detail, so on application startup this file is accessed using System.Windows. Forms.Applicati on.StartupPath+ @"/filename.mdb", now im just want to test only whether can i login to my application using WPF or not this time it give me this error "Request for the permission of type 'System.Securit y.Permissions.R egistryPermissi on, mscorlib, Version=2.0.0.0 , Culture=neutral " (hope some one understand my question)

    So if any one who understand my question than please show me some way to develop my application on WPF
  • prasad599
    New Member
    • Feb 2009
    • 24

    #2
    On which OS you are running the application ?

    Comment

    • satiss7pwr
      New Member
      • Jan 2010
      • 41

      #3
      Windows Xp,VS2008, 3.0 .net Framework(for wpf), Window Application(VS2 005)

      Comment

      Working...