D
Denis Brkljacic
Hi,
Please, could anybody help me out to fix this... When I put this code:
Process [] aProcesses = Process.GetProcesses();
foreach (Process proc in aProcesses)
{
if (proc.MainModule.BaseAddress.ToInt32() == ExcelH)
{
Temp = proc;
}
}
What I get is error, Access Denied. What could I do to fix this, please?
My intention here was to browse through the processes and find the one that
matches Excel process (ExcelH = objExcel.Hinstance;
Thanks a lot,
/Denis
Please, could anybody help me out to fix this... When I put this code:
Process [] aProcesses = Process.GetProcesses();
foreach (Process proc in aProcesses)
{
if (proc.MainModule.BaseAddress.ToInt32() == ExcelH)
{
Temp = proc;
}
}
What I get is error, Access Denied. What could I do to fix this, please?
My intention here was to browse through the processes and find the one that
matches Excel process (ExcelH = objExcel.Hinstance;
Thanks a lot,
/Denis