lunchbox88
Programmer
I have an application that was recently run through the migration wizard to bring it from VB6 to VB.NET 2k3. I am having some issues with one particular thing...
The application accesses the registry using functions in ADVAPI32.dll. In VB6, everything works fine, and the API function (RegOpenKeyEx) returns "ERROR_SUCCESS." In .NET, it returns 1314 which I believe is the system error code for privilege not held.
Anyone run in to this, or something similiar before? Any ideas on how to resolve it?
Thanks
The application accesses the registry using functions in ADVAPI32.dll. In VB6, everything works fine, and the API function (RegOpenKeyEx) returns "ERROR_SUCCESS." In .NET, it returns 1314 which I believe is the system error code for privilege not held.
Anyone run in to this, or something similiar before? Any ideas on how to resolve it?
Thanks