Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
| Search | Today's Posts | Mark Forums Read
.NET Framework 2.0 For discussion of the Microsoft .NET Framework 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Framework 2.0 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
 
Old January 30th, 2008, 01:36 AM
jomet
Guest
 
Posts: n/a
Default How to roll back file system operations

Hi,

I want to roll back file system operation,
if some error occurs.

now i am trying to use System.Transactions.TransactionScope reading msdn.

Any one know how to do this,
Any sample or article links(google is giving db transactions mainly)
Please help me.

FYI. i am using VB.NET 2005 Express edition

regds:)

jomet.
---------------------------------------------
Once you start a working on something,
dont be afraid of failure and dont abandon it.
People who work sincerely are the happiest.
 
Old January 30th, 2008, 05:21 AM
samjudson's Avatar
Friend of Wrox
Points: 8,687, Level: 40
Points: 8,687, Level: 40 Points: 8,687, Level: 40 Points: 8,687, Level: 40
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2007
Location: Newcastle, , United Kingdom.
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

The only windows file system I could find that supports Transactions is the new Transactional NTFS, supported in Windows Vista and Windows Server 2008. http://msdn2.microsoft.com/en-us/library/aa363764.aspx

How you use this from .Net I've no idea.

/- Sam Judson : Wrox Technical Editor -/
 
Old February 2nd, 2008, 05:42 AM
jomet
Guest
 
Posts: n/a
Default


now i am trying to create a temp folder and do my operations
only on success full completion..
do the same on originals.

mimicking a transaction..
any problems??


jomet.
---------------------------------------------
Once you start a working on something,
dont be afraid of failure and dont abandon it.
People who work sincerely are the happiest.




Similar Threads
Thread Thread Starter Forum Replies Last Post
File I/O Operations in C++ code_lover C++ Programming 1 August 10th, 2008 12:16 PM
Compress (roll-up) table data jamez36 SQL Server 2000 1 July 4th, 2007 01:39 PM
stay on the new record - don't roll to next Sjackson Access 2 May 25th, 2005 09:25 AM
roll over buttons doll deluxe Dreamweaver (all versions) 1 February 26th, 2005 04:49 AM
Roll-over buttons with simple "click" sound? larry HTML Code Clinic 1 December 29th, 2003 07:29 PM





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