Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
GeneralRe: create propertie list<> Pin
DaveyM6923-Jan-09 11:52
professionalDaveyM6923-Jan-09 11:52 
QuestionSAPI 5 Dictation, how do I define a limited domain grammar? Pin
brossen23-Jan-09 9:48
brossen23-Jan-09 9:48 
QuestionDeploying Database Pin
ziwez023-Jan-09 9:21
ziwez023-Jan-09 9:21 
AnswerRe: Deploying Database Pin
EliottA23-Jan-09 9:23
EliottA23-Jan-09 9:23 
GeneralRe: Deploying Database PinPopular
User 665823-Jan-09 9:57
User 665823-Jan-09 9:57 
JokeRe: Deploying Database Pin
PIEBALDconsult23-Jan-09 12:58
mvePIEBALDconsult23-Jan-09 12:58 
GeneralRe: Deploying Database Pin
ziwez016-Feb-09 21:16
ziwez016-Feb-09 21:16 
AnswerRe: Deploying Database Pin
Ennis Ray Lynch, Jr.23-Jan-09 9:47
Ennis Ray Lynch, Jr.23-Jan-09 9:47 
The easiest way I have found to deploy a database is to embed it in the assembly and then on first start check the application data directory for the file. If it doesn't exist write it using GetType().Assembly.GetManifestResourceStream("theEmbeddedName") which returns a stream that I save to a file.

The application data path is
System.Windows.Forms.Application.CommonAppDataPath

embed a file in an assembly is as easy as adding it the project and selecting Build Action:Embedded Resource.


Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.


If you don't ask questions the answers won't stand in your way.


Most of this sig is for Google, not ego.


AnswerRe: Deploying Database [modified] Pin
PIEBALDconsult23-Jan-09 13:05
mvePIEBALDconsult23-Jan-09 13:05 
AnswerRe: Deploying Database Pin
Alex Casals23-Jan-09 23:32
professionalAlex Casals23-Jan-09 23:32 
QuestionC# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
Wheels01223-Jan-09 9:13
Wheels01223-Jan-09 9:13 
AnswerRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
DaveyM6923-Jan-09 9:16
professionalDaveyM6923-Jan-09 9:16 
GeneralRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
Wheels01223-Jan-09 9:29
Wheels01223-Jan-09 9:29 
GeneralRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
DaveyM6923-Jan-09 10:03
professionalDaveyM6923-Jan-09 10:03 
GeneralRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
Wheels01226-Jan-09 1:32
Wheels01226-Jan-09 1:32 
GeneralRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
Wheels01228-Jan-09 2:05
Wheels01228-Jan-09 2:05 
GeneralRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
DaveyM6928-Jan-09 7:08
professionalDaveyM6928-Jan-09 7:08 
GeneralRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
Wheels01228-Jan-09 8:37
Wheels01228-Jan-09 8:37 
GeneralRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
DaveyM6928-Jan-09 9:41
professionalDaveyM6928-Jan-09 9:41 
GeneralRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
DaveyM6930-Jan-09 9:28
professionalDaveyM6930-Jan-09 9:28 
GeneralRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
Wheels01230-Jan-09 9:31
Wheels01230-Jan-09 9:31 
GeneralRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
Wheels0124-Feb-09 2:47
Wheels0124-Feb-09 2:47 
GeneralRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
Wheels0124-Feb-09 8:08
Wheels0124-Feb-09 8:08 
GeneralRe: C# Populate Multi column (2) combobox with existing dataset (hide record #) Pin
DaveyM694-Feb-09 13:16
professionalDaveyM694-Feb-09 13:16 
QuestionSplash Screen / Init question Pin
EliottA23-Jan-09 8:50
EliottA23-Jan-09 8:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.