coding a flowchart
-
Friday, August 17, 2012 8:48 AMHi!
I need to design a user interface which enables a user to graphically program and achieve his own desired functionality using building blocks provided by my environment; so the user's end result should look like a flowchart. What are my options in doing that please?
All Replies
-
Monday, August 20, 2012 3:22 AMModerator
Hi crogger,
Thanks for you post.
It seems you need to separate your application to several forms. Using next and preview button to edit the data between forms. And you need to create the code to display the result according to the data users pressed in.
Your description is too general, and I’m afraid that I have no more idea about this issue. Please share more specific issue or plan about your issue.
Hope this helps.
Mark Liu-lxf [MSFT]
MSDN Community Support | Feedback to us
-
Monday, August 20, 2012 9:44 AMHi!
Thank your your reply! Let me illustrate what I mean by describing a similar example. Let's say I want to code a simple graphical mathematical tool.
On the left side of the application window, there would be a toolbox containing 4 boxes, each doing a different function; plus, minus, times, division. The user would be able to drag these boxes out of the toolbox during run-time to create an indefinitely long sequence of mathematical instructions. When the user presses a run button, the result will be calculated and displayed.
So at the end of the day, I'd like to code an application similar to Visio or Simulink (but with my own custom modules of course). I'm not really fluent in graphical applications, so any help would be very appreciated! -
Monday, August 20, 2012 10:16 AMModerator
Hi crogger,
It seems you have got what you need to do. Here is some information about drag and drop. You can follow this to write the code about drag the data from "toolbox" to textbox. And click button to calculate the data. Here is some information you can refer to:
Implementing Drag and Drop in Visual Basic .NET: http://msdn.microsoft.com/en-us/library/aa289508(VS.71).aspx
Drag and Drop controls on Form: http://social.msdn.microsoft.com/Forums/en-US/vbide/thread/46b285a4-5978-4b1f-ae7f-8f2dab8a982d/
NCalc - Mathematical Expressions Evaluator for .NET: http://ncalc.codeplex.com/
Hope this helps.
Mark Liu-lxf [MSFT]
MSDN Community Support | Feedback to us
- Edited by Mark Liu-lxfModerator Monday, August 20, 2012 10:17 AM
- Marked As Answer by Mark Liu-lxfModerator Tuesday, August 28, 2012 7:09 AM
-
Tuesday, August 28, 2012 7:10 AMModerator
Hi crogger,
We haven’t heard from you for several days. I’d like to mark my reply as answer firstly. If you have any additional questions, you also can unmark the replay and post your question here.
Sorry for any inconvenience and have a nice day.
Mark Liu-lxf [MSFT]
MSDN Community Support | Feedback to us

