Tagged Questions
C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.
0
votes
0answers
4 views
Sync kinect audio with video stream
Hi i'm trying to sync audio from a kinect device and its color stream. I can get the color stream timestamp, but i cant get a timestamp for audio. The kinect documentation doesn't provide any info ...
0
votes
0answers
4 views
How do I translate the SkeletonPoint's Value using Kinect SDK before mapping them to the colorImage?
I am creating a project on Kinect where I need to translate and rotate the skeleton of the user so that it would be always facing the Kinect.
I do know that I cannot change the actual values of the ...
0
votes
1answer
8 views
Give a TabItem Focus when Dynamically Adding Using MVVM
All, I am adding a TabItem to a TabControl dynamically using MVVM. The new TabItems load fine, but I want the added tab to gain focus automatically. That is, I add a tab and I do not want to have to ...
-1
votes
1answer
16 views
Formatting output of Newtonsoft.Json.JsonConvert.SerializeObject(dataSet)
I have a DataTable. When it's serialized into JSON with
Newtonsoft.Json.JsonConvert.SerializeObject(dataTable)
I get results in the following format:
[
{
"CLICK_KEY": 6254523744,
...
0
votes
0answers
15 views
How to get text from the node in xml file, that contains text and child node?
I have a very big xml file. I read it using by xmlReader. I have problem when i reach to next line:
<title>Abasia<nemod>(-astasia) (hysterical)</nemod></title>
How I can ...
0
votes
0answers
13 views
Parsing string to XDocument
I'm making a WP app, and it loads an xml from a URL.
So I download the content of the URL to a string using WebClient.
The string returned is then parsed using XDocument.Parse()
Thing is, when ...
0
votes
1answer
19 views
only remove 1 record from duplicated (access database)
im making a reservation system, but i'm stuck at the moment.
Microsoft acces 2010 Tables:
-drinks
-ordered_drinks
structure
tables:
-id,
-..,
-...,
drinks:
-id,
-title,
-price,
ordered_drinks:
...
0
votes
2answers
41 views
Go To Line in Text Editor
I tried implementing GoTo ling in a basic editor-type app but isn't always accurate. More often than not, it gets the right line, but it seems that the more lines there are, the more of a chance it ...
0
votes
0answers
12 views
RSA sign error with SHA384
I've made this code
RSACryptoServiceProvider RSASign = new RSACryptoServiceProvider();
StreamReader sr = File.OpenText("PublicPrivate.txt");
string myKey = ...
-1
votes
2answers
34 views
Entity Framework 5, MVC 4, Code First - Persisting a List<string> in a class
My solution should work well with: ASP.NET MVC 4, EF5, Code First, Visual Studio 2012 Express, SQL Server 2012 Express.
I need to store many tags with a place object. In another question it was ...
-1
votes
2answers
48 views
Passing variables by reference automatically
I have this code sample. It passes the variable by reference, but it shouldnt (I dont think). I think it is defaulting to passing the variable by reference. I'm not sure what exactly to search for to ...
0
votes
1answer
43 views
Exception.ToString() path
I'm using log4net to maintain an exceptions log of an application. I realized that the log info shows the file path of the development environment even thought it's not published in the same machine ...
0
votes
0answers
23 views
UnsafeNativeMethods in my c# winforms call stack
I noticed the following in my call stack and wondered what things I need to be wary of.
I am using a toolstrip item click event to fire the code. I find that VS2012 regularly locks up when I try to ...
1
vote
1answer
19 views
finding an available machine for RDP out of many
I have a few machines running Windows 7 that has access from within the LAN using MSTSC (Remote desktop)
I want to make a web app that will show which of the machines is available at the moment for ...
0
votes
2answers
14 views
Cannot implicitly convert type 'ServiceReference1.Videos[]' to 'System.Collections.Generic.IList<Videos>
I am getting the above error when i call my WCFservice from my web application.
The code is as below
I instantiate my WCF Service:
ServiceReference1.VideosClient objService = new ...