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.Application.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.Security.Permissions.RegistryPermission, mscorlib, Version=, 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

dim path= System.IO.Directory.GetCurrentDirectory()
dim path = System.IO.Path.GetDirectoryName(System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName)

thanks for giving me anser, n its also working now.
Now can u tell me how to access this broser based wpf application from client machine?
Thanks again