Can a C# .exe file be accessed by multiple users simultaneously? [closed] - c#

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I created a small program for one department in our company. I put the C# exe file in one of the shared hard drives on our network. Will there be problems when the exe file accessed by multiple users at the same time?

On the general, yes it can.
On the specific, and as mentioned in the comments by others, what then remains to be asked is
what the application does.
if there is any user-specific functionality or dependency.
if the application can handle concurrency for reads and writes/updates on a DB or file-level(depending on its data sources)

Related

C# - Bank check (Balance, transactions) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I just started on a personal project for scouting-groups, it is a webapp which will be build on the frontend in Angular2 and the backend will be a restfull server(asp.net/C#).
a part of my project will need to read or contact diffrent bankaccounts and check if the contribution of a certain month is paid.
the question is: Where to start?
Best way is to import transaction files. A direct connection to banks are most of the time only for big companies and is a lot of work to implement (if they let you). Most banks have multiple file types to export transactions, choose the most common and implement this.

sharing data members between two application in c# [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I want share data between two application in c#. I have done it using IPC and text file read and write.But I want two share data rather than it.
You can use:
Local DB and connect both applications to it
Shared file
Net pipe to connect applications (search NetNamedPipeBinding and DuplexChannelFactory)

How to run 2 StreamWriters in parallel [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
Recently I was working on a project to write a csv file and an XML file at the same time.
They contain the same metadata information, how to open two StreamWriters in C# at the same time?
The question is too broad so the answer is generic. In order "to write a csv file and an XML file at the same time" you have to implement sort of multi-threading, using either Task Parallel Library (TPL - recommended) or other technique available in .NET, and run the aforementioned procedures on two different threads (in either blocking or non-blocking mode).
More details on TPL implementation: https://msdn.microsoft.com/en-us/library/dd537609%28v=vs.110%29.aspx.
Hope this may help.

Moving large files to different directory [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I have a 10 GB folder(myfolder) that has lot of files used in an web application. Every week, this gets recreated in a different folder(mynewfolder). I want to move old files to a diff directory and move newly created ones to the right folder without user noticing (or very less down time). I can either do it in C# program or a batch file. Which is a better option? How can I do it in batch file?
C:\myfiles\myfolder --Existing
C:\myfiles\mynewfolder -- newly created
Thanks
MR
Huh? Just rename myfolder as mynewfolder. It doesn't take any time at all regardless of how much data or how many files are in there.
rename myfolder mynewfolder

Linking a Website to a Console Application in C# [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I just wanted some general information about some technologies that would allow me to link a website to a console application in C#.
Let's say for example that users on my website fill a textfield with some information, then I want to take this information, process it into my Console Application, and print some results.
What's the technology to do this?
Thank you very much!
You can use the class System.Diagnostics.Process (see http://msdn.microsoft.com/en-us/library/vstudio/system.diagnostics.process(v=vs.100).aspx) to start your console application.
Then, you can read/write to/from StandardOutput, StandardError and StandardInput, which are normal Streams.

Categories

Resources