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
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 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 6 years ago.
Improve this question
I am using WPF windows application and I want to export data-grid data to Microsoft Word with background colors. Please suggest a way to do it.
I think you will need to use Microsoft.Office.Interop.Word namespace ... this is a walk-through https://msdn.microsoft.com/en-us/library/ee342218.aspx ... I guess you will be making use of the Table interface .
You will need msword at your machine and wherever your application is deployed.
Personally, if i had an option then i would export the data as CSV format and indicate the colour in one of the values.
That said, i don't really know the limitations but this should get you going .. alternatively try to find an open source lib that can help you with this. That is AFAIK there is no out of the box solution by .Net
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 have a question:
I have to do a project, which has something to do with reading data from txt into MSSQL. This function I solved it with a click-event. Right now, the reading process has to read the whole data automatically every day on the server, even without open the website. Can I do it with a cronjob or there are also other better solutions?
Have a look at Quartz.Net - it's a decent job-scheduling system.
It's probably overkill if you only have a single job.
Quickstart documentation is here: http://www.quartz-scheduler.net/documentation/quartz-2.x/quick-start.html
In addition to Quartz.NET you can also look at http://hangfire.io/.
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'm trying to develop a module for DotNetNuke 7 however 90% of the tutorials use templates which I really want to avoid. The other 10% are just simple hello world modules.
I was wondering if anyone could share a simple module project with database access and database queries that I could study or simply tell me what I need to do to go about doing this.
All of the modules on the DNN Forge are open source, if you want to peruse their source code. We also have some simple (and not simple) modules on our GitHub account (the simplest being Tell-A-Friend, Jackrabbit, and Take-Out)