Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Embedded database
Message
 
To
09/09/2004 14:02:44
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00940745
Message ID:
00940761
Views:
21
If the DBF is read-only, you could simply add the DBF to the solution and set it up as an embedded resource. You can use Reflections to copy the DBF to a memory stream or local copy of the file while in use, and then delete it. Alternatively, if you're going to be reading/writing to the DBF, you can use ResourceWriter to work with the DBF stored in a .resource file (as opposed to being complied into the actual exe).

Embedded Resources Example (C#):
http://www.codeproject.com/dotnet/embeddedresources.asp

ResourceWriter Example(VB):
http://samples.gotdotnet.com/quickstart/howto/doc/readwriteresources.aspx
Previous
Reply
Map
View

Click here to load this message in the networking platform