0

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=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

2
Contributors
2
Replies
4
Views
6 Years
Discussion Span
Last Post by satiss7pwr
0
dim path= System.IO.Directory.GetCurrentDirectory()
dim path = System.IO.Path.GetDirectoryName(System.Diagnostics.Process.GetCurrentProcess().MainModule.FileName)

Edited by __avd: n/a

0

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

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.