Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old May 26th, 2011, 01:12 PM
Registered User
 
Join Date: May 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default File release

I am trying to get info to go into a file. The problem I am having is once I create the file and then try to write to it it says the file is being used by another process. Does anyone know how to release the file after it has been created using the System.IO.file
  #2 (permalink)  
Old May 27th, 2011, 03:12 AM
Imar's Avatar
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

This isn't about JavvaScript, is it? If it's not, and it's about .NET, you're far better off posting this in one of the appropriate general .NET categories from this list: http://p2p.wrox.com/

If you post there, be sure to post your code along with it as it's impossible to recommend improvements without seeing your code.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
  #3 (permalink)  
Old May 27th, 2011, 04:54 AM
Registered User
 
Join Date: Apr 2011
Location: USA
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default File Release

That problem occurs when you can open data file same file multiple time when file is loaded.The process is going on you will stop a little bit time,at that time process of I/O system carry.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Release Date tlpearceii BOOK: Silverlight 4 Problem - Design - Solution 0 April 22nd, 2010 01:11 PM
debug vs. release xagutxu Visual C++ 0 September 16th, 2009 07:46 AM
Need to release file after File.Create... VBtyler Visual Basic 2008 Essentials 2 May 19th, 2009 07:12 AM
Release problem jeusdi .NET Framework 1.x 0 February 27th, 2007 11:19 AM
Release date Daniel.K62 BOOK: Beginning C# 2005 Databases 2 October 30th, 2006 03:00 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.