Windows Phone 8 app randomly crashes with error code -2147220717 (0x80040313)
I am currently developing a stopwatch and timer app in C#/XAML for Windows
Phone 8. While using my app on my phone, I found that it randomly closed
out/crashed and that too at different points of use (i.e. I wasn't doing
the same thing each time it closed out). While debugging, I found that my
app closed out with the following error code in my output window:
"The program '[1100] TaskHost.exe' has exited with code -2147220717
(0x80040313)."
I am very confused as to why this is happening. I tried creating an
entirely new solution and moving my code over and I've still been getting
the same issue. I have tried using the app on multiple different devices,
and the same thing happens (even in the Emulator). Sometimes the app
crashes after 5 minutes of use, sometimes it crashes after 30 minutes of
use, it's very unpredictable which makes it very hard to find the root of
the problem. My app uses the XNA Framework to play an audio sound and the
Coding4Fun Toolkit for a TimeSpanPicker control, and besides that there
isn't much else that's particularly notable about my app. I have tried
removing the playing of the audio file and removing references to the XNA
Framework, and the problem persists.
Any ideas on what the problem could be?
Thanks in advance!
Saturday, 24 August 2013
Friday, 23 August 2013
Find the equation which has 4 distinct roots
Find the equation which has 4 distinct roots
For which value of $k$ does the equation $x^4 - 4x^2 + x + k = 0 $ have
four distinct real roots?
I found this question on a standardized test, and the answer presumably
relies on a graphing calculator. Is there some method to solve this
problem without the aid of a calculator?
For which value of $k$ does the equation $x^4 - 4x^2 + x + k = 0 $ have
four distinct real roots?
I found this question on a standardized test, and the answer presumably
relies on a graphing calculator. Is there some method to solve this
problem without the aid of a calculator?
Convergence of a sequence implies the convergence of another sequence
Convergence of a sequence implies the convergence of another sequence
Let $a_n>0$, $n¡Ý 0$. Call $k$ ¡°good¡± if $k¡Ý1$ and $a_k>\frac12
a_{k-1}$. Also call 0 good. Show $\sum^{\infty}_{k=0}a_k$ converges if
$\sum_{k \ \ is\ \ good} a_k$ converges. I can only see that the sum of
the good k terms is greater than half of their previous terms' sum, how to
relate the good k terms with every term of this sequence? This is my first
semester in college and first post here, please don't downvote me like
redditors and be gentle! ;-)
-Belen
Let $a_n>0$, $n¡Ý 0$. Call $k$ ¡°good¡± if $k¡Ý1$ and $a_k>\frac12
a_{k-1}$. Also call 0 good. Show $\sum^{\infty}_{k=0}a_k$ converges if
$\sum_{k \ \ is\ \ good} a_k$ converges. I can only see that the sum of
the good k terms is greater than half of their previous terms' sum, how to
relate the good k terms with every term of this sequence? This is my first
semester in college and first post here, please don't downvote me like
redditors and be gentle! ;-)
-Belen
Simple integration of Bing Maps into WPF application page
Simple integration of Bing Maps into WPF application page
How would I go about integrating Bing Maps into a page or frame in my WPF
application? I have found a lot of resources for Bing Maps development,
but I don't need to develop with Bing Maps, just add the actual thing into
my application without hyper-linking out to the website.
Windows 8 applications do this with "contracts" with other metro apps but
I do not see a similar functionality with WPF applications.
Thank you!
How would I go about integrating Bing Maps into a page or frame in my WPF
application? I have found a lot of resources for Bing Maps development,
but I don't need to develop with Bing Maps, just add the actual thing into
my application without hyper-linking out to the website.
Windows 8 applications do this with "contracts" with other metro apps but
I do not see a similar functionality with WPF applications.
Thank you!
Can I assign the TAB key to Zen coding's Expend Abbreviation command in Microsoft Visual Studio 2010?
Can I assign the TAB key to Zen coding's Expend Abbreviation command in
Microsoft Visual Studio 2010?
I installed Zen Coding for the Microsoft Virtual Studio 2010.
Zen Coding v0.7 by Sergey Chikuyonok
Visual Studio Plugin v0.7 by Danny Su
http://visualstudiogallery.msdn.microsoft.com/924090a6-1177-4e81-96a3-e929d7193130
I would like to be able to use the TAB key in order to use Zen Coding's
Expend Abbreviation command (instead of ALT-Z) when editing HTML documents
like in Sublime Text 2.
I go to Tools/Options/Environment/Keyboard and choose
ZenCoding.ExpandAbbreviation but when I type the TAB key in the box to
Assign the key it doesn't work.
Any idea? Is it possible?
Many thanks for your time and help.
Microsoft Visual Studio 2010?
I installed Zen Coding for the Microsoft Virtual Studio 2010.
Zen Coding v0.7 by Sergey Chikuyonok
Visual Studio Plugin v0.7 by Danny Su
http://visualstudiogallery.msdn.microsoft.com/924090a6-1177-4e81-96a3-e929d7193130
I would like to be able to use the TAB key in order to use Zen Coding's
Expend Abbreviation command (instead of ALT-Z) when editing HTML documents
like in Sublime Text 2.
I go to Tools/Options/Environment/Keyboard and choose
ZenCoding.ExpandAbbreviation but when I type the TAB key in the box to
Assign the key it doesn't work.
Any idea? Is it possible?
Many thanks for your time and help.
select price having max year in another column
select price having max year in another column
I have following select result
Code Price Year
1 200 2013
1 100 2012
2 250 2011
2 275 2012
2 300 2010
But I want following something like this with one extra column which hold
price based on maximum year,
Code Price Year ExPrice
1 200 2013 200
1 100 2012 200
2 250 2011 275
2 275 2012 275
2 300 2010 275
Sorry for bad English and wrong way for asking this question.
I have following select result
Code Price Year
1 200 2013
1 100 2012
2 250 2011
2 275 2012
2 300 2010
But I want following something like this with one extra column which hold
price based on maximum year,
Code Price Year ExPrice
1 200 2013 200
1 100 2012 200
2 250 2011 275
2 275 2012 275
2 300 2010 275
Sorry for bad English and wrong way for asking this question.
How to add Event Listener for Event after Youtube video is finished playing
How to add Event Listener for Event after Youtube video is finished playing
I am trying to get an event fired once the youtube video reached its end.
The video embedding works, but nothing happens once the video ends. I
think I am missing something for the EventListener...
this is my code:
var params = { allowScriptAccess: "always" };
var atts = { id: "myytplayer" };
var video =
swfobject.embedSWF("http://www.youtube.com/v/elvOZm0d4H0?enablejsapi=1&playerapiid=ytplayer&version=3&rel=0&autoplay=1&controls=1","ytapiplayer",
"450", "250", "8", null, null, params, atts);
XXXXX.addEventListener("onStateChange", function(state){
if(state === 0){
alert("Stack Overflow rocks!");
}
});
What I do not get is, what I should listen to? Marked with "XXXXX" in the
code, what do i need to put there? I tried myytplayer, video, ytplayer,
ytapiplayer... most of them give me an error, e.g. "ytplayer can not be
found". "ytapiplayer" did not throw an error, but also nothing happens
once the video is finished playing.
I searched stack Overflow, but all the "answers" I found so far are just
naming this event listener, but do not explain what I have to put at
"XXXXX".
I am pretty new to this and any help is very welcome, thanks!
JSFIDDLE: http://jsfiddle.net/T5HBZ/
edit: edited code for controls, added jsfiddle
I am trying to get an event fired once the youtube video reached its end.
The video embedding works, but nothing happens once the video ends. I
think I am missing something for the EventListener...
this is my code:
var params = { allowScriptAccess: "always" };
var atts = { id: "myytplayer" };
var video =
swfobject.embedSWF("http://www.youtube.com/v/elvOZm0d4H0?enablejsapi=1&playerapiid=ytplayer&version=3&rel=0&autoplay=1&controls=1","ytapiplayer",
"450", "250", "8", null, null, params, atts);
XXXXX.addEventListener("onStateChange", function(state){
if(state === 0){
alert("Stack Overflow rocks!");
}
});
What I do not get is, what I should listen to? Marked with "XXXXX" in the
code, what do i need to put there? I tried myytplayer, video, ytplayer,
ytapiplayer... most of them give me an error, e.g. "ytplayer can not be
found". "ytapiplayer" did not throw an error, but also nothing happens
once the video is finished playing.
I searched stack Overflow, but all the "answers" I found so far are just
naming this event listener, but do not explain what I have to put at
"XXXXX".
I am pretty new to this and any help is very welcome, thanks!
JSFIDDLE: http://jsfiddle.net/T5HBZ/
edit: edited code for controls, added jsfiddle
Subscribe to:
Posts (Atom)