Adding A Point Overlayed Over A Specific Photo

Sep 8, 2009

I've searched the forums for this, but I can't seem to find exactly what I am looking for. I have a form currently that allows me to open a photo in a picturebox. I would like to add functionality that would allow the user to click on a specific part of the photo and add a point overlaid on the photo. This point would be the graphical representation of comment that they will enter in a separate text box. I am stumped on how to even start to get this done.

[Code]...

View 9 Replies


ADVERTISEMENT

Open A Photo With The Default Photo Editor?

Jan 28, 2008

-VB 2008-

I'm designing a very simple photo album program and need to be able to open an image using the system's default photo editor.

View 10 Replies

Overlayed Onto A Second Image On A Form?

Apr 26, 2012

I have an image that needs to be overlayed onto a second image on a form. Here's the catch: the second image needs to be user defined( everyone I ask says merge them in photoshop)How would I do this?(I've only been coding about a month)

View 6 Replies

Get All Nodes Below A Specific Point In XML?

Nov 22, 2009

I'm using the xmldocument class and I need to check in an RSS document if it includes the optional tags for a news item document. The two main ways that gets passed if via a <dc:creator> tag and an <author> tag below an item tag./rss/channel/item/?I'm new to this. I'd like to see if either of those tags are there, and if them and if not supplant it with something else.Right now in my code if I call /rss/channel/item/author and it's not there I get an error that dumps me. How can I test for it being there before I try something like:

Dim nodes As XPathNodeIterator = navigator.Select("/rss/channel/item/author")

View 4 Replies

Get Color From Specific Point?

Oct 25, 2010

I'm looking to get the System.Drawing.Color that's applied to a specific point in a Panel or other User Control.

View 5 Replies

Go To A Specific Point In A File?

Jul 6, 2009

I have created a program in which I am supposed to add a stock to an existing table of stocks. I have this table of stocks stored in a file. The last line of the file is a ------- and the final stock is on the second to last line. HOw do I add a stock before the ----- and after the final stock??? I can't use append because that simply adds to the end and after the ---.

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim sw As IO.StreamWriter = IO.File.CreateText("csvSTOCKS.TXT")
Dim sr As IO.StreamReader = IO.File.OpenText("TABLE.TXT")

[code]....

View 1 Replies

Forms :: Open A Form At A Specific Point?

Sep 6, 2010

I have a small "options" form that when shown, the user submits some changes, clicks a button, and then it fades out. I want the form to open at the mouse location. How would I do that?

View 1 Replies

Insert Row At A Specific Point In DatGridView Control?

Mar 29, 2010

I have a DataGridView control which is NOT bound any underlying data table. When the user selects a row (multi select is not enabled), I want them to be able to click an "insert" button to insert a row into the table below the selected row.I can insert a row at a specific location with the code below, and it will insert a new row at the location specified. My problem, is that I need to get the currently selected row and add 1 to it. However, the insert method below accepts an integer, and I cannot figure out how to get the currently selected row as an integer. I can only get it as a Row collection, which does not help. Can someone tell me how to get the currently selected row as an integer?[code]

View 2 Replies

Point To Specific Column In Text File?

Jun 1, 2009

I have a text file like this:

4.5 28 Red (T1 ) [1 12.86 53.8] 229111 -28275 198452 -1309 | 11.0 28 Red (2 13.10 04.0) [T1 ] 130611 2948 229111 28275

I want to chage the value in green colour and red colour column in each line. how can i point to that column?

View 2 Replies

Program To Detect If A Specific Point Has Been Drawn On?

Mar 26, 2012

I have a picturebox that the user can draw on and I need the program to detect if a specific point has been drawn on. For example, I need the program to detect whether the user drew at location (8,8) and give a basic True/False answer.

View 4 Replies

Show MessageBox At A Specific Point On The Screen?

Mar 21, 2011

How can I use MessageBox.Show("test") and have it appear at a specific location on the screen. By default, the message box is shown centered on the screen.

View 2 Replies

VS 2010 How To Point Function At Specific Folder

May 31, 2012

I have a WPF program that will go through all of the emails in a users inbox (outlook) and save all of the attachments to a specified folder (C:Attachments)What I want to do is to be able to select the folder within the Inbox to run the program on as it currently only works on the root of the inbox.I have seen several snippets of code on sites such as MSDN but cannot get them to compile.Does anyone know how I can point the function at a specific folder? [code]

View 1 Replies

Interface And Graphics :: Rotate A Graphic At A Specific Point?

Dec 9, 2010

I want to rotate a graphic at a point and I used the centerX and centerY to define the center of rotation.
Here is what I wrote:

Dim rotate_mirror as new RotateTransform(CSng(txtbx_rotate_by.text))
rotate_mirror.centerX = 5
rotate_mirror.centery = 55
blk_mirror.RenderTransform = rotate_mirror

blk_mirror is the graphic I want to rotate. Unfortunately, It does not work.

View 6 Replies

Point The Textbox As Key-in Data TO Datagridview Specific COLUMN?

Nov 3, 2009

How to point the textbox as key-in data TO datagridview specific COLUMN because some COLUMN i leave them as a BLANK

Exampel :
column 1=ID
column 2=Range
coulmn 3=Name

my question is :i want to key -in data in TEXTBOX1.text to column 3 Normally i use code bellow,

datatable.rows.Add(text1.box.text)

View 1 Replies

VS 2008 Adding Points To Point()

Dec 26, 2009

I was wondering if there's a way to add points to something defined like this

[Code]....

View 8 Replies

Adding Text At Point Where User Has Clicked In Textbox

Aug 20, 2010

I want to add text whereever the blinking vertical line is in the textbox.

View 4 Replies

VS 2008 Set A Point Without Setting Point.x And Point.y Separately

