I am doing this Robosapien Kinect project in C# ( http://www.youtube.com/watch?v=TKpO5F8LsCk ) and I zipped the code source form here https://github.com/fatihboy/Robosapien and I don't know why that when I open the KinectRopsapien project with Visual Studio 2012 and I run and debug the MainWindow.xaml.cs window, the window that should show what the Kinect is filming is not opening and there is blue bar on the bottom saying "Ready". I have Kinect for Windows SDK 1.7 installed on my computer. On the first image is a message that appears twice while the code is being debugged in which I click "Continue" (which I think is to finish debugging and I think there is no problem to continue) and the second image is what appears after the code is debugged where you can see the blue bar below saying "Ready" and when the window of what the Kinect is filming should appear, in which I have the Kinect and USB Uirt connected to my computer. So I would like to know why there is no window opening after I run the code? Thank you for your attention
img850.imageshack.us/img850/7566/13285409.png - First image img547.imageshack.us/img547/1449/31396912.png - Second image
Identical problem... XamlParseException after deploying WPF project
In this case the project was clean re-built...
However, I do think it might be deeper than that. Try: http://geekswithblogs.net/lbugnion/archive/2007/03/14/108728.aspx that at least then should give you more concrete information.
This program worked great for me in VS 2010 running .Net Framework 4.0 and debug as x86.
I can see your Debug is set as Any CPU in your screenshot. Make sure it is set as x86.
Related
As I left home for a weeks holiday I decided to quickly zip+copy a project I have been working on from my pc to my laptop. It is a c# winforms application that I have been creating on my PC using visual studio 2017 community.
My laptop however uses visual studio 2015. If I just open the project on my laptop and run it, everything is fine. However the slightest change to the form (IE anything that causes it to save?) and when I run the application half my controls now anchor off the right hand side of the screen and are out of view.
I can restore the project back to working by replacing Form1.designer file with the original from my zip and rebuilding - but again any changes after that break it in the same way. The bizarre thing is the form looks absolutely perfect IN the designer, both when opened and unchanged and after changing regardless of how it looks when the program is executing.
Completely baffled and thinking I'm going to lose a week of leisurely work - any ideas as to what may cause this? I could try installing 2017 to see if its a going backwards problem but the free wifi at my location is.. lacking.
I am having a program written and I am developing on 2 different pcs.
First PC: Windows 7 Professional 64bit with VS 2015 Community.
Second PC: Windows 10 64bit with VS 2013.
Problem:
On the first PC, when I build and run the program or even just run the exe, the icons for the buttons are not displaying. It shows only square boxes in place of icons. I am getting no errors either. Everything works fine on the second PC.
Any idea why this may be? I have googled and cannot seem to find an answer.
If you just copy and paste the images into the folder of your project using windows, it is unlikely that the build is gonna predict that you need this image as a part of your process.
You need to add an image item to your project using Visual Studio and set its properties (Copy To Ouput Directory => Always).
Or the best approach is go to your Project Settings > Resources and add an image resource from existing file there. And then use it inside your code using Properties.Resources.YouImageName you through the designer.
If I want to create a new XNA 4.0 project in Visual Basic C# 2010 and debug it VS2010 just stops working. I dont get an error message and it doesnt turn white and says *.exe has stopped working. Moving it doesnt work and the 3 upper left buttons every program has dont respond. Closing or minimizing it by the task bar just throws a windows beep sound at you.
When looking at the Task manager I can see that the project I debugged is opened in three processes. If I task kill VS 2010 by the task manager 2 of these 3 instances of the project remain AND CANT BE CLOSED BY THE TASK MANAGER (It's not a graphical bug they get displayed after restarting the task manager too)
Note: That only occurs when creating a NEW XNA project. Creating new normal VS projects works fine. Old XNA projects still can be debugged too.
I tried:
Uninstalling XNA 4.0 Refresh
Uninstalling XNA 3.1
Reinstalling XNA 4.0
Reinstalling VS 2010
(In that order)
None of the above worked...
I also searched for that problem on multiple forums but didn't get a useful answer.
What can I do? Or was something I described unclear? If so please ask.
I'm trying to learn to code on my own having a ten year break since I coded in C and Java back in college. I downloaded Microsoft Visual Community on a brand new laptop, i7 2GHZ, 12GB RAM, 512 SSD. Upon compiling my first C# Hello World, from the MVA C# Tutorial program, I keep getting this error repeatedly, so much so that I get multiple instances of the Error window:
"Microsoft.VsHub.Server.HttpeHostx64.exe has stopped working"
Debug | Click to Close
If I close the window, the window pops up again
If I click debug, Visual Studio opens up again and it requests to load Microsoft Symbols from an online library. It then rests in a steady state showing a project window identifying: Microsoft.VsHub.Server.HttpeHostx64 as a project.
How do I make this error go away?
I am also experiencing this same problem with Visual Studio Community, trying to do a simple windows form application in Visual Basic. After I code the form and execute it, the build takes place and the single form displays on the screen. Then I receive the message you identified. Regardless of pressing debug or close, the error continues to pop up, even after I shut down Studio. To stop it, I must go to task manager and end the VSHub.Server process
I'm developing a Windows CE CF3.5 application under Visual Studio 2008, everything went smooth until the designer started throwing a NullReferenceException. Restarted VS2008, rebooted Win7 and the exception disappeared but all the forms for the project I was working on and new projects that I tested have this aspect:
On the emulator it varies, it either appears really tiny in the upper left corner or it displays correctly:
Any ideas? I've googled for this to no success. Thanks in advance!
In the solution explorer, expand your form and open the Form.Designer.cs file.
Have a look and try altering the AutoScale and AutoScaleDimensions properties
Like every good programmer you use some kind of Source Control (VSS, SVN, Git, etc.).
So simply make a diff of your current not working version and your last working one and see what changed.