Hey, I'm just trying to code a simple program that will create and save a simple .txt file but when I try and save It I get "Access to the path 'C:\' is denied." Can anyone help me with this?
Thank you
Try restart your pc, or maybe you added anykind of protection from your admin account
Nope none of those worked but it's only the "C:\" folder I can't use. If I wanna use the desktop instead then I can
You have to make the program your making run as administrator not VB/VS
Google "VB.NET How to make my program run as admin"
btw I wouldn't use C drive as a destination at all "Application.startpath"
Right click on the program>run as admin> profit?
Nah admin rights don't work, and its fine But now I can save in other locations I don't really wanna save stuff to the location C:\ anyways
Thank you all for the help