I have a resource file with some embedded Excel files. How can I import these files into datasets? I found several libraries / code snippets which works for files, which are on the harddisk, but nothing if the files are part of a resource file.
...
Just to use it as an example, StackOverflow users already associated tags to questions for a lot of questions.
Is there a .NET machine learning library that could use this historic data to 'learn' how to associate tags to newly created questions and suggest them to the user?
...
I have a large application written in C++, For various reasons I am going to rewrite it in C#, I have done plenty of Delphi to C#, VB to C# but C++ to C# I have never done, although I am competent in C++ I want this to be as smooth a conversion as possible.
Mainly what I am asking is what pitfalls await me in this conversion is there an...
I would like to give our intranet users and create, edit, colaborate documents via a browser. What is the best way to go about this?
Requirements: The user should be able to:
1. create content,
2. edit content (content created by anyone)
3. records should be kept on who edited what and when
4. should easily be able to go back and forth...
Hello Everyone
I am trying to export a file upon button click event. The structure of my app is like this.
UpdatePanel
TabContainer
Tab1
UserControl (Button is in UserControl)
Tab1
TabContainer
I tried setting PostbackTrigger but it says control not found exception.
Thanks in Advance
...
Hi.
I have to extract metadata from a lot (my small working sample has hundreds, the total will probably be thousands) of Microsoft Office files, mostly Word ones.
These files Word versions go from Word 2.0 to Word 2007.
I have to do it in .net 3.5 (using c#) and it's a local winforms application.
I can extract metadata from the most...
I am using a FileSystemWatcher on a directory and added its event handlers, set its EnableRaisingEvents to true and IncludeSubdirectories to false and added NotifyFilters.
While running the application if I create new folders in the specified directory sometime I get
FileNotFoundException : "An error occurred while reading a direct...
What's the best way to unit test the Serialization of an Exception class like this:
[Serializable]
public abstract class TankBaseException : Exception
{
public TankBaseException() : base() { }
public TankBaseException(string message) : base(message) { }
public TankBaseException(string message, Exception innerException) : b...
Hi.
I have a problem when I do an httprequest and the remote server responds with a redirect and some additional query parameters. The problem is that the additional parameters is empty on certain enviroments.
When I run the code in a test-environment the parameters is not empty.
HttpWebRequest request = (HttpWebRequest)WebRequest.C...
Good afternoon,
Does anyone know of an "out-of-the-box" implementation of Levenshtein DFA (deterministic finite automata) in .NET (or easily translatable to it)? I have a very big dictionary with more than 160000 different words, and I want to, given an inicial word w, find all known words at Levenshtein distance at most 2 of w in an ef...
Hello,
I have written a program with C#, that creates a logfile and fills this by using log4net. This program starts powershell-scripts. The scripts should use log4net, too. I want to monitor what the scripts log to log4net while they are running and write this information in my logfile.
Have you an idea how I do this or where I get in...
I have the following problem: I have some (binary) files, which are embedded in a resource. For some reasons I must write these files temporarily on disk. How should I proceeded ? Maybe this can be done with GetRandomFilename() or GetTempFileName() ?
...
How to get the updatestatus of a loggedin user in facebook?
I am develooping a wpf application which is integrated with facebook.
I want to show the status updates of the user.
What is the query to fetch the Update Status.
Pleas let me know.
Thanks,
Ashwin
...
hello frnds.
I am a little new developer in C#. I am facing a problem in developing some application.
I have to develope an "application" that opens a scanned document( of any application form or bank cheque) and save the required data of the document to the database for example... cheque number,account no in a scanned copy of c...
I need to build a specific interactive drawing "canvas".
In that canvas, user will be able to place graphic elements - points linked with lines.
I have a ready WinForms UserControl - pointsList that represents the list of points presents in the canvas. PointsList is able to add and remove points, link them with a line.
pointsList sh...
Hi,
What I thought should be a fairly simple search, turned out to be alot more.
Atm I'm using a baseclass(MasterModel) for all my Models, that then get passed down from the ViewPage< HomeIndexModel > to the ViewMasterPage< MasterModel > and everything works fine. This was done this way after reading a post by "Scott Gu".
Then I thoug...
Hello,
We are building application that stores objects to isolated storage using .NET runtime serialization.
Problems occur when we update application by adding some new properties to the classes of objects we are serializing. So we want to do some kind of versioning of the objects in isolated storage so we can check if they are obsol...
WE developed system integrated with crystal Reports, with Crystal Report viewer on page. but the problem is we hosted it on 32 bit server but when access it and try to print the report it gives the error and does show any dialogue. we have installed full crystal report version with License but error is there.
I tried to find but no succ...
I have some files, which are embedded in a resource. How can I save these files on disk via C#?
...
I have a user control with a property of type List<Something>:
Private p_myList As New List(Of Guid)
Public Property MyList() As List(Of Guid)
Get
Return p_myList
End Get
Set(ByVal value As List(Of Guid))
If value Is Nothing Then Throw New ArgumentNullException()
p_myList = value
End Set
End Prope...