Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29375 Discussions

How do I add GUI to a Visual Studion developed FORTRAN code?

rlrockrohr
Beginner
1,508 Views

I've recently started developing code using FORTRAN in the vVisual Studion environment for some of my school work.

How do I (i.e. what is the easiest way to)add a GUI to due some general user input or output selections?

RLR

0 Kudos
6 Replies
onkelhotte
New Contributor II
1,508 Views

When you use the intel bundle with Visual Studio PremierPartner edition, you have to use a third party tool to create the resource files because VSPP has no resource editor. But I dont know any third party tool, sorry.

In fortran there is no "easy way" to create a GUI. Centuries ago QuickWin was created so you could create a GUI. Try www.xeffort.com from JugoslavDujic, thats more comfortable than the original QuickWin.

Markus

0 Kudos
Steven_L_Intel1
Employee
1,508 Views
While QuickWin was created "centuries ago", Fortran was created even longer ago. QuickWin is a perfectly fine way to easily add a GUI to an application and I would recommend it here.

To get started, you need to create a new project of type "QuickWin Application" then add your source to it. See the Intel documentation under Building Applications for more details on using QuickWin.
0 Kudos
g_f_thomas
Beginner
1,508 Views

I agree with Steve that a QwickWin app is the easiest way to go. I've acquired several QW apps over the years which are perfectly fine at what they do even if they lacka snazzy silverlight look. Their authors are more focused on what the app does than how the gui looks provided that it's functional.

As you are lucky enough to be at school perhaps youhave access to Matlab which has a gui builder. Their docs describe the way to create an IVF dll (called mex in Matlab) that can be used within the Matlab environment.

Gerry

0 Kudos
onkelhotte
New Contributor II
1,508 Views

Sorry Steve, I mistook centuries for decades... :-) But QuickWin is antiquated.

The options with QuickWin are very limited. I miss the functionality of list view with editable entries, color changing of text or validating edit boxes while the user types something in. That has nothing to do with shiny silverligth or whatever.

Markus

0 Kudos
Steven_L_Intel1
Employee
1,508 Views
You'd be astonished what you can do with QuickWin if you put your mind to it. Check out the Poker sample in 10.1 for instance. But what was asked for was the easiest way to add a GUI allowing user input, and QuickWin is it. Without ANY code changes, you get a scrollable input/output window with copy and paste and a simple application menu. You can also create an additional window just by OPENing a file.

You can also easily add menus, dialog boxes, colored text and more, without significantly changing the structure of a traditional console application, something you cannot say for any other solution I know of.
0 Kudos
bmchenry
New Contributor II
1,508 Views

I would suggest a 3rd party add on like Winteracter. www.winteracter.com

I've been using Winteracter for years with the various flavors of Fortran compilers (Microsoft->Lahey->Compaq->Intel) and it will permit you to quickly and efficiently add a GUI interface which will work with any of the compilers.

There are other 3rd party add-ons, which basically add a simplified interface to the Windows API, etc.

note: I am in no way affiliated with Winteracter or any Fortran compilers or tools.

Brian

0 Kudos
Reply