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 4 years ago.
Improve this question
after one hour searching I'm writing this question.
how to read,write and modify a text in text editor while the text editor is open, the text editor might be anything such as notepad or vs or word.
the type of c# application isn't matter whatever it be.
Writing to another memory's process is more complex and less stable. Better idea is to send a message/event to another process. This link demonstrates it for notepad, but idea is similar for other editors.
You need to connect to the process, it involves a lot of Windows API and it is different for different applications. My advise, don't do it, I cannot imagine an architecture which includes this kind of actions, it is asking for bugs.
But, if you still want to do it, Google: "connect to a process notepad and change text c#"
You will find many links which explain. For example this one:
https://www.codeproject.com/Articles/670373/Csharp-Read-Write-Another-Process-Memory
Related
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 days ago.
Improve this question
I'm trying to create a c# program that automates operations on IMDb (looks up a title and then adds it to a user's private list). I'd prefer to use c# because this last part of a program that also does other operations, but if it should be too difficult I might also be forced to use another language (python). As said before I really would like to use c# but I really don't know where to start, from what I understand I should use the "tags" in the html page, but I'm open to suggestions on how to proceed
site: https://www.imdb.com/
I tried to use a Chrome extension to parse the page and find the way to choose the right html button but i don't know how to go about it (i'm just a beginner in c# and i wanted to learn something by doing this little project)
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 2 years ago.
Improve this question
How i can add code editor C#,which will compile the code in live
I tried something with Ace, but nothing so far
Thank you.
If I understand correctly, you want to propose an input to user. They had C# code (no matter what) and your server executes it.
If yes, take a look at that.
It creates a project and build it in memory before executing it.
Be careful cause if you execute the code no matter what it will be a security breach into your server. For example, someone could execute a code which will download a file onto your server and open a backdoor to it.
Check this site:
https://dotnet.microsoft.com/platform/try-dotnet
This is embeddable .Net compiler which you could use without any preparations and setups
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 4 years ago.
Improve this question
I'm looking for advice and experiences about proper way to create outputs from one separate application to other independent application which must take this value for own implementation conditions. to make it clearer in primitive way for example output application writes some undated value to the text file, and another running application with available path to this file reads it in time loop and if value is found makes some implementation. But I'm trying to find what is more correct way to do the same to pass it from one application directly to another
Message Queing is certainly what you are looking for.
It will let some applications put messages on the queue and some others (or not actually) consume these messages.
https://msdn.microsoft.com/en-us/library/ms711472(v=vs.85).aspx
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 am working on a windows application and I want to insert some data to the controls in another windows application from my application. I think it's possible using spy++ or AutoIt.
But on searching I found only code like clicking a button in another application from one application.
What I need is,
I have 3 textboxes in WindowsApp_1 and I need to fill these from the value sending from WindowsApp_2. Could you please give me a sample code to achieve this ?
If you are intending to work on your application, I suggest working on it, instead of abusing stackoverflow
Asking for sample code in the way like you did, suggests, that you wont be able to do what you want yourself, even if samplecode is provided.
I shall give some hints, though:
Read the documentation of AutoIt
Begin with learning how to identify a Window from your App 1
# for instance:
WinWaitActive("Untitled - Notepad")
Elaborate on how to get the desired text from App 1
Paste the ill gotten text with
ControlSetText($app2, "", "Edit1", "This is some text")
https://www.autoitscript.com/autoit3/docs/intro/windowsbasic.htm
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 7 years ago.
Improve this question
I would like to create a application walkthrough for users to reveal functionality and give a short introduction to the software like this: http://www.dtelepathy.com/blog/design/ux-flows-how-when-to-design-app-walkthrough
This is often used for smartphone apps or browser applications. I've never seen this for Windows applications before, but this should be possible or not?
The application is implemented in C# and WinForms and uses a lot of controls from Infragistics.
It isn't possible to find anything about that on google or SO because "walkthrough" could be anything... :/ Maybe I'm looking for the wrong keywords?
Yes, this is definitely possible in a Windows App. We've done something like this before. I see your frustration regarding lack of documentation on the web. There isn't a lot out there specifically for windows desktop. Take what you can learn from the tutorial that you linked and translate that over. What we did a lot of was used semi-transparent panels containing the necessary content and then just lay those over everything. This way, you can get the 'greyed out' look for the main content of the app but control user's access.
Good luck!