Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Software to Program With Graphics

Software to Program With Graphics

Software to Program With Graphics

Hello, I'm working on making a simple program to perform Power System Analysis.  This will be for my personal use.  I have the calculations on Excel and have some Macros on Visual Basic.  I would like to create graphics for the elements (i.e. Cables, Loads, Transformers) and assign/adjust the values of those elements when click on the element and a window with the properties will open.  I'm not too familiar with the latest on programming languages.  What are the differences between Visual Basic, the Visual Basic .NET or Visual C++?.  Which of this programs should help me to make my program?.  I would like to run it on windows.

RE: Software to Program With Graphics

Since you already have some VB done, and you do not have a direct need for C++ and you did not indicate any specialty I/O needs, then it would seem teh VB .NET would be the way to go.  MicroSoft is pushing C# instead of C++, but it is more like Java (IMO).  I did something similar 3 years ago and decided on Borland C++ and purchased a professional picture/toolkit/object library for $1500 US and have been very happy.  If you do not need to get into C++ then don't.  You did not mention Java, which should be one of alternatives, but not a gretone since you already have VB done.

RE: Software to Program With Graphics

Windows versions of Excel have some graphics capability; I have no idea if it's enough for what you want.

Billy has strongly encouraged everyone to adopt the ".NET initiative", but he has not actually revealed what it is.  Some folks insist that it's a nefarious scheme to eventually ensure that your data is stored exclusively on Microsoft owned servers, and cannot be accessed except via Microsoft software for which you'll have to pay an annual usage/access fee, to Microsoft.  Some people use C++ and like it.  For me, C and its offspring serve as uncontrollable bug generators.  Your mileage may vary.


Mike Halloran
Pembroke Pines, FL, USA

RE: Software to Program With Graphics

Another suggestion: Although I have not personally done any programming with Microsoft Visio, I have seen a fairly hefty commercial HMI (Human-Machine Infterface) program built with it. It's very easy to create graphical "shapes", or objects, that can be manipulated programmatically. There is a quite extensive library of pre-made shapes that comes with the Professional version. VBA (Visual Basic for Applications) is supported, but info on the Document Object Model may take some digging to find.

Good Luck,
Greg Hansen

RE: Software to Program With Graphics

Thanks to everybody.  Should I get the VB or VB professional or VB .Net.  The stuff that I have on VB right now is with the VB that comes or Excel uses.

RE: Software to Program With Graphics

For what you say you are doing VBA is adequate


RE: Software to Program With Graphics

Sorry but I forgot to ask, Can I make toolbars? and are we talking on the VB that cost about $100.00 if not which one I should be looking for? I'm not too familiar and when searching there are too many different packages.

RE: Software to Program With Graphics

Since you're doing your calculations in Excel, you can use VBA to do the HMI stuff.  Using anything else is probably overkill and will keep you doing programming instead of engineering


RE: Software to Program With Graphics

If you're on DSL, you can get VB for free from http://msdn.microsoft.com/vstudio/express/vb/

It is the Beta edition but adequate for small programs.  Alternatively send MS £3 (or whatever the equivalent is in the US) and they'll send you the disk.  If you want to try C# or C++, you can also get the beta editions from the same site.

RE: Software to Program With Graphics

Hi wilsonv (Electrical)
I have same idea that you have. And I know a bit of VB6 but I am not able to program it. I read a couple of VB books and sample programmes but so far no clue.
How is your 'project' so far?
Appreciate it if you can share your experience.

Or anybody has any suggestion? Any Inputs?Any clue?


RE: Software to Program With Graphics

See http://pp.kpnet.fi/ijl
Programmed with Delphi from Borland

RE: Software to Program With Graphics

I would also vote for delphi. I have done some fairly complex things with Borlands Turbo Pascal and now with Delphi.
Including database design (Borlands Interbase), autocad drawings viewers, interaction with word and excel, PDF writing, a two plane and single plane balancing calculator, and many more. Currently I am looking to use flash animations to include in one of my apps.

I was caught in the transition phase from mainframe to personal computers and started programming with FORTRAN. Since Fortran was not available on PC's I switched to Turbo pascal which have a similar structure.
The Delphi, VB and C++ books are written for programmers, not engineers.
On the other hand, matrix calculation, advanced math etc.. have tons of code written in Fortran.
Ask a programmer about a Newton-Raphson iteration or complex numbers, he probably will not know what you are talking about.
Thus I managed translate fortran code to pascal "Delphi" and I never had the problem finding scientific code snippets in technical books.

I know some top of the line industrial products that make use of Delpi, Interbase, Borland C++, all products from Borland.

Example: Matrikon - process interfase
         Commtest Ascent - Vibration Analyzing Software used together with a VB3000 vibration analyzer.

Best regards.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close