TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Muhammad Irshad
NA
55
39.8k
Difference in WinForm Application and WPF Application
Apr 12 2012 8:51 AM
Hi Guys,
There is interesting problem down here.
I use this code
If My.User.CurrentPrincipal.IsInRole("Administrators") Then
MsgBox("Administrator")
Else
MsgBox("Not Administrator")
End If
in two different applications with below specs:
1. Windows Form Application with .NET Framework 3.5 (VB.NET)
2. WPF Windows Applciation with .NET Framework 3.5 (VB.NET)
In WinForm app it shows Administrator in Message Box. But, in WPF it shows Not Administrator.
What is reason behind this ? Any idea ?
Thanks,
Regards,
Itz.Irshad
Reply
Answers (
5
)
Rebuild all Failed with errors
How to bind ToolTip to a DisplayAttribute