Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
dear Friends,
I make a small application which is just upload file from hard disk to Server, i have 8 different locations and every location little bit change file like
LOC01
LOC04 etc
 
Here i want when the application installed user can add manually file name for the first time.
 
so how can i store this file name w/o using any data base .. thanks for your help
Posted 22-Apr-13 2:06am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You can either store this information in a file somewhere appropriate or in the registry. Personally, I like the file option better as it's more flexible.
  Permalink  
Comments
saleem.mukhtiar at 22-Apr-13 8:19am
   
Can you give me any small example ... sorry but Little bit new ..
 
file means use some .txt file or else ???
Dave Kreskowiak at 22-Apr-13 8:23am
   
Text file, XML, binary (not recommended in thsi case), application settings, ...
 
For settings, you can start by reading http://msdn.microsoft.com/en-us/library/a65txexh(v=vs.80).aspx
 
For serializeing an object you make to XML you can read https://www.google.com/#hl=en&sclient=psy-ab&q=vb.net+serialize+to+XML&oq=vb.net+serialize+to+XML&gs_l=serp.3..0j0i22i30l3.3693.6765.0.6999.16.11.0.5.5.0.179.1106.8j3.11.0...0.0...1c.1.9.psy-ab.WVRh9ips0d4&pbx=1&bav=on.2,or.r_qf.&fp=78381bbe686eaba4&biw=1920&bih=1105

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 480
1 Bhavik_Patel 190
2 Richard MacCutchan 155
3 PhilLenoir 155
4 Gihan Liyanage 155
0 Sergey Alexandrovich Kryukov 8,688
1 OriginalGriff 7,237
2 CPallini 2,598
3 Richard MacCutchan 2,080
4 Abhinav S 1,888


Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 22 Apr 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