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)
Related
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
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 8 years ago.
Improve this question
I have an application which is built in windows form C# where I have a View, a Model and s ManagerHelper folder with classes in it. I wanted to convert this application into MVC application.
I know it's not convertable and needs to be implemented from scratch. The reason I wish to create to an MVC project is because I'm new to MVC and wish to learn it.
I'm familiar with HTML syntax however this seems to be really hard to get a grip of.
So my question is: What would a good approach if I which to change my windows form application into an MVC application.
Any link to articles or any books recommendation for Learning MVC would be helpful as well.
There was an article about this in MSDN magazine last year. It should help guide you. You can read it HERE
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
For my job i have to make many small projects that require to send different mails and set up some html. I usually make these forms in Winforms. Now at this moment whenever i need to fill my html I take the string replace some values and have functions that write hardcoded table rows.
To make my job a little easier I was wondering if it was possible to import the razor engine(not sure if it's the right word choice) in my winforms project and simply pass a model to a CSHTML file which returns me the HTML in a string so i can mail it to coworkers.
If this is possible, instructions on how to do it are welcome.
Kind Regards Roxas
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 3 years ago.
Improve this question
how to create a browser plug in using C#? (something like Flash Player or Unity3d)
This cannot be done using C# only.
WebKit is C++-based, so you'd need at least a C++ wrapper in order to let the browser communicate with your code. Using a mixed-mode C++ DLL that talks to WebKit on one side and to your C# code on the other side should be considered.
The WebKit site does not contain much docs (don't want to criticize, but I couldn't find much there when working with Chromium). Only Apple docs explain plug-ins, but it looks very Apple-oriented. Sorry, not very helpful.