Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Getting an error From Richtextbox1.savefile

Getting an error From Richtextbox1.savefile

Scheduled Pinned Locked Moved Visual Basic
helpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bso_Cool
    wrote on last edited by
    #1

    I have designed a word processor with some special features anyways I can save the file one time but then after that I get a fileaccess error saying it is being used by another process but its not the only process was the savefile. Does anyone know whats wrong? Please help!

    L 1 Reply Last reply
    0
    • B Bso_Cool

      I have designed a word processor with some special features anyways I can save the file one time but then after that I get a fileaccess error saying it is being used by another process but its not the only process was the savefile. Does anyone know whats wrong? Please help!

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      yes, this is one of those confusing error messages. When it says that, it really means to say: "Failing to ... because the file is being used by this very process or maybe even another process". The typical cause is either one of these: 1. your app has the file still open, i.e. you forgot to dispose of the File, FileStream, or whatever relevant object you used earlier to access that file. 2. another app is busy accessing your file; typical candidates are indexing programs, and AntiVirus programs (both are very interested in fresh files!). If so, all it takes is a few seconds of patience and a retry. :)

      Luc Pattyn [Forum Guidelines] [My Articles] [My CP bug tracking] Nil Volentibus Arduum

      Season's Greetings to all CPians.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups