473,405 Members | 2,287 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,405 software developers and data experts.

Redrawing the same line in vbnet 2003

hi there

i m working on this application which involves drawing a line from point A to point B. After the line is drawn i trigger an event and the line has to be redrawn again but this time it should be half the length of the original line and should replace the original line.

At the moment i can draw both the lines but i dont know how to get rid of the original line.

Any ideas/code on how i can go about to solve this problem?

regards
Yasin
Sep 20 '07 #1
1 857
Shashi Sadasivan
1,435 Expert 1GB
Hi Yasin
I was going thru this article,
havent been able to get the whole idea completely
Hope you can do it .
cheers
Sep 20 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Otie | last post by:
I have a circle that displays information in 1-degree increments - there are 90 such increments that comprise the circle. I need a pointer within the circle that rotates. The pointer must include...
5
by: Michel | last post by:
How to force the redrawing of a Form?
4
by: JEEPEE | last post by:
what s difference between vbnet 2002 and 2003 ? thanks
5
by: Jim | last post by:
Please don't laugh--I'm serious about this-- I finally got around to installing the copy of VBNet I bought last summer. I didn't see any installation instructions in the box--just a bunch of...
7
by: Dino Buljubasic | last post by:
Hi, I am using C# 2.0 (VS2005) to build my user control that contains a number of dynamically loaded ListViews. ListViewItems have their ForeColor properties set to either black or blue to...
4
by: Tobin | last post by:
Hello, I'm developing production software in VB 6 sp5. We are looking to convert our software to visual studio 2005. Resources are limited and I would like to install 2005 on the same machine...
2
by: Hugh Janus | last post by:
Hi all, I am drawing some lines on a picturebox control. In the .Paint event of the picturebox I draw the lines of a graph. These lines are static and never move. Now, in the same Sub I am...
0
by: Screaming Eagles 101 | last post by:
I'dd like to change line(x) in a richtextbox, wordwrap is true, multiline is true. This ain't possible sayin' myTBX.Lines(5) = "blablabla" it seems... Why not ? I have a workaround by saying...
7
by: Jwe | last post by:
Hi, I've written a program which has both a command line interface and Windows form interface, however it isn't quite working correctly. When run from command line with no arguments it should...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
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
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,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.