Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 2.0 and Visual Studio. 2005 > .NET Framework 2.0
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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.
Reply With Quote
  #2 (permalink)  
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 -/
Reply With Quote
  #3 (permalink)  
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:18 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.