RSS Forums RSS
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 1092 | Replies: 2
Reply
Join Date: Feb 2007
Posts: 3
Reputation: husseina78 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
husseina78 husseina78 is offline Offline
Newbie Poster

Help Making intractive graphics

  #1  
Feb 17th, 2007
Dears
im petroleum engineer
i want to create a program that enables the user to draw a pipeline system which consists of pipeline segments,pumping station,valves
etc...
i want the user to draw the pipeline segment on a form as (line or arrow)
and let this (line or arrow) be an interactive object: means after the user draw a line ,when he doubel click it ,another form should appear, to enter the information relevant to that line(pipeline segment)

about the pumping station,valves etc... ,i want the user insert them as
interactive icon and attached them to the existing pipeline segment


Is that affordable in vb6?Please help
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Sep 2006
Posts: 16
Reputation: JohnKelly is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
JohnKelly JohnKelly is offline Offline
Newbie Poster

Re: Making intractive graphics

  #2  
May 1st, 2007
Yes this is very easy, we do it all the time. You need a picture box with the scale width and height set to cover your area.

When the user draws the line you need to track to coordinates and add it to a local array. When the user clicks on a "pipeline" you trap the mouse coordinates and then use the local array to determine which segment he has clicked next to. Depending on what it is e.g. pipeline, valve, pig trap etc you can load the appropriate form and allow him to enter the relevant info.

Hope this helps.
Reply With Quote  
Join Date: Apr 2007
Posts: 41
Reputation: vbCNEW is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 3
vbCNEW vbCNEW is offline Offline
Light Poster

Re: Making intractive graphics

  #3  
May 2nd, 2007
it is!!! if you need help you could email me...
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 5:02 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC