473,406 Members | 2,549 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Drawing

We have an application that is written in VB that allows to users to design
some basic structures by allowing them to select items in in a Picture box
and them modify the properties of the item that they have selected.

The items that they select are generally lines of varying length & thickness
& some arrows indicating the position of various forces.

The users are very happy with the way they use the program at present, but
we would like move this program to the company intranet. We are hoping to
use this opportunity to develop our first ASP.Net application but are
wondering how to get this 'drawing' functionality from a web page.

Are there web controls that can detect the position of the mouse & possibly
allow drag & drop of items on a drawing?

Terry Holland

Nov 18 '05 #1
2 1332
Hi Terry,

Given your Web application will be used on the Intranet, and that you could
possibly restrict the users to using IE only, I'd suggest crafting a Windows
Forms user control that will then be hosted by a Web page. Since, in
general, you cannot do any real drawing on a Web page, I see this as the
best solution.

Now to the possible consequences:

1. All of the users will have to have the .NET Framework installed.
2. Windows Forms controls, when hosted by Internet Explorer, are granted
pretty restrictive priveleges. You should exercise care in designing such
areas of the application as accessing disk files, network connectivity or
interoperating with unmanaged code. While these priveleges can be increased,
this will have to be done on each user's machine, so if this is unwanted or
unsuitable, you are now warned.

Hope this helps.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Terry Holland" <th******@sgbgb.co.uk> wrote in message
news:ee**************@tk2msftngp13.phx.gbl...
We have an application that is written in VB that allows to users to design some basic structures by allowing them to select items in in a Picture box
and them modify the properties of the item that they have selected.

The items that they select are generally lines of varying length & thickness & some arrows indicating the position of various forces.

The users are very happy with the way they use the program at present, but
we would like move this program to the company intranet. We are hoping to
use this opportunity to develop our first ASP.Net application but are
wondering how to get this 'drawing' functionality from a web page.

Are there web controls that can detect the position of the mouse & possibly allow drag & drop of items on a drawing?

Terry Holland


Nov 18 '05 #2
This would be okay

Can you point me to any examples of how to do this?

"Dmitriy Lapshin [C# / .NET MVP]" <x-****@no-spam-please.hotpop.com> wrote
in message news:OJ**************@tk2msftngp13.phx.gbl...
Hi Terry,

Given your Web application will be used on the Intranet, and that you could possibly restrict the users to using IE only, I'd suggest crafting a Windows Forms user control that will then be hosted by a Web page. Since, in
general, you cannot do any real drawing on a Web page, I see this as the
best solution.

Now to the possible consequences:

1. All of the users will have to have the .NET Framework installed.
2. Windows Forms controls, when hosted by Internet Explorer, are granted
pretty restrictive priveleges. You should exercise care in designing such
areas of the application as accessing disk files, network connectivity or
interoperating with unmanaged code. While these priveleges can be increased, this will have to be done on each user's machine, so if this is unwanted or unsuitable, you are now warned.

Hope this helps.

--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE

"Terry Holland" <th******@sgbgb.co.uk> wrote in message
news:ee**************@tk2msftngp13.phx.gbl...
We have an application that is written in VB that allows to users to

design
some basic structures by allowing them to select items in in a Picture box and them modify the properties of the item that they have selected.

The items that they select are generally lines of varying length &

thickness
& some arrows indicating the position of various forces.

The users are very happy with the way they use the program at present, but we would like move this program to the company intranet. We are hoping to use this opportunity to develop our first ASP.Net application but are
wondering how to get this 'drawing' functionality from a web page.

Are there web controls that can detect the position of the mouse &

possibly
allow drag & drop of items on a drawing?

Terry Holland

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tomi Holger Engdahl | last post by:
I am looking for a solution to add on-line drawing tool to a phpBB discussion board. The idea would be that the users can draw their own simple drawings with the tool and attach them easily as...
2
by: Champika Nirosh | last post by:
Hi, I want to create drawing board application that can draw Line, rectagle, circle and free hand drawing. Each drawing need to be transparent, moveable (draggable), have bring to front and...
1
by: Hadar | last post by:
Hi, I'm getting "object is currently in use elsewhere" when I use System.Drawing.Graphics.MesureString. This is what I do: My controls use a utility class the helps it to mesure strings. To...
7
by: Marc Pelletier | last post by:
Hello all, I have a class which includes a method to create a chart. I want to be able to call this method from asp.net code as well as windows application code, so I have sketched it out as...
2
by: active | last post by:
I find Bitmap.Save works for WMF files but Bitmap.FromFile does not. If I use FromFile on a WMF file that came with VS I get an exception. If I use it on a WMF file created with Bitmap.Save I...
3
by: Chris Saunders | last post by:
I am fairly new to .Net and C# but am familiar with the Win32 API. I wish to set the pixels of the client area of a window one at a time with a specific color. I have so far discovered that...
5
by: Jerry J | last post by:
I want to use the System.Drawing.Image class. According to the help file, this is an abstract base class. Because it is supposedly abstract, I created another class that inherits from it. However,...
1
by: YouPoP | last post by:
I am doing an app (C# 2.0) where you can draw in a panel with your mouse in "real time". I actually have 2 problems; 1- it does not really is "real time", if your mouse move fast or very fast the...
2
by: ThatsIT.net.au | last post by:
I have this code that writes a pie chart in a asp.net page, but I want to use it in a server control. When I try I get a error on the last line "Response.OutputStream" Obviously there is no...
7
by: raylopez99 | last post by:
I have a logical drawing space much bigger than the viewport (the screen) and I'd like to center the viewport (the screen) to be at the center of the logical drawing space. After following the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.