C# windows form save recently browsed file history [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I wrote an app in C# which allows user to select a directory and does some simple things on the files in the directory. Now I want to add a ListBox to it that saves the most recent 5 selected directories. I don't want to hook up my app to a db because it's a very simple app. I can save the values to a txt file but I don't think that's the best practice. Is there any built-in features in Visual Studio Windows Form Application which allows me to do that? (I tried *.resx file and it doesn't seems to work for such purpose.)

The use of Settings can do this feature. It is so sample just go to the project properties and add a new propertie with type StringCollection .
You can manipulate this propertie like a sample collection by add ‚remove paths.
Take a look in this tutorial : http://blog.csharphelper.com/2011/08/18/use-a-setting-that-contains-a-string-collection-in-c.aspx

Related

Tool that imports C# source code into SQL server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Am having trouble googling for this type of product which am sure is out there so wondering if someone can point me in the right direction.
Is there a s/w tool that can import C# source code files into a SQL database and which then has a front end that allows a user to easily search for various things from that imported data - i.e: method names, types, etc
It would be a nice pet project to do in my own time but our team are looking for something out of the box and slick that is out there already - anyone know of any products?
Thanks
You wouldn't use SQL Server (or any RDBMS for that matter) for this because source-code files are not an example of relational data.
Instead you would run each source file through a parser and extract symbol names (e.g. type names, member/field/variable names, etc) then index them using a system like Lucene.

C# json file based database [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
For my very basic application, I am planning to design/use json-file based structure.
Simply, application is very similar to a rss reader. So data security is not a big concern.
There will be categories like news, sports, tech and media. I am planning to save information/objects under files like
media-todaysdate.json, so I can iterate through files by using date stamp.
Since files will be separated by dates I would not expect huge file sizes to create memory problem.
My question is that is there any framework that will help me to CRUD json files?
Or is there any easier way to manage information like mine?
You may want to take a look at Rob Conery's Biggy project.
https://www.infoq.com/news/2014/03/Biggy-Intro
It's a file-based store for JSON.

WebCam Video Recording in MPEG using C# Desktop Application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am developing an application which requires me to connect to webcam and record the video in MPEG format as it is VCD compliant. The application is in WinForms however, WPF solution is also fine. I am not interested in WebBased Flash/Silverlight solutions I am only interested in free or opensource solutions or controls.
Is there such solution available for C#/.NET?
The following 2 open source projects seem to contain the kind of control you are building.
http://www.codeproject.com/Articles/285964/WPF-Webcam-Control
http://easywebcam.codeplex.com/
The best libraries I know are these.
FFMpeg.NET
FFMpeg-Sharp
FFLib.NET
Other than that, you can do "console" operations to get it done.

Monitor changes to file system in c# [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I know of the FileSystemWatcher, but the scope of this is what bothers me. I want to be able to detect if a user creates a file, anywhere on the computer. When using FileSystemWatcher, if the change is not directly in the directory you are watching, it will not specify any file names, whats more, I have found if the change is more than 2 directories away from the watched directory, no event is triggered.
What would be the best way to go about this? Are there any libraries that I can maybe have a look at?
FileSystemWatcher can monitor the full drive and any depth (if IncludeSubdirectories = true) but if there is much activity you may need to increase the internal buffer (http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.internalbuffersize.aspx).

Graphical drag-n-drop designer library for C# applications? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have an app that my users use to build objects. For example, they will create a "user" object and add properties (name, address, etc).
I would like to use an environment like the one Visual Studio uses on its class designer or entity designer.
Is there a library out there that will help me with this?
Thanks for any suggestions.
Look at the Visualization and Modeling SDK. This helps you build a graphical DSL. Among other things, it comes with a template for a "class designer" DSL. You can start from there, and modify as needed.

Categories

Resources