473,624 Members | 2,426 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Drawing network diagram

Hi,

I am using DrawEllipse and DrawLine to draw a rough network diagram.
Are there better/easier ways to do that? Also, how would one draw an
arrow? thanks.

Aug 23 '07 #1
2 6585
I prefer Visio, but if you want to roll your own, this seems fine!

Drawing the arrow should be simple. You know the end point where you want
the arrow end. Just draw two segments at 45 degree angles from where you
ended.

"alphatommy_at_ hotmail_dot_com " wrote:
Hi,

I am using DrawEllipse and DrawLine to draw a rough network diagram.
Are there better/easier ways to do that? Also, how would one draw an
arrow? thanks.

Aug 23 '07 #2
On Aug 22, 7:56 pm, alphatommy_at_h otmail_dot_com
<alphato...@hot mail.comwrote:
Hi,

I am using DrawEllipse and DrawLine to draw a rough network diagram.
Are there better/easier ways to do that? Also, how would one draw an
arrow? thanks.
To draw an arrow you can add an arrow style to the Pen you create to
draw the line:

Using p As New Pen(Color.Black , 3)

p.Color = Color.Red
p.StartCap = Drawing2D.LineC ap.RoundAnchor
p.EndCap = Drawing2D.LineC ap.ArrowAnchor

g.DrawLine(p, startpoint, endpoint) //startpoint and endpoint
created elsewhere

End Using

Chris

Aug 23 '07 #3

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

Similar topics

15
12995
by: Remon Huijts | last post by:
Hi there, For a very specific service, I have created a PHP script that uses the GD library functions to create a PNG image from a few lines of XML data describing a simple diagram/drawing. It's cool and works, writing the XML data in a text editor is straightforward for me because I designed the format. I have no idea however how I can make a simple online drawing program that creates this XML code. The code is realy simple, just...
8
50561
by: Alex Ang | last post by:
I have written the following VBScript program. It is stored into a file "map_drive.vbs". It successfully mapped to a network drive \\server1\data. Dim WshNetwork Set WshNetwork = WScript.CreateObject("WScript.Network") sPwd = inputbox("Enter password") WshNetwork.MapNetworkDrive "J:", "\\server1\data", false, "xyz_net\John", sPwd Msgbox "Drives has been map successful"
1
2296
by: adeon | last post by:
Hi all, Do you know if there is any UML diagram tool that is capable of exporting diagrams into MS Word as a Word drawing object - I want to draw a sequence diagram in an user-friendly tool and then export it (or copy&paste) to MSWord document as a word drawing, so I can double-click it later (in Word) and edit (still being in Word). I know, a bit odd but it's not my requirement - I simply want to avoid drawing UML diagrams directly in...
4
2311
by: WindAndWaves | last post by:
Hi Folks Is it possible to draw pictures with Javascript? I would like to draw a poly something (i.e. a shape with coordinates). It is for a mouse-over effect to highlight certain areas on a map. TIA - Nicolaas
20
2384
by: Greg | last post by:
I'm fairly new to access (using 2002) and am setting up a DB for work. along with each record the user also needs to make a flow diagram (previously, these reports were composed in word and they used the autoshapes to create this diagram). I was wondering what the best way to incorporate this into the DB. I have read about how saving them as pictures in the DB bloats the size, which is unacceptable, but it needs to be easy to do (not...
2
1507
by: Chua Wen Ching | last post by:
Hi, I need some ideas to get this started. Just say i draw a UML diagram and all my friends who in the network (just say 3 people), can see the diagram. So it must be real time. I know how to send text messages, but how does graphics works in this scenario. It is not sending images over to everyone, but drawing on the fly and everyone can see i draw that uml diagram.
1
3990
by: jessprev | last post by:
Hello, I have a database with customer information. I would like to add a button that will dynamically open a visio diagram of their network based on the customer name. For example if ABCCo has a visio diagram when you open the form with the
2
3313
by: Mihir | last post by:
all.. this group is amazing.. have been getting lot of answers without asking from this forum.. got a couple of questions.. first the background i am working on a database that has the network information and all the data that goes on it with the switches, the hardware, the software messages that go on it.. the links between networks.. i have all that
41
10343
by: saurabh9gupta | last post by:
I want ot generate a Network Diagram based on the information Stored in my Database IP ADRESS STATUS 128.98.76.6 Active 128.96.35.21 Active 128.5.68.9 Not Active I want to generate a network diagram in which the Active nodes are shown by a green link and non active in Red link. How should i do this in C#
0
8240
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8175
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8625
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8336
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7168
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6111
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
1791
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1487
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.