Jun 4, 2009

I hve been working with points a lot recently, and I have been wondering if there is a way to set a point without setting point.x and point.y separately. For example for (3, 5): Point1 = (3, 5) But that isn't right

View 4 Replies

Make Photo Viewer Open When User Open Drive C And Get All Photo In The Drive To Be Shown In It?

Jul 12, 2011

I design photo viewer app using this code

[Code]...

now how to make my photo viewer open when user open drive C and get all photo in the drive to be shown in it ?

View 14 Replies

Combine Byte Arrays, Read Specific Sections, And Then Cut Byte Array At Specified Point?

Apr 6, 2011

Objective: Combine byte arrays, read specific sections, and then cut byte array at specified point.

Private Sub DataArrival(ByRef aBot As xyzSocket, ByRef theData As Byte())
Dim RDLength As Int32
If aBot.ReceivedData Is Nothing Then[code]....

I'm not sure if I have this right to begin with because I can't test it without having it completed.

View 6 Replies

Delete All Text After A Specific Point In A String Of Text,?

Oct 18, 2010

I have the first part done, ... I can delete all the text before spacific text, ... now I need to delete all text after a spacific point in a string of text.

I'm making a better, and more simpler BandWidth Monitor, and I'm extracting the Bytes Recieved, ... but just the value, and leaving out all the rest of the text.

here ya go, check it out.

Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

[Code]....

View 13 Replies

Finding A Point On A Diagonal Line When Have The Start Point And End Point Of The Line?

Feb 14, 2011

I have a Diagonal line drawn on a picture box on my forum and i need to know if the user has clicked the line I have the Start point and End Point of the Line and the mouse x,y location So i basically need to find out if the x,y of the mouse is on the line.

View 2 Replies

Adding Specific Numbers From TextBox?

Jun 3, 2011

I'm trying to add certain numbers together from a textbox full of numbers from 1 to 10. This is my

Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
End Sub[code]....

When the button is clicked, it gathers the list of numbers from the test.txt file and displays it in the textbox. Now what I want to do is make a label so that after it streams the data and displays it in it's multi-line text box, is for every 10 and 1 displayed on one line, it will subtract 1 from the number in the label. For every 2,3,4,5,6 I want it to add 1. For every 7,8,9 it will not add anything.For those who can tell I'm a blackjack fan and I was curious on how to keep a running count in a label from a multi line list of numbers.

View 14 Replies

VS 2010 : Search For Text Within A String (Starting Point And Ending Point)?

Dec 31, 2010

I'm trying to extract a piece of text from within the string, defining both a starting point and an ending point. For instance, say I want to search for the text found between "That is a " and " car" in the string "That is a red car", so it would return "red".I know you can use .SelectionStart and SelectionLength, but the length of the word can change, so the selection length can vary. What I want is to establish a specific starting point and a specific ending point from which to extract the text from the string.

View 5 Replies

VS 2010 Loop In A Variable And Grab Info From Point A To Point B?

May 24, 2010

I want to know if its possible to loop in a variable and grab info from point a to point b

This is what I have stored in my Variable

PHP
</div> <!-- div reviews end white-space:nowrap; margin-bottom:5px; class="reviews" -->
<div class="list_address">

[Code].....

View 11 Replies

Add Point And Delete Point When The User Clicks The Picture?

Jul 29, 2009

i have a picturebox which displays a map i have 2 modes add point and delete point when the user clicks the picture it creates a point on the picture where the user has clicked that works perfectly its when i try and delete the point when it doesent work :/ i have all the points loading from an xml file this is the code i have:

[Code]...

basicly i want it to when the user clicks the point it fines the x any y in the xml delete the node then delete all the points on the map then reload them all according to the xml

View 9 Replies

Calculating Point-to-point Directions On A 2-D Grid?

Mar 11, 2012

I'm trying to calculate the direction between two points on a two-dimensional grid. Actually I want to determine if that vector is within a range of two values. Suppose the grid's origin is 0,0 at the upper left corner, and 0 degrees represents north. I have a point A on that grid. I want to know if a line from point A to point B on the grid is within a range of directions between 111.8 degrees (a little south of east) and 158.2 (a little east of south). Those are approximations; the 111.8 is 90 degrees plus the arctangent of 2/5, and 158.2 is 180 minus that value. I worked out a series of calculations worthy of a medieval astronomer, but I suspect there is a simpler way. I'm going to have to do this for a variety of other vectors, and I'd like to generalize

View 4 Replies

Construct An Icon Setting Point By Point

Feb 20, 2010

I know how I can construct an icon setting point by point, but that isn't what I want. I want to use a bitmap file or a jpeg -is easy to convert an jpeg to an bitmap- and built an icon that looks like this picture.

View 2 Replies

Draw Arc From Start Point, End Point And Radius?

Jan 17, 2009

I want to make a drawing application which needs a few drawing functions I cant handle myself as im not very mathematicly inclined The first on the list of functions is to create an arc from a start point, end point and radius. The method signature is as followes.

Function CreateArc(byval StartPoint as PointF, EndPoint as PointF, Raduis as single) As PointF()
'Code to create an array of points...

[Code]....

View 1 Replies

Block Specific Websites By Adding Them To A System.collections.specialized.stringcollection In My.settings?

Nov 7, 2010

I'm trying to block specific websites by adding them to a system.collections.specialized.stringcollection in my.settings, where i use

Private
Function
GetBrowser() As

[code]....

View 7 Replies

Draw Line From One Point To Another Point?

Apr 10, 2012

I have a DataGridView that will occasionally have a RowError icon displayed in the RowHeader (shown below)I have code that displays a small form when the users mouse moves over the row header or clicks the row header.I would like to draw aline from the top-left of the form to the middle-right of the row header.I basically want to point from the form to the error icon.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved