Get The Lines To Change Their Locations But The DragHandle Rectangles Won't Update?
Feb 23, 2010
I am able to get the lines to change their locations, but the dragHandle rectangles won't update - they stay at their starting locations. I would have thought since the points list changed the updateLinehandles() would fix it.
Friend Class Line
#Region " Variables "
Public p1 As Point
Public p2 As Point
[code]....
View 1 Replies
ADVERTISEMENT
Oct 19, 2011
I'm doing a web application in which the user must make a series of figures such as rectangles, text boxes and lines, Is something like like google docs draw
View 2 Replies
May 24, 2011
I have made a For next loop with an array. I want all my picture boxes to follow each other within the loop. I have currently been using old code, but not in a loop or array format. The old code works. The array code only makes the 2nd picture box follow the FIRST one. It doesn't loop the rest. I have checked the code and cannot determine any mistakes, else I'm missing out on something I haven't been taught.[code]...
View 17 Replies
Jul 3, 2009
I have a gridview in which when I click edit, update, and cancel button comes. I have a variable named status. If status=false then update should change to insert and if status=true then update should be update itself.
<asp:TemplateField >
<ItemTemplate>
<asp:LinkButton ID="lnkEdit" runat="server" CommandName="Edit" Text="Edit">
</asp:LinkButton>
[code].....
View 2 Replies
Apr 7, 2011
Why is it sometimes when I update a data using da.update(ds), the data sometimes didn't update or change... for example i want to change the name or number n a record, sometimes there is no changes..
[Code]....
View 1 Replies
Mar 29, 2011
I am using VB.NET with a MySQL database. I want to update this code to do it all in ONE SQL instead of THREE. Here's the code I'm using, works fine but too slow with multiple lines...
If count3 = "1" Then
Dim myCommand As New MySqlCommand
Dim myAdapter As New MySqlDataAdapter
Dim SQL As String
myCommand.Connection = conn
[Code] .....
View 1 Replies
Mar 23, 2011
Basically I'm trying convert the following....
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
[code]....
View 3 Replies
Mar 15, 2009
I've been pondering upon my idea on how to create/update a text file using each item in a listbox as lines, but I fail each time. I've searched this forum as well as my friend, Google. Still nothing.
View 3 Replies
May 5, 2009
I wanted to change the style, width and color of the grid lines for my X/Y scatter graph.Basically, I want to distinguish the minor grid lines and the major grid lines.
View 1 Replies
Jan 14, 2012
I'm fairly new to ASP.net development.th something I have been spinning my wheels on. I would like to update the value a textbox and then load some data when a user clicks a button. I have this working perfectly but unfortunately the textbox change isn't visible until AFTER the data loads. I've tried several methods, updatepanel, backgroundworker, and async
View 4 Replies
Mar 21, 2012
I'm creating a program that pings a host. I'm trying make text appear RED on one line if it's down, and GREEN if it's UP.
View 6 Replies
Apr 16, 2009
I am pasting into a RTB from the clipboard and from different sources.At the end, I want to reformat the content of the RTB in a way that all font styles (such as bold, italic etc) remain unchanged, but only the line spacing gets uniform.
I do not find a way to change line spacing without changing the font (and at the same time removing all the bold and italic attributes)
View 1 Replies
Feb 7, 2010
Im trying to change specific lines of text in a listview at certain times of the day. Heres what im using atm , but im not sure how to change the text in the listview.
If Now.Month = 2 And Now.Day > 6 Then
ListView1.Items(0) = ("My text here !!")
End If
View 9 Replies
Mar 8, 2010
I am trying to have different types of rectangles. I thought something like this would work, but Rectangle is not a class.
Public Class xRectangle
Inherits Rectangle
End Class
What I wanted this for was to remove a selection rectangle from an existing drawing. I have all of the objects to draw stored in a list and I am trying to remove the selection rectangle without removing the object it is covering.
View 4 Replies
Jun 7, 2011
how to flip rectangles in picturebox?
View 3 Replies
Aug 9, 2011
How to flip rectangles in picturebox?
View 5 Replies
Feb 7, 2009
How to know if two rectangles intersect. i know for polygon center, length, width and angle. i want to fast algorithm for visual basic 2008.
View 12 Replies
Feb 7, 2009
how to know if two rectangles intersect i know for polygon center, length, width and anglei want to fast algorithm for visual basic 2008
View 5 Replies
Feb 11, 2012
I have made considerable progress on a game I am making, but one of the fundamentals of it relies on collision detection. At the moment, I am using Rectangle.IntersectsWith() to check "collision" between two PictureBoxes, but I don't want everything all square (graphics, etc). So I set about adjusting regions and have ended up with a circular button (from the MSDN example). What I'd like to know is this: Is there any way I can check intersection between any two OBJECTS, not just rectangles? As in, if the rectangle intersects with or is inside the circle in any way then how do I check it programmatically?
View 3 Replies
Dec 13, 2011
I just want to draw some lines between the rectangles in vb.net. I used g.drawstring() method to that.
But now, based on a value I just want to change the opacity of the arrow.
View 1 Replies
Dec 11, 2009
I have an automated electrical tester, I want to create a type of map file so that way the user can select a subset of devices to test. So basically I want to create a type of grid that the user will be able to highlight specific rectangles in the grid so that way the tester knows to test only those specific locations. To start I want to create a 4X4 grid and each individual rectangle in the grid will contain some coordinate information. Does anyone have a tiny example of how I can draw a 4X4 grid, or any thoughts on the best way to do this? The real final map I will be making will have over 50K devices.
View 1 Replies
Feb 2, 2011
Lets say that I've got the coordinates of two Rectangles, they could be right next to each other or have space between them. I need to draw a PolygonHotSpot around the two rectangles (so it will only cover the two rectangles and the space between them). I've come to find that I have to give the coordinates a clockwise order around the entire polygon, rather than around each rectangle (which works fine for a single rectangle).
So given a list of coordinates, is there a way to get them into the order that I need for there to not be any gaps in my PolygonHotSpot?
View 1 Replies
Oct 15, 2011
i want to Identify filled rectangles in picture given picture in vb .net.
View 2 Replies
Jun 20, 2010
I have a bunch of rectangles simulating players for a football game I'm designing. I want to find out how many "players" are in between two points on the field. I have a start point (a defender trying to locate the ball carrier) and endpoint (the ball carrier). I need the number of other players in between those two points (I have all of their coordinates as well). The more traffic in the defender's field of vision the harder it will be to find the ball.
View 3 Replies
May 29, 2010
I have two rectangles; a character and a block. The character is suppose to jump onto the block and then either jump off it or walk off it. I am really getting frustrated with this because I cannot get it to work.
View 9 Replies
Apr 13, 2010
I need some help calculating physics after a collision, sort of like rigid body physics but just for rectangles, I don't need them to rotate but only to know the x and y speed they leave each other and the angular velocity etc. the collision with the walls work fine since all I'm doing is reversing the speeds of the rectangles (which is probably the wrong way of doing it) but unfortunately this does not not work for the two rectangles colliding with each other, so can some1 lead me in the right direction as to how I can go about calculating this.
View 7 Replies
Nov 17, 2010
My aim is to draw single pixels and rectangles on any web browser.
I ve been thinking alot about this and I think I that there might be 2 ways to do this:
1) Send message api maybe?
2) Direct 3d hook with C++ (Although this is quite complicated)
So my questions are:
Btw the use for it is to detect a certain pixel on the webbrowser and draw on it.
Don't ask why since it is quite complicated and I know also how to use Send message api and I once managed to program a direct 3d hook (but for a 3d game which was based on direct x SDK) with C++ although im not sure if it will work due to webbrowsers dont work with directx.
View 7 Replies
Jul 30, 2008
Redrawing rectangles on a Form? I have a problem repainting my form, I'm creating a "Bouncing block" Type of game , the Ball as a PicturBox, the Bar as A Picture Box And the Breakable "Targets" as An Array of Rectangles created in my forms Paint event using "e.Graphics.FillRectangles(Brush, rectsF)". It Looks a little like this:
Top of my Form(in the MainForm class):
Dim Brush As New SolidBrush(Color.Red)
Dim rectsF() As Rectangle
[Code].....
View 1 Replies
Mar 1, 2012
I have a DataGridView (not data bound, not editable) that displays a bunch of data. I want to draw rectangles around some of the blocks of cells to set them apart visually. For example, I want to draw a red border around the block of cells from row 3 colum 2 to row 6 column 3 so that there is a red rectangle around the 8 cells.I've found how to paint rectangles around individual cells or rows, but I can't work out how to do it for a block of cells.
View 10 Replies
May 16, 2009
I don't really know how to explain this except that I want to draw a bunch of rectangles in a LOOP, then I want each rectangle to be put into an array. To be more specific as alot of people keep telling me to be....I am making a robot, that can move left or right from below the screen, the robot is a rectangle with a barrel in the middle of it. The robot can shoot bullets, but as I understand I have to draw the bullets from the code. So far I have the functions written down to get started and I have tried all the drawing methods, and none of them will do what I want.
vb.net
Public Class Form1
Robot Settings
[code].....
View 1 Replies