I want to integrate my Window application with Google Map to show the users(Which are basically locations) of my application in he Google map along with the tool tip to show whether a certain user/location has marked his attendance or not
I need to change a registry value using a console c# app. I am getting an error though but from what i see, the code is alright, any suggestions?
static void Main(string args)
RegistryKey rkHKLM = Registry.CurrentUser;
String site = "whatever site";
String regPath =("HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main");
I have an application that is basically built on Tab control. I have 8 tabs and i need to have different domains(e.g Admin, clerk, bursar, secretary) on my login where when a user under a specific domain clicks on a certain tab, an event is generated that prevents him from viewing the content of that tab
privatevoid Form1_Load(object sender, EventArgs e)
if ((Thread.CurrentPrincipal.IsInRole("admin"))) // admin in this case should be a domain name.
MessageBox.Show("You must be a member of the Manager or Administrator's roles to view username and password information", "Insufficient Permissions",
But now instead of
put something that will read the domain name. Something of that sort.
I'll appreciate any help
The CLR is 100% a user mode component. No kernel mode stuff at all.
Technically, the CLR maintains a single process space, and all .NET "processes" are segregated within that one process space. These are called Application Domains. The fact that they are really within the same process makes inter-application communication much simpler and faster.
The difficult we do right away...
...the impossible takes slightly longer.
Last Visit: 31-Dec-99 18:00 Last Update: 22-Sep-23 21:09