Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: WMI Events can't get User | ManagementEventWatcher, __INstanceCreationEvent, Win32_Process GetOwner Pin
Member 1302224424-Feb-17 16:02
Member 1302224424-Feb-17 16:02 
QuestionHow to customize timer to fire my routine at specific time Pin
Tridip Bhattacharjee23-Feb-17 22:33
professionalTridip Bhattacharjee23-Feb-17 22:33 
AnswerRe: How to customize timer to fire my routine at specific time Pin
Pete O'Hanlon23-Feb-17 22:42
mvePete O'Hanlon23-Feb-17 22:42 
AnswerRe: How to customize timer to fire my routine at specific time Pin
OriginalGriff23-Feb-17 22:46
mveOriginalGriff23-Feb-17 22:46 
GeneralRe: How to customize timer to fire my routine at specific time Pin
Tridip Bhattacharjee23-Feb-17 22:50
professionalTridip Bhattacharjee23-Feb-17 22:50 
GeneralRe: How to customize timer to fire my routine at specific time Pin
OriginalGriff23-Feb-17 23:01
mveOriginalGriff23-Feb-17 23:01 
AnswerRe: How to customize timer to fire my routine at specific time Pin
Ralf Meier24-Feb-17 0:16
mveRalf Meier24-Feb-17 0:16 
QuestionInserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 8:16
Jammer23-Feb-17 8:16 
Didn't really know where to ask this so went for the lowest common denominated forum! C# FTW!

Anyway, I was wondering if this was a problem that had already been solved but I'm not aware of the generalised approach.

I have an MvvmCross based solution that uses SQLite as the data store. All the common functional goodness is in a core PCL project, all fine and dandy. In this core PCL I have the data access stuff along with resx files containing any strings needed in the various application UI projects.

When the application starts up it initialises a connection to the SQLite database. If the database doesn't yet exist and requires creation (think very first run of the application) it needs to create the database and populate it with some initial data (just for ease of setup with some generic lookup data). This data is fully editable by the user but this is more of a convenience task to get the user up and running quickly without burdening them with loads of config before being able to do something useful.

What I'm looking at is using localised resx data for the source of this look-up data. I can think of a few ways of doing this but before I pop off and roll a solution I was wondering if there were any generalised approaches to this scenario that people had used before.

Googling hasn't turned anything up thus far so I thought I'd cast the net out to you lot first.
Jammer
My Blog | JamSoft

AnswerRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 9:53
mveGerry Schmitz23-Feb-17 9:53 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 10:16
Jammer23-Feb-17 10:16 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 11:35
mveGerry Schmitz23-Feb-17 11:35 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 13:04
Jammer23-Feb-17 13:04 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 13:36
mveGerry Schmitz23-Feb-17 13:36 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 13:45
Jammer23-Feb-17 13:45 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 13:54
mveGerry Schmitz23-Feb-17 13:54 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 20:34
Jammer23-Feb-17 20:34 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 20:38
mveGerry Schmitz23-Feb-17 20:38 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 20:49
Jammer23-Feb-17 20:49 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 21:28
mveGerry Schmitz23-Feb-17 21:28 
AnswerRe: Inserting Localised Lookup Data into a Fresh Database Pin
Bernhard Hiller23-Feb-17 21:32
Bernhard Hiller23-Feb-17 21:32 
Questionwhy not escape to catch an error when i next run? Pin
Member 245846723-Feb-17 2:18
Member 245846723-Feb-17 2:18 
AnswerRe: why not escape to catch an error when i next run? Pin
OriginalGriff23-Feb-17 2:40
mveOriginalGriff23-Feb-17 2:40 
GeneralRe: why not escape to catch an error when i next run? Pin
Member 245846723-Feb-17 16:08
Member 245846723-Feb-17 16:08 
GeneralRe: why not escape to catch an error when i next run? Pin
OriginalGriff23-Feb-17 20:35
mveOriginalGriff23-Feb-17 20:35 
GeneralRe: why not escape to catch an error when i next run? Pin
Member 24584672-Mar-17 16:03
Member 24584672-Mar-17 16:03 

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.