Tagged Questions
The .NET Framework is not specific to any one programming language. The C#, VB.NET, C++/CLI, and F# programming languages from Microsoft, as well as many other languages from other vendors, all use the same .NET Framework. The .NET Framework includes a large library of functions as part of the Base ...
0
votes
0answers
2 views
How to group XML data by multiple value
I need to group "Document" value from XML. Problem is because key value (productType) can be multiple.
This is XML:
1
title1
Capital Costs ...
0
votes
5answers
16 views
How to group the same values in a sequence with LINQ?
I have a sequence. For example:
new [] { 10, 20, 20, 5, 25, 45, 45, 45, 40, 100, 1, 1, 2, 2, 3 }
Now I have to group items with the same values without changing the overall order. For the sequence ...
-1
votes
1answer
4 views
How to access all the elements within PhoneApplicationPage?
I'm wondering how can I access an IEnumerable of all the elements in a page derived from PhoneApplicationPage?
If it was ASP.Net WebForms, it would be something like below:
foreach (Control ...
-2
votes
0answers
14 views
How to run application in notification area after closing the application
I have a created a demo application, and would like to run always like antivirus, micromax datacard software, or any other notification software..
My Main objective is:
When I close an application ...
0
votes
0answers
9 views
Select Item from webbrowser dropdown list
I'm working on a webpage automation project. And I am very new in this. I want to use Webbrowser control to select an item in the dropdownlist. Now,how do I programmetically select an item from the ...
0
votes
0answers
16 views
Recommendation Algorithms for tweets in C#
I'm looking for an algorithm/ recommendation engine to "recommend" tweets based on rating of the content of the tweet:
From a data set of 1000 rated(1 to 5) tweets recommend tweets based on the rated ...
-2
votes
2answers
54 views
Find the mathematical logic (Generate a formula) to evaluate the number of valid ways to add n number of integers?
Given a number of terms, n in an equation containing only addition as the only possible operator, find the different number of valid ways in which they can be evaluated. Order of evaluation is ...
-1
votes
2answers
32 views
Using.tolower function with vb.net
I'm struggling on some coding and was hoping someone could help me out please, what I'm trying to do is read a text file and convert column2 in to lowercase and save it again.
But I get Value of type ...
0
votes
1answer
31 views
ZIP download contains html content
When I use the following code to download a ZIP file it appears to work. However, when I attempt to open the downloaded ZIP, I get an 'invalid compressed folder' message. When I open the ZIP in ...
1
vote
1answer
29 views
Idiomatic way to throw exceptions to a delegate
I have a monitor class which monitors a device and reports if that device successfully receives usable data. This can happen anytime.
A client creates its own monitor by passing delegates, starts it ...
0
votes
0answers
53 views
Why is the F# list a linked list rather than an array list? [closed]
Possible Duplicate:
Why does F# prefer lists over arrays?
It strikes me as odd that F#'s List module is implemented as a linked list rather than an array-based one (such as ...
0
votes
0answers
14 views
How do I share a class library with an application in a service-like fashion?
What we're wanting to do is use typical POCO objects over a service. Now, I know that services are really made to provide functionality ala carte, but really, the issue that we're trying to address ...
-1
votes
4answers
30 views
Why is my coding not working? Trying to show data in richtextbox
I have spent hours trying to fix this problem I have, basically I want to only display column 1 from my text file in my rich text box.
Each column is seperated by a space (" ")
When I run the ...
1
vote
2answers
14 views
Creating associations in a dbml file?
I tend to create tables in a database then drag them onto the dbml designer to create my DataContext. I usually create the associations in the dbml manually, should I be doing this, or should I have ...
1
vote
1answer
11 views
U2 Toolkit for .NET - Entity Framework Sample “EntityFramework_CodeFirst2” not connecting
I get this error when trying to modify the EntityFramework_CodeFirst and EntityFramework_CodeFirst2 projects:
Opening Connection
[U2][UCINET-UO] [U2][UCINET-UO]WIN32 API Error:10053 An ...