S
sonali_reddy123
Hi all,
I have encountered a problem on running my vb.net application on vista.
The problem occcurs while writing the data to xml which I create in my
application path.
It fails to modify the xml and gives error as failed to write the data
to xml.
Same scenario works on other PC's who are not having vista.
The other thing is that if I set my application to run as an
administrator then this problem won't
occurs.
How should I resolve this issue. I can never expect that whoever is
using my application will run
it as an administrator.
What should I do in this case? Can I somehow run my application having
admin rignhts so it will
be able to do whatever it requires or is there something more to it.
I know that on vista file,folder and registry entries are securable
objects so have an restricted access to work on.
I have encountered a problem on running my vb.net application on vista.
The problem occcurs while writing the data to xml which I create in my
application path.
It fails to modify the xml and gives error as failed to write the data
to xml.
Same scenario works on other PC's who are not having vista.
The other thing is that if I set my application to run as an
administrator then this problem won't
occurs.
How should I resolve this issue. I can never expect that whoever is
using my application will run
it as an administrator.
What should I do in this case? Can I somehow run my application having
admin rignhts so it will
be able to do whatever it requires or is there something more to it.
I know that on vista file,folder and registry entries are securable
objects so have an restricted access to work on.