Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
I Need To Copy My "Database" File in Solution Explorer In Visual Studio 2012 IDE To
 
Windows.Storage.ApplicationData.Current.LocalFolder.Path
 
To That Path Because If I WOn't COpy My SQlite Database File To Local Folder ,,,The Databse Access Is Very Very Slow I Checked In Sqlite Winrt So My Question,,
 
How To Copy The File To Local AppData Folder While Installation HElp Me????
 
Something Like
 
Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path,????????);
 
?????????WHat Is The Syntax Help??????/
Posted 20-Feb-13 6:40am
(unknown member)
Edited 21-Feb-13 2:53am
v4
Comments
Richard MacCutchan at 20-Feb-13 13:23pm
   
If you mean at project build time, then you probably need to define a custom tool in the properties box.
PrabaPrakash at 20-Feb-13 15:13pm
   
I Need To Copy My "Database" File in Solution Explorer In Visual Studio 2012 IDE To

Windows.Storage.ApplicationData.Current.LocalFolder.Path

To That Path Because If I WOn't COpy My SQlite Database File To Local Folder ,,,The Databse Access Is Very Very Slow I Checked In Sqlite Winrt So My Question,,

How To Copy The File To Local AppData Folder While Installation HElp Me????

Something Like

Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path,????????);

?????????WHat Is The Syntax Help??????/
Richard MacCutchan at 21-Feb-13 5:49am
   
Sorry, I am not familiar with installation scripts. I am also interested to know why you think it will run faster if you copy it to a different location.
PrabaPrakash at 21-Feb-13 5:56am
   
I too Confused Why its Happening Its A Wonderful You need to Know basically Metro App Developer Wondering "sqlite winrt is too slow"it's take 3sec for search in database",
but i copied the database into application appdata folder it was c:/>users/uesr_name/appdata/local/package.
The Accessing Speed i is now more fast then i used before its amazing .....
exactly in my database.db3 58 thousand records are the i used to search the word and get the meaning my main idea of my project that the answer for your question ,,thank you so much for your cooperation
PrabaPrakash at 20-Feb-13 15:30pm
   
no while installing it need to copy some particular file to applicationdata folder
Sergey Alexandrovich Kryukov at 20-Feb-13 14:21pm
   
What is "bin" folder? How it's not local? What's the problem?
—SA
PrabaPrakash at 20-Feb-13 15:13pm
   
I Need To Copy My "Database" File in Solution Explorer In Visual Studio 2012 IDE To

Windows.Storage.ApplicationData.Current.LocalFolder.Path

To That Path Because If I WOn't COpy My SQlite Database File To Local Folder ,,,The Databse Access Is Very Very Slow I Checked In Sqlite Winrt So My Question,,

How To Copy The File To Local AppData Folder While Installation HElp Me????

Something Like

Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path,????????);

?????????WHat Is The Syntax Help??????/
Sergey Alexandrovich Kryukov at 20-Feb-13 15:19pm
   
The file is "not in Solution Explorer".
You hardly can get help is you are doing like this. First, you should get basic understanding of what your computer and OS do, before getting to writing any code...
—SA
PrabaPrakash at 20-Feb-13 15:28pm
   
Its Time Now exactly 1.51 am In India....
I JUst Want To How To Copy Particular File While Building Application To
C:\Users\uername\AppData\Local\Packages\applicationdata folder
and also
sqlite for winrt is slow it take 3 sec for search if you embedded the database in a installation folder i don't know what the problem
and understand question first?
we will just asking help?i you know tell me?
no problem i will stackoverflow otherwise i will contact my elder friends.
PrabaPrakash at 20-Feb-13 15:28pm
   
don't under estimate
Sergey Alexandrovich Kryukov at 20-Feb-13 19:07pm
   
What should I possibly "estimate", if you probably did not even take a look at System.IO. Would File.Copy resolve the problem? Of you did it and got access denied?
You need to do some minimal search before asking questions...
—SA
PrabaPrakash at 21-Feb-13 8:50am
   
I Got It .........
PrabaPrakash at 20-Feb-13 15:14pm
   
Help Me Please ?My Mind Blowing For past 3hrs
PrabaPrakash at 20-Feb-13 21:39pm
   
http://www.codeproject.com/Articles/432876/Windows-8-The-Right-Way-to-Read-Write-Files-in-Win
 
i got this think i actually for windows 8 metro app development
 
file.copy class not foung in system.io thank you for your conversation.....Your Are Great You answered so much for past 5 years continue you great job once again thankyou

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 365
1 CPallini 335
2 BillWoodruff 324
3 George Jonsson 319
4 Gihan Liyanage 225
0 OriginalGriff 5,050
1 CPallini 4,225
2 Sergey Alexandrovich Kryukov 3,639
3 George Jonsson 2,911
4 Gihan Liyanage 2,386


Advertise | Privacy | Mobile
Web03 | 2.8.140916.1 | Last Updated 21 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100