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 small simple project on building a clickable interactive map of our school.
The challenge is to create a clickable parcel of map and add an animation
directing the user from point A to B using the given roads/hallways on the map. Moreover, I would like to create a database that allows the user to view the information for that specific parcel of map when clicked.
I'm using C# to program this one. My application is Visual Studio 2010
Example Links:
https://www.youtube.com/watch?v=tbinL2pg5Hs
http://www.wayfinderkiosk.com/
QUESTIONS:
What are the processes(step-by-step) on creating this project?
What applications should I need for programming, database, animating, drawing etc.?
Decide on the platform you will be using: WinForms, WPF, WinRT, ASP... If your project description includes the platform then you know; if not keep the question in mind!
Get your resources. Get the map and a list of all the places you will work with. Also all the extras like the descriptions and photos etc. Get this chore out of the way now. It'll help you to get a feeling for the amount of things you will put into the project.
Know your clients. An older kiosk system runs only only a few kiosks. Today maybe you need/want to have it run on the web and on portable devices. This will make a difference in not just for screen sizes but also in the number of possible routes..
Define user input controls. Keyboard? Mouse? Touch? Which buttons? You need a complete list!
Define the user interactions. Completely. Try to make tables of states the system can go through.
Try to decide on how the path finding should work. This anything but trivial, as soon as you want to include more than a few points.. You can have a set of ready made paths or try to find them or build them from a list of partial paths. This may well be the toughest part of it. Some folks believe in 'Hardest First' other in 'Hardest Last'. I believe that the first thing is to understand the hard parts well enough to get a feeling for them and to decide then.
Well that is really just a start, off the top of my head.
Good luck and have fun!!
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 last month.
Improve this question
I am building an application in WPF using .NetFramework. It can record full or partial desktop along with Audio to an mp4 file. Right now I am using ffmpeg for that which works fine but has certain issues.
I want to give a try to Desktop Duplication API. Most of the related repositories I find on github are several years old. Why there's very little latest information available on this topic, especially for C#? Can you share any starting points that meet my requirements?
As one of the comments mention Desktop Duplication API is a native low-level API, check this repo https://github.com/bmharper/WindowsDesktopDuplicationSample.
I read also your comment regarding "stick to WPF", there are 2 options in my opinion.
The first one is a very simple RecordBook-Screen-Recorder, it is made in WinForms, and the UI is not in English but very easy to understand, I share it for inspiration: https://github.com/iEmreM/RecordBook-Screen-Recorder.
That said, I have previously played with Captura open source recording in .net and WPF, it can capture video and sound.
here is the repo, the latest updated 2 years. https://github.com/MathewSachin/Captura.
It is feature-rich software as well.
With that said, you might search and find something more, but you won't find complete software that has everything without issues.
In addition, check this article does not cover what you need but gives inspiration to your comment regards Windows Graphic Capture API.
https://blogs.windows.com/windowsdeveloper/2019/09/16/new-ways-to-do-screen-capture/
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 plan to make some applications that will let me organize tasks from home or from somewhere else. For this I need a database server (a virtual one running at home), a backend part (the business logic) and the front end (the view). At school we learned the MVVM via WPF, but to be frank I use it only when it is explicitely required.
There are a lot of benefits in favour of Unity like
Artist friendly
Can compile to mobile, web and desktop
Fast development (in my case at least)
Has a lot of built in features I can harness.
Now, even as simple as I will make an app like this, sometimes I might want to extend it, improve it or change some components entirely.
I know how to use MVVM in WPF but I only have some vague ideas for the Unity implementation which I would like someone skilled to overview.
The front end (Unity) would take care of sound management, fancy animations and the UI itself. But UI button events cannot access directly the database, so I thought of building some bridge classes. Say I want to delete a reminder, as an easy example. In an OnButtonClicked() method I would just call a BridgeClass's PleaseDeleteThis(MyReminder) and inside that method there's the backend solution that actually finds that reminder by id and removes from the database, then sends an everything all right flag back to the front end app so I know it was successful.
What I thought of is that using these bridge classes I wouldn't have to worry about what happens if I change the database server or the front end, as all they have to know is communicating with the bridge. I know the example was over simplified, but how doable would this one be regarding the component integrity and the MVVM pattern?
MVVM has been successfully used by AAA software houses to build games. The makers of Shipbreakers (aka Homeworld: Deserts of Kharak) wrote their code such that the View was a MonoBehavor I believe, VM and M were POCO classes written external to and independent to Unity so as to speed development. They can have their own Views for prototyping external to Unity.
They also wrote their own debugging visualisers and property editors for Unity.
https://www.youtube.com/watch?v=q9aeNtKKXeo
MVVM is about at the 19:18 mark though I do recommend to watch the whole thing as there are some other great things in there.
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
Short version:
New to writing code.
Need to have every window that is restored or opened to go full screen.
What functions do this? Don't need it fully coded out just the functions and syntax.
Long version for those that want more information:
Ok this is my first post so small bit of background. I am new to coding. The last time I was in a coding class they were showing me Visual Basic 6, and it was new. When I was taking that class I never thought I would need to use it. Now I find myself in a place were I need to learn, so I am learning by doing. I have been using code pieces people post up; then modifying them to do what I want and then deconstructing them to make them work. Because of that I have found out how to make a simple register application for me to use at an art table I setup every few months, and even force the numlock to stay on even if someone turns it off.
I now have a new problem, and this is where I need the help. I need to create a program that runs in the background that will force all windows that are opened after it starts up and all windows that are restored from the task bar to open in full screen.
I have found a power shell script that was posted up to cause all windows to restore in a previous state and I got it to restore to full screen.
I need to know how can I see what application was just opened and then have it force it to open as full.
If you can point me to example of the various pieces I can slap them together and modify them to work for what I need.
I am working in Microsoft Visual Studio 2015.
Hope this is better for you than the first post.
As far as I know, this functionality isn't directly exposed in the .net libraries. You'll have to use these 3 (at least) pinvoke functions: EnumDesktopWindows, IsWindowVisible, and ShowWindow. You need the IsWindowVisible function because there are lots of Windows API hwnds that aren't what you normally think of as windows.
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 recently got an offer for a traineeship for C#.NET. However before being allowed in the traineeship I need to make a small program which displays my programming skills in "C#.net". I don't know what to do now. I've downloaded visual studio 2015 and when I open it I see lots of stuff like console application/windows application etc and even .asp.net applications for web.
In the traineeship document terms are used like " Object Oriƫntated, Object Orientated Analysis and Design, UML, Database Design, SQL, XML, Scrum, Javascript, HTML5 CSS3, jQuery, Ajax, Design Pattern (MVC) and WCF.
I don't have a clue where to start! If they wanted ASP websites they could've explicated this right? Should I make them a keygen music mp3 player in a console application? Srs please help. I got 1 week for this.
Usually when asked to perform such task with as vague description as possible, the recruiters want to see your creativity and general knowledge of the technology. You don't have write another Windows system, so it's entirely up to you on what you decide to write. Just make sure it will work and it will follow general coding guidelines and it should be okay :)
I'm sure this is not the place to ask that question. You better go get some tutorials and try to walk your first steps on C# and .NET. As Keran said, the recruiters just want to know your programming and knowledge level of .NET.
Microsoft Virtual Academy is a good place to start.
Have fun!
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 not sure if I'm going to be able to explain it right since I'm quite sure I don't know the correct terminology involved with it, which is also why I'm having a difficult time Googling for answers.
Essentially, I'm looking to develop a program that serves as a web site. It'll run constantly (like a service) and will return HTML when an outside user sends an HTTP request thru a browser or similar to a specific port on the computer this program runs on. Basically, this program will perform various background errands throughout the day but I want to be able to expose a web front end (almost like how you would with standard WinForms, but I want to be able to access it remotely) to be able to configure it, check the status of tasks, and otherwise interact with it.
I'm looking to use .Net, but I'm open to using something more universal like Java too. Someone with experience in this area would be helpful to explain any pain points you've encountered and suggestions on how to get started.
You can do it in C# with the HttpListener class.
I published an example some time back. See A Simple Http Server.
Although you might consider whether you really want to operate at that low level. I have written a fairly complex server based on HttpListener, and if I had it to do over again I'd probably just bite the bullet and use ASP.NET. There is a bit of a learning curve, but unless your server is incredibly small and simple, an ASP.NET application will be a lot easier to write and will likely be more robust.
Here is a simple example on how to do it in C# using the HttpServer class:
http://www.codeproject.com/Articles/137979/Simple-HTTP-Server-in-C
You are doing at least 2 different things, so you should probably create a Solution in Visual Studio.NET with one project for each purpose (You can have many projects in a solution), probably with at least one Data Access project as well (of type Class Library). If the solution does things at certain times of the day, then those can be Console Applications that run through task scheduler, rather than one of more services. Services are better suited to things other than simple scheduled tasks. A Web Application project can serve up your html.