Click here to Skip to main content
14,739,256 members
Home » Discussions » Silverlight / WPF
   

Silverlight / WPF

 
AnswerRe: Create DataGrid From List<T> With Properties As Columns Pin
Richard Deeming18-May-20 9:47
mveRichard Deeming18-May-20 9:47 
GeneralRe: Create DataGrid From List<T> With Properties As Columns Pin
Kevin Marois18-May-20 9:52
professionalKevin Marois18-May-20 9:52 
QuestionWPF ListBox Pin
michaelbarb7-May-20 11:03
Membermichaelbarb7-May-20 11:03 
AnswerRe: WPF ListBox Pin
Richard Deeming10-May-20 22:52
mveRichard Deeming10-May-20 22:52 
GeneralRe: WPF ListBox Pin
michaelbarb11-May-20 20:11
Membermichaelbarb11-May-20 20:11 
GeneralRe: WPF ListBox Pin
Mycroft Holmes11-May-20 22:33
professionalMycroft Holmes11-May-20 22:33 
AnswerRe: WPF ListBox Pin
Gerry Schmitz11-May-20 13:42
mveGerry Schmitz11-May-20 13:42 
QuestionDesign Question Pin
Kevin Marois18-Apr-20 16:26
professionalKevin Marois18-Apr-20 16:26 
I'm working on an automatic updater for my WPF app. When I do a publish, it copies those files that changed to my server. Then, when the user double-clicks the icon, it checks my server for changes, downloads them, starts the app. Everything works great.

What I'd like to do now is set it up for a test environment. This means that I want it to target a copy of the production DB. It will copy the changed files to an alternate location, different than the production location, but target the Test DB instead of Production. All the code files will be the same.

The question is, what's the best way to tell the code to go look at the test DB versus the production db? One idea I was considering was using the existance of a file to trigger test mode. So, if file "TestMode.txt" was in the EXE's location, then start in test mode, else start in production mode.

Anyone have any better ideas?

Thanks
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: Design Question Pin
Mycroft Holmes19-Apr-20 13:20
professionalMycroft Holmes19-Apr-20 13:20 
GeneralRe: Design Question Pin
Kevin Marois19-Apr-20 15:09
professionalKevin Marois19-Apr-20 15:09 
GeneralRe: Design Question Pin
Mycroft Holmes20-Apr-20 13:20
professionalMycroft Holmes20-Apr-20 13:20 
QuestionMVVM: DataGrid Cell BeginEdit Pin
Kevin Marois13-Apr-20 10:10
professionalKevin Marois13-Apr-20 10:10 
AnswerRe: MVVM: DataGrid Cell BeginEdit Pin
Richard Deeming14-Apr-20 1:36
mveRichard Deeming14-Apr-20 1:36 
GeneralRe: MVVM: DataGrid Cell BeginEdit Pin
Kevin Marois14-Apr-20 7:15
professionalKevin Marois14-Apr-20 7:15 
GeneralRe: MVVM: DataGrid Cell BeginEdit Pin
Richard Deeming14-Apr-20 7:28
mveRichard Deeming14-Apr-20 7:28 
GeneralRe: MVVM: DataGrid Cell BeginEdit Pin
Kevin Marois14-Apr-20 7:39
professionalKevin Marois14-Apr-20 7:39 
QuestionProblem in designer while creating a new window in a WPF project in Visual Studio 2010. Pin
priyamtheone13-Apr-20 4:38
Memberpriyamtheone13-Apr-20 4:38 
AnswerRe: Problem in designer while creating a new window in a WPF project in Visual Studio 2010. Pin
Gerry Schmitz13-Apr-20 7:59
mveGerry Schmitz13-Apr-20 7:59 
GeneralRe: Problem in designer while creating a new window in a WPF project in Visual Studio 2010. Pin
priyamtheone14-Apr-20 2:36
Memberpriyamtheone14-Apr-20 2:36 
QuestionDP Firing Order Pin
Kevin Marois30-Mar-20 8:43
professionalKevin Marois30-Mar-20 8:43 
AnswerRe: DP Firing Order Pin
Dave Simon31-Mar-20 10:35
MemberDave Simon31-Mar-20 10:35 
QuestionHow can a class from a class library manipulate XAML/UI Pin
httitb30-Mar-20 4:32
Memberhttitb30-Mar-20 4:32 
AnswerRe: How can a class from a class library manipulate XAML/UI Pin
Gerry Schmitz30-Mar-20 9:19
mveGerry Schmitz30-Mar-20 9:19 
GeneralRe: How can a class from a class library manipulate XAML/UI Pin
httitb30-Mar-20 9:31
Memberhttitb30-Mar-20 9:31 
QuestionPrism doesn't load all modules in the ModulePath Pin
hapy71018-Mar-20 17:39
Memberhapy71018-Mar-20 17:39 

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.