An AppBarButton is randomly fired after the App is compiled for releasing

I'm developing a new App with VS 2013 for Windows Phone 8.1 (WinRT) and I'm getting desperate that sometimes works and sometimes doesn't work. I need to compile N times the same project to make that one element works. This
is my code:
XAML:
<Page.BottomAppBar>
<CommandBar x:Name="appBar">
<AppBarButton x:Name="btnNew" Icon="Add" IsCompact="False" Label="new result" Click="btnNew_Click"/>
<AppBarButton x:Name="btnShare" IsCompact="False" Label="share" Click="btnShare_Click">
<AppBarButton.Icon>
<BitmapIcon UriSource="Assets/AppBar/share.png"/>
</AppBarButton.Icon>
</AppBarButton>
<CommandBar.SecondaryCommands>
<AppBarButton x:Name="menuPersonal" Label="profile" Click="menuPersonal_Click"/>
<AppBarButton x:Name="menuTips" Label="tips" Click="menuTips_Click"/>
<AppBarButton x:Name="menuHelp" Label="help" Click="menuHelp_Click"/>
<AppBarButton x:Name="menuAbout" Label="about us" Click="menuAbout_Click"/>
</CommandBar.SecondaryCommands>
</CommandBar>
</Page.BottomAppBar>
C#:
private void menuTips_Click(object sender, RoutedEventArgs e)
Frame.Navigate(typeof(Tips));
private void menuPersonal_Click(object sender, RoutedEventArgs e)
Frame.Navigate(typeof(Personal));
private void btnShare_Click(object sender, RoutedEventArgs e)
Frame.Navigate(typeof(Share), txtLast.Text);
private void btnNew_Click(object sender, RoutedEventArgs e)
Frame.Navigate(typeof(OcrResult));
private void menuHelp_Click(object sender, RoutedEventArgs e)
Frame.Navigate(typeof(Help));
private void menuAbout_Click(object sender, RoutedEventArgs e)
Frame.Navigate(typeof(About));
The problem ONLY happens in the Profile menu option.
When it's not working, VS shows me this kind of messages after I did click on the button.
The thread 0xb08 has exited with code 259 (0x103).
The thread 0x1b0 has exited with code 259 (0x103).
What I have already tried:
Changed the name of the Class that I need to load.
Re-created the Frame.
Moved the location of the item.
Changed the name of the function.
Created one function for all options (it doesn't matter if I add a break point, I cannot know why it's not working).
Tried the Tapped Event (same problem).
Added several try catchs everywhere.
I should clarify that this problem happens even in another form where I'm calling the same Frame and it doesn't open it there too.
Even any break point doesn't work when the App gave that error. I'd like to know if someone has experimented this issue and if someone have lived it perhaps someone could so kind to give me an idea how to fix it.
Thank you for your worthy knowledge and time.
Federico Navarrete
Post-Data:
In my opinion it's a bug from Visual Studio because if it was from Windows Phone, it would never work and sometimes work.

