Notices

Water Fountain General Chit/Chat

Reply
 
LinkBack Thread Tools
Old 03-02-06, 06:26 PM   #1 (permalink)
Aximsite Prospect
 
Join Date: Feb 2006
Posts: 10
Thanked 0 Times in 0 Posts
SD Card Buffering

I am using Dell Axim X-50's and X-51's with SD Cards inserted in them. The Cards contain my programs, text files, and my database(.sdf). I am working with vb.net8.0 CF2.0 using VS2005. I have several progams that look and decide if I have a SD Card or not, and write to the appropriate location(I can copy the programs and database to the device and run that way also)

I just did the following test:

Keyed an order and saved it.

Removed the card and placed into a similar device

Result: 3 out of 4 times, the order was not on the card, and no files were updated. The 4th time eveything was updated fine.

It appears that my database changes are being cached.

Anyone know how I can force a write at the critical stages to the SD Card?
CDurbin is offline   Reply With Quote
Sponsor Ads
Old 03-02-06, 10:06 PM   #2 (permalink)
Aximsite Prospect
 
Join Date: Feb 2006
Posts: 10
Thanked 0 Times in 0 Posts
Got a reply to try

Got this from MS - Ilya Tumanov . I will try it in the AM:

OK, so that's SQL Mobile database/NETCF V2.

I would suggest following:

1. Use transactions, sample is here:

http://msdn.microsoft.com/library/de...ctiontopic.asp

2. Try closing connection as soon as you're done updating the database.

3. Both 1 and 2.

I believe transaction alone should be enough and you will be notified of transaction failure even if card was removed during update.







--------------------------------------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
CDurbin is offline   Reply With Quote
Reply

Tags
buffering, card

Sponsor Ads

Thread Tools

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
WMP Streaming doesn't work: buffering til 100% -> stopped mhuhn.de Multimedia 11 07-01-05 03:06 PM
SOLD: Axim x50v w/ Extended Battery, Rhino Case, 1 GB SD card, 512 MB CF Card mishaq Pending and Completed Deals 6 06-06-05 02:08 PM
EXTERNAL CARD question... SD card/ CF Card... rasu X50 / X51 Accessories 3 05-02-05 12:31 PM
GSPlayer alternative with buffering? cawinters Multimedia 1 04-20-05 11:57 AM
MP3 player with Buffering & Playlist nofences Multimedia 4 04-03-03 06:42 PM


All times are GMT -5. The time now is 12:05 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC