N
N
noway2010-12-13 01:10:30
Software and Internet Services
noway, 2010-12-13 01:10:30

What is the best way to write a Windows application?

There is a task, to write an application for the state. needs for Windows.
And think about what to write.

.NET is good for everyone, but the framework will need to be forced to be installed (not everywhere it is still by default, believe me).

And on what would you suggest writing a small separate application for the mat. calculations?

Answer the question

In order to leave comments, you need to log in

15 answer(s)
D
deactivatedtheelephant, 2010-12-13
@deactivatedtheelephant

Well, it reminded me:
XXX : If the computer was a construction site, then when asked to advise a tool for driving a nail, most people around would advise using various models of microscopes from a warehouse, pouring shit on microscopes from other manufacturers, and only a couple of people would silently hold out a hammer.
YYY : And of these two hammers, one would be a homemade mallet!
XXX : Exactly. And someone else would say that all lamers, and instead of a nail, you need to use a screw.
YYY : And I would offer my own version of a self-tapping screw with a right-hand thread for a hex screwdriver with the Sun logo ...
XXX : And then someone will come and say that they put everything on superglue and it seems to be worth it.
YYY: And someone will lament about the fact that earlier they built and stood for centuries without nails at all ...

S
S_talker, 2010-12-13
@S_talker

I'm afraid to run into fierce anti-delphists, but ...
If the situation is such that even .NET is not installed everywhere (which means a maximum of XP with early SP or without them at all), then the hardware should not be very powerful. Why not try Delphi? As for me, there is no better framework for developing Win32 applications that do not require .NET. The output will be a native Windows application, which (with the right skills) is quickly developed and easily expanded. In addition, the latest Delphi IDEs (versions 2007+) are relatively suitable for comfortable development.

V
v1z, 2010-12-13
@v1z

Here I asked a similar question - habrahabr.ru/qa/1894/
I settled on C # + winforms, although I had no coding experience (only web), I figured it out pretty quickly. There is a lot of documentation on the Internet, problems are solved quickly, and more than half of the planned features can be implemented intuitively.
Yes, you have to force the framework to be installed, this is a minus. But in my case, this is not particularly critical. I myself am a system administrator, and I can install it myself on the necessary computers.

A
Atrax, 2010-12-13
@Atrax

An application for "government needs" will also require implementation documentation, in which you can register the desired framework. So don't be shy :) installing it is the task of the system administrator, if the program is needed, then he will be puzzled by this.

A
Anton, 2010-12-13
@kosmonaFFFt

Or just C ++ with Qt - IMHO a pretty handy thing for development ...

A
asArtem, 2010-12-13
@asArtem

if .net is not at least 2.0, then it should be installed immediately. Software under windows + 2010 without dotNet does not make sense and is not relevant.

S
si14, 2010-12-13
@si14

What's wrong with Python + PyQt/wx packaged in one .exe? You can also write mathematics on it, taking the same PyPy and some lib for mathematics (numpy is the same).

K
Kalantyr, 2010-12-13
@Kalantyr

Recently it has become fashionable to write for Windows in Silverlight. Installing a browser plugin is still easier than a whole framework, and the problem of automatically updating the application disappears.
Starting with version 4, Silverlight is positioned not only as a web client, but also as a Windows application (comrade Chernomordikov spoke a lot about this).
However, keep in mind that Silverlight applications are supposed to communicate with the outside world mainly through web services (although it is possible to work with files in a personal folder and interact with MS Office, etc.).
If the application is complex, requires direct database access, is demanding on hardware resources, or needs to access system files, then WPF.
I myself am currently developing a large corporate workflow system, the entire interface is in Silverlight. In 99% of cases, this is enough for business tasks.

B
Bright, 2010-12-13
@Bright

Try wxWidgets. Get a native application for Windows + the ability to relatively easily port the application to other platforms (in case the mentioned government agency switches to Linux).
All in all, wxWidgets is a pretty nice framework to work with. A disadvantage can be considered a modest (compared to others) amount of documentation, but I can say that official docks, books by Julian Smart, several articles in Russian and examples from the official site are enough to solve most of the questions that arise in the process of work.

P
pietrovich, 2010-12-13
@pietrovich

.net is good for everyone, I don’t consider the requirement to install a framework a minus. however, for mathematics there is Fortran and others like it, so I don’t remember them in .net. although no, I found something - www.lahey.com/
if you twist them, there are examples on the net, it should be convenient - molds in C #, calculations in Fortran;)

R
redsh, 2010-12-13
@redsh

in general, you should not abandon .NET when developing a "stationary" application just because you need to install a framework. C# is quite a good choice for writing an application purely under Windows.
if you need to write just a small, portable program, you can use C or C ++
, you can also write in Java. but you will have to suffer a lot stupidly with setting up the environment, and the JRE will still have to be installed on client machines. but it will be cross-platform. if cross-platform is not needed, C# is better.

S
Shirixae, 2010-12-13
@Shirixae

For the GUI - QT, which is both cross-platform and does not require dragging a framework along with it, everything is in libs. And what's inside - choose for yourself.

A
Alexey Dubrovinsky, 2020-06-24
@Flexey

In Excel on VBA - it's the most for calculations.
Microsoft Office is installed on all computers, so such an application can be run anywhere and anytime.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question