Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Saving file from stream to a folder on desktop - c#
Closed Thread
Old 12-19-2007, 06:21 PM   #1 (permalink)
 
Super Techie

Join Date: Jul 2006

Posts: 486

ZeroShade is on a distinguished road

Default Saving file from stream to a folder on desktop - c#

So i'm using a filestream to open up a location on my desktop using c# however... it keeps telling me that access is denied. Any ideas?

FileStream saveLocation = new FileStream("C:\\Users\\Me\\Desktop\\Cam Pictures", FileMode.OpenOrCreate, FileAccess.Write);
__________________
Live And Let Learn.
ZeroShade is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
WTF is a Bad Block? MikesCreation Hardware Troubleshooting 18 02-24-2008 09:31 PM
Using an HTML file as your desktop madcat75 Windows Operating Systems and Software 10 10-02-2007 02:56 PM
Hard Drive Errors!!! Bad or Faulty HDD? mike4realz Hardware Troubleshooting 3 09-19-2007 01:56 AM
seagate 80gigs failing.. acuariano Hardware Troubleshooting 27 08-27-2007 10:43 PM
Another Hijack Log boo HijackThis Logs (finished) 17 06-26-2007 12:30 PM