Hi FANMixco,
Well Done!
I am very glad that you have solved your problem by yourself. If you have any other questions, welcome to post it in this forum.
Best Regards,
Amy Peng
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to stop remittance advice to vendor after the app run

    Dear All,
                 Our vendors don't want to receive remittance advice after the APP run.
    Is there any option where i can block the remittance advice for certain vendors after the run.
    Please let me know
    Thanks & Regards
    Balaji Dhanavel

    Hi Neeraj,
    I appreciate your efforts. But just a small doubt.
    Actually i dont want to send the remittance advice Only
    If i take the email address out of vendor master record , would it make any impact in other communication.
    Please tell me where i give the email address in the vendor master.
    Your reply would be much appreciated.
    Cheers
    Balaji Dhanavel

  • After installing 8.2 on my iPad all the apps crash during use. It appears that the iPad saves a version of what I was using because after the app crashes I double press the home button an there is a screen of an older version of the page I was using.

    After installing 8.2 on my iPad (2nd gen) all the apps crash during use. It appears that the iPad saves a version of what I was using because after the app crashes I double press the home button an there is a screen of an older version of the page I was using. I swipe it away and start over, only to have the same thing happen again. I have reinstalled all the apps, rebooted, synced and re-synced with iTunes. This is VERY irritating!

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • Why the App Store ask for sq.after using it for years and how do find the answers

    Why the App Store ask for sq.after using it for years and how do find the answers

    Reset security questions
    http://support.apple.com/kb/HT5312
    If you do not have a Rescue email, you need to contact apple support, they will guide you through the process of resetting your security questions.
    https://ssl.apple.com/emea/support/itunes/contact.html

  • How do I spot a command in pages after the app has locked up?

    how do I spot a command in pages after the app has locked up?

    I am not sure what you mean by "spot a command" but in any case this question would likely be better lodged in the iWork Discussion.

  • I updated my mac 10.8 to mavericks but after installation the app store ask for the same software update again..i have a slow connection..i cannot install it again and again..what should i do?

    I updated my mac 10.8 to mavericks but after installation the app store ask for the same software update again..i have a slow connection..i cannot install it again and again..what should i do?

    In case you are not aware, Mavericks requires a high speed broadband connection.
    In the event you need to restore or repair the starutp disk, OS X Recovery also requires a broadband connection as noted here >  About OS X Recovery
    You can check your download speed here > Speedtest.net
    15Mbps or less, you may not be able to install Mavericks or use OS X Recovery.

  • Just did the iTunes update that iTunes said was available now iTunes won't open, keep getting Runtime Error message.  R6034 An application has made an attempt to load the C runtime library incorrectly.  Please contact the apps support team for more info.

    Just did the iTunes update that iTunes said was available, now iTunes won't open.  I just keep getting a Runtime Error message. 
    R6034
    An application has made an attempt to load the C runtime library incorrectly.  Please contact the apps support team for more info.
    Is anyone else having this problem?
    I tried to re-install and got the following message:  iTunes was not installed correctly.  Please reinstall iTunes.  Error 7 (Windows error 1114)
    Does this mean I have now lost everything?

    I just had the same error: 
    R6034
    An application has made an attempt to load the C runtime library incorrectly.  Please contact the apps support team for more info.
    I went to http://support.apple.com/kb/ht1925 and did a complete removal and reinstallation of iTunes. You MUST follow the directions here exactly...it's more than just iTunes that must be removed, and it MUST be done in the order in which the support article says.  I followed the exact instructions, and iTunes is back on my machine (no more C runtime error) and you do NOT lose your music...it's all in my library, as it was before.
    Good luck!

  • My iPhone3GS running iOS5 has recently been reluctant to upgrade Apps. The App store asks for my password and then marks all the Apps as being updated. Often only one or none actually update. Usually I get a message saying "Unable to download application"

    My iPhone3GS running iOS5 has recently been reluctant to upgrade Apps. The App store asks for my password and then marks all the Apps as being updated. Often only one or none actually update. Usually I get a message saying "Unable to download application" and "<app> could not be downloaded at this time - Done or Retry".
    It's not an iTunes login / password issue because sometimes one or two of the Apps will download and the others stall with the blank progress bar. The internet connection is working fine in all other respects.
    Sometimes, many restarts later the downloads will complete. Is this a known bug? Is Apple working on it? Any fixes?

    My iPhone3GS running iOS5 has recently been reluctant to upgrade Apps. The App store asks for my password and then marks all the Apps as being updated. Often only one or none actually update. Usually I get a message saying "Unable to download application" and "<app> could not be downloaded at this time - Done or Retry".
    It's not an iTunes login / password issue because sometimes one or two of the Apps will download and the others stall with the blank progress bar. The internet connection is working fine in all other respects.
    Sometimes, many restarts later the downloads will complete. Is this a known bug? Is Apple working on it? Any fixes?

  • I am trying to update my software through the app store but for some reason an error occurs and will not allow me to do so

    I am trying to update my software through the app store but for some reason an error occurs and will not allow me to do so. And when i go online to log into my apple id account it states that there is an error. Can someone help me solve this issue, its annoying me?

    Apple’s having trouble with the iTunes Store servers right now. Wait for them to resolve the issue.
    (123935)

  • After the driver update 2.7 released by Apple I can not print on my Epson Stylus Photo RX650. Epson tells me it is apple's fault

    After the driver update 2.7 released by Apple I can not print on my Epson Stylus Photo RX650. Epson tells me it is apple's fault.
    This is the message from Epson:
    The driver update 2.7 was released by Apple. The driver released by Epson is available for download from the Epson Australia web site. It is the Apple update driver download that has caused the problem.

    After the driver update 2.7 released by Apple I can not print on my Epson Stylus Photo RX650. Epson tells me it is apple's fault.
    This is the message from Epson:
    The driver update 2.7 was released by Apple. The driver released by Epson is available for download from the Epson Australia web site. It is the Apple update driver download that has caused the problem.

  • Why is the app not available for my device?

    I've no problem using BT wifi on my device (Nook BNTV400) so why is the app not available for that device? It's not like the nook is proprietory, everything else I've tried to find in the play store works fine.
    Is the apk available for download direct from bt?

    if you can connect to btwifi without the app then I wouldn't bother trying to find the apk file
    if you have an android smartphone then you can download the app and get the apk file to sideload on to your nook
    If you like a post, or want to say thanks for a helpful answer, please click on the Ratings star on the left-hand side of the post.
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • I recently purchased, from the APP store, Lion for use on my MacBook Pro.  I wish to upgrade my IMac to Lion also.  Do I need to make a 2nd purchase or will the single purchase suffice?  If the single purchase will suffice, how do I facilitate ?

    I recently purchased, from the APP store, Lion for use on my MacBook Pro.  To upgrade my IMac to Lion, need I make an additional purchase?  If not, how do I facilitate the IMac upgrade?

    No, you do not need to re purchase Lion. You can re download Lion on all your authorized Macs using the same Apple ID.
    How to re download apps from the Mac App Store:
    Open the App Store. From the menu bar click Store > Sign In
    Click Purchases from the top of the App Store window.
    Select which apps you want to re download. Then right or control click where you see Installed  then click Install.

  • After the last up date for Safari (Mac OS X 10.8.5 in a iMac mid 2011 21.5 inch 2.8GHz Intel Core i7) The window don't open or they are there  and only in an outline, kind of like they're behind the screen. I have also done a system update and then a syst

    After the last up date for Safari (Mac OS X 10.8.5 in a iMac mid 2011 21.5 inch 2.8GHz Intel Core i7)
    The window don't open or they are there  and only in an outline, kind of like they're behind the screen.
    I have also done a system update and then a system reinstall.
    What now? incident nr, 526941222.

    After the last up date for Safari (Mac OS X 10.8.5 in a iMac mid 2011 21.5 inch 2.8GHz Intel Core i7)
    The window don't open or they are there  and only in an outline, kind of like they're behind the screen.
    I have also done a system update and then a system reinstall.
    What now? incident nr, 526941222.

  • Inn-app purchase native extension by Adobe doesn't work when the project is compiled for over-the-air installation

    Hi!
    I need the IAP functionality in my project. I've take the Inn-app purchase native extension by Adobe. During the developing process the extension worked fine. But when I've compiled my app for OTA (with corresponding certificate and provisioning file) the extension stops work. When the app calls purchase method nothing happens (when the app was compiled with development certificate and provisioning file I could run the full purchase process)
    Olga

    I've fixed the problem. It was related to the wrong configuration of the bundle name.

  • HT204088 how to I find out the most recent deductions to my account from the app store (say, for a recent download for additional functionality on a iPad game)

    How to I find out the most recent deductions to my account from the app store (say, for a recent download for additional functionality on a iPad game). Much as I try, I can't seem to get to see my account in enough detail to see what I have spent downloading apps to the ipad.

    You need to punch in the passcode for any purchase right, not just for new apps??
    If one of the other students, or anyone else, got access to your iTunes Store account, necessary to make any purchases, then they'd have all the information they'd need to also make in-app purchases. But an in-app purchase can only be made through the account through which the original app was purchased. Either your son bought the game (free or paid) and then shared it with someone else along with the account information (necessary to authorize the app on someone else's device), or someone else downloaded the game as well, not just made in-app purchases.
    In any case, changing your iTunes Store password should now have cut off any such unauthorized activity, though of course if your son gives the new password out, you'll be back to square one.
    Regards.

Maybe you are looking for

  • Reg:SY-TABIX

    Hi,   Can anybody please tell me how to display the record at a particular sy-tabix value in an internal table i.e how can i get the field value be displayed at that particular sy-tabix value??

  • How migrate crystal reports to oracle bi publisher ?

    Hi experts, i have a experienced with development of crystal reports. now my work demands migration of crystal reports to oracle bi publisher. may i know how to converts all crystal reports formula's in oracle bi publisher ? any help is greatly appre

  • Am gonna be a MAC soon, so what are the essential programs to have??

    Hi guys, I am suppose to be a MAC soon, want to get the new Macbook Pro 13" i've been using windows since i started using computers which is long enough to have it running in my blood!! but now i want to move to Mac, FINALLY what do you think are the

  • Thread's 'getId()' Problem

    Hello All, I try to use the ID of threads withoud any success. I declare two threads in this way: Thread threads[] = new Thread[2]; threads[0] = new Thread(); threads[1] = new Thread(); for(int i=0;i<2;i++)   threads.start(); then, when I look for it

  • WEBDAV no access with Everyone set to None in File Manager

    Using WebDav I have to set Everyone to Read Only in the MAC OSX Server 10.5.8 file manager in order for it to work. I want the folder set to None (no Access) for everyone. Makes no sense to me. Ugh. This means with the Apple File system people can br