Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello,

Could anyone point me in the direction of making a program that i can drag and drop blocks in and put together to for code, a bit like the idea behind Scratch and the Android inventor IDE

Any help would be greatly appreciated
Posted
Comments
Sergey Alexandrovich Kryukov 30-Jun-15 20:01pm    
The question is very vague. It's not clear what kind of direction you may expect. If you have some special idea, you have to explain it, and explain you concerns. If you don't have any ideas, I'm not sure you are the one who should do this kind of development. Anyway, we would gladly help, only it's not clear what would help you would need.
—SA
dylanbatt74 1-Jul-15 0:24am    
Apologies
My idea is I want be know how this " visual style " program is put together ie : how do I get from placing a block, on screen , then another and have it write the code in the background,
I am developing arduino based PLC for (for small applications at first) and want an easy way to crest the code so anyone can use it
If I can get to grips with getting with understanding the writing code from placing a graphical block on screen this would help me greatly

For instance if I place a if block then this will generate the code and the place a variable block this will fill in the code also ?
The type of programming I'm referring to is like scratch drag and drop jigsaw like pieces that write code in the background
I hope this helps, I am familiar with Java and c# but would prefer c# to complete this in but if there is a better option I am prepared to learn, I don't want lines and lines of code just a kick start

Many thanks

Sergey Alexandrovich Kryukov 1-Jul-15 2:13am    
This is not an idea. I mean, the whole idea of graphical programming is old, and there is a number of different approaches. Your idea would sound if you go into some particular detail. I strongly don't recommend visual programming for anything non-visual, such as code logic. This way, you divert development into manual work, getting nothing in return. When you right code and do it correctly, you almost avoid any repeated work, but with "visual", you always repeat many clicks and moves.
—SA

1 solution

Ok let's start again

if I have a window and drag and drop a nice little picture onto it, how do I change this in to let's say some pre defined c# code ?

Can you help with this or not ?

I'm sorry to sound blunt but as far as my idea goes I'm only asking for this help above not for you to write the program, weather the idea is old or not is not really if concern,

Thank you
 
Share this answer
 
Comments
Richard MacCutchan 1-Jul-15 3:57am    
See https://www.google.com/search?q=c%23+drag+and+drop.

BTW don't add supplementary questions as Solutions, edit your original message.
dylanbatt74 1-Jul-15 4:03am    
Thanks you for your help :)
I must have wrote in wrong box using phone.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900