Hi All,

I have a problem about using PIA(Primary Interop Assembly) in vb.net. I declare a variable handling the Microsoft.Offic e.Interop.Excel .Application like this dim sample as Microsoft.Offic e.Interop.Excel .Application and instantiate like this sample =New Microsoft.Offic e.Interop.Excel .Application. when I run the program I got this error "ACCESS DENIED", i trace the program and the origin of the error is this code sample...