Hi,
I've made a class that uses the system.IO streams to read and write files (it also interacts with an SQL server).
The program works fine when I run it with a vb.net interface, but when I mark it as <ComClass()> and run it throught VB6 I get the following error:
Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=#### failed.
I've tried adding a fileIO security request to the assembly:
- but in vein
Anybody? Just the slightest clue might help me...
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
I've made a class that uses the system.IO streams to read and write files (it also interacts with an SQL server).
The program works fine when I run it with a vb.net interface, but when I mark it as <ComClass()> and run it throught VB6 I get the following error:
Request for the permission of type System.Security.Permissions.FileIOPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=#### failed.
I've tried adding a fileIO security request to the assembly:
Code:
<Assembly: FileIOPermission(SecurityAction.RequestMinimum)>
Anybody? Just the slightest clue might help me...
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'