By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,890 Members | 1,097 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,890 IT Pros & Developers. It's quick & easy.

file accessing via dll

P: n/a
Hi ,

I made a dll by windows control library in that I am creating a file
and thus accessin it. Then I am making a object of this using<object> but it
is unable to access the file system ,although it is working fine with
methods which are not dealing with FILE IO .
I tried and assert() ,created a .snk file and
used it in assembly but it is showing the same error ,permission denied to
access file system.

if anybody know the solution ,please help me.
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

Can you give more information inwhat context and how you are trying to
access the file system. The way you are doing it can significantly affect
the outcome. As example it could be just permission problems (are you
really allowed to write to this directory as a user?), if your code is
being run from a share or internet site it may not have enough permissions
to do file IO and this would require the admin to grant particular
permissions to the assembly (program cannot assume these permissions by
itself if they are not granted). It could be as simple as an incorrect path
or arguments passed to the file IO.
So, in short, it is difficult to say why this happens with the amount
information that you've given.

Vladimir [VB.Net team]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at

Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.