Making An Application Where User Draws A Shape On A Picture Box?

Dec 25, 2010

I'm making an application where a user draws a shape on a picture box( this will be saved on a bitmap image), then another user has to draw on that shape (=follow it ) . if the 2nd user goes too far from the line then an error message will appear.

for example( in case i couldn't clarify this well!)the 1st user draws a a vertical line, the 2nd user has to follow it, if-while drawing on it- he gets too far horizontally, there would be the error.

I'm currently thinking of comparing every point by the 2nd user to its equivalent in an array containing the points by the first user.

View 5 Replies


ADVERTISEMENT

Making Application Send Message When Picture Background Is A Certain Color

Oct 7, 2011

It detects the color fine and the picture background changes to the color my mouse is pointing at, but when it changes to one of the colors its ment to send me a msg it doesn't..[code]

View 2 Replies

Making Application Send Message When Picture Background Is A Certain Color?

Dec 20, 2011

It detects the color fine and the picture background changes to the color my mouse is pointing at, but when it changes to one of the colors its ment to send me a msg it doesn't

Public Class Form1
Dim color As Integer
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles

[code].....

View 1 Replies

Make A User Control That Draws A Line And Adds Transparency Over A Form

Nov 12, 2010

I am an intern at a company doing Drawing Tools for their program. My supervisor is currently having me just make a user control that draws a line and adds transparency over a form. (I started this internship very early, so my knowledge is very limited compared to what it should be for a standard intern)

This is what I have so far:

Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs)
If MyBG Is Nothing Then
MyBG = New Bitmap(Me.Width, Me.Height)

[CODE]...

View 5 Replies

Making A Shape Hierarchy?

Apr 10, 2012

I am working through my Visual Basic Book 2010 book and came across this Program example:Create 3 classes that inherit from a base class named Shape. The Shape class has an instance variable that is the name of the shape and also a CalcArea() function that must be overridden by each subclass. You will need to create the following 3 classes and use the formulas provided to calculate the areas.

Square � Area = sideLength * sideLength
Circle � Area = pi * radius * radius (use Math.Pi for the value of pi)
Triangle � Area = � * base * height

Each subclass should have a constructor that you use to set the name and the attributes required to calculate the area with. Each subclass should also override the CalcArea() function that is provided in the base class Shape. They will also need to implement the toString() method that will print out the shape name, any attributes (ex: sideLength), and the area.It also includes the Shape base class. You will need to add the 3 subclasses and add the appropriate code.

View 5 Replies

Change The Shape Of The Picture Box?

Jul 14, 2010

Is there anyway to change the shape of the picture box into a round,cross or star shape

View 16 Replies

Generate (x) Sided Shape Picture?

Feb 15, 2011

I want to make a project that you put in a amount of sides and it generates a shape that has that amount of sides.

View 3 Replies

Fluid Movement - Making A Shape Move More Smoothly

Jan 11, 2009

Making a shape move more smoothly because at the moment the picture box moves around and can only go up down let or right and whenever i change direction there is a pause before it moves

Here is my code

CODE:

View 2 Replies

Make A Stand Alone Exe Without Making The User Install The Application?

Apr 17, 2009

I wanted to know how I can make a stand alone exe without making the user install the application. So that the program can be ran from a disk or flash drive. Currently I can run it just fine on the PCs, I'm developing it on. But when I take it to another, that has the targeted framework, it crashes.

[Code]...

View 24 Replies

Get A Chart That Can Show Sin ,cos , Other Signal Shape Such As This Picture?

Mar 6, 2012

i have an input signal that can be time variant.i need a chart that can show sin ,cos , other signal shape such as this picture?

View 3 Replies

Moving Picture Boxes In A Rectangular Shape?

Jun 15, 2010

I'm trying to make a program where three race cars move around a track. with randomizers and timers, I only want to do one lap. My "cars" are pictureboxes. so the starting line's location is (400, 150). Here's the coding for the inside car:

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
TimerRight.Enabled = Not TimerRight.Enabled

[code].....

View 1 Replies

VS 2008 Make Picture Box Not Able To Cross Line Shape?

May 22, 2010

I'd like to know what the code is to make a picture box not able to cross a lineshape.

View 3 Replies

Hide The Pink Frame Inside The Image And Make The Picture Going Into A Shape?

Mar 7, 2010

I have designed the image with a pink frame inside the image, so I would like to know how to hide the pink frame inside the image and make the picture going into a shape??

View 2 Replies

Game Programming :: Create A Slot Machine Application : User Movable Picture?

May 1, 2010

I am trying to create a slot machine application. I wanted to make a handle like gui so here is what I have:

[URL]

What I want is to be able to let the user drag the red button till a certain point and when they let go of the mouse click the button moves back slowly to the top.Here is what I have so far (I tried my best) :

Private Sub picBall_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles picBall.Click
tmrOne.Enabled = True
tmrTwo.Enabled = True

[code].....

View 3 Replies

Custom User Cursor Not Keeping Shape?

Jun 16, 2011

I have a custom cursor for the user to allow them to position text in PDF files. For the most part there never seems to be a problem, but a choice few people are seeing massive problems with this.

One particular client loads the program, and then loads a PDF document into it. Once the program has loaded when the user clicks he either doesn't get a custom cursor or the signiture blank that is to show up is above the frame that is to surround the blank.

The user is using Windows XP on a laptop and the software re-renders the cursor and box every time. There is a signiture tablet that the user buys to connect to this software, and the user also has expressed problems with the Tablet not staying connected.

I can provide pictures of the changes and code if anyone would like to tackle this?

View 8 Replies

User To Insert A Comment In The Shape Of A String?

May 14, 2012

i want to create a listbox in which a user introduces a name (Ex Item1) I also want to user to insert a comment in the shape of a string ( Ex. Item1 was added yesterday) and link it somehow to his Item1.

Once the program starts the user should be able to insert an item in the listbox with a comment; and once he selects the item i want a MsgBox appearing with the comment of the specific Item, that he also inserted.

Think something like a book library using a listbox.You go and browse books in a listbox and once you click on them they display on the right the cover of the book, the authors, date, ratings etc.I just need to know how to link a ListBoxItem to do something, and i want the Library administrator to do it in runtime.The MsgBox example should do it for me.

View 1 Replies

Making A 3d Picture Using Numbers?

Nov 10, 2009

I am making a application that you enter 3 number one for length, width, and height of a rectangle.It needs to display a picture showing all three.i am using windows form application to do this wil three text boxes to enter the numbers.

View 3 Replies

Making Own Picture Viewing Program?

Jun 12, 2011

(my first question) For starters.I am using Visual C++ 2010 I have VERY limited knowledge (I am not sure how to declare a variable or convert to strings.I took a Visual Basic course in school so I do understand SOME basics... just not the right language

I am trying to make a program that can open pictures in its own PictureBox. I have the form already made, and I had it working with a combobox with the list of all the different pictures, a button to load the picture depending on the selected item in the
combobox (MANY MANY if statements), and i also added a previous and next image pair of buttons (200% more if statements). I was happy with it, except whenever I added a new picture I had to add many lines of code... So i figured i can use this openfiledialog
and open them that way.

what i have so far is when i press "btnLoad" it opens the "ofdPictures" {openfiledialog}

what i need it to do is when i select my picture and press "open", it open the image in the picture box "picPictures", which is in my form.from what i understand with playing around with openfiledialog in VB is that the command this->ofdPictures->FileName

makes the selected file a string... but i think i have to make it = a string variable...

now, i think i fixed that by adding to "private: System::Void ofdPictures_FileOk"

[Code]...

View 2 Replies

Making The Picture Open In The Picturebox?

Dec 18, 2009

Im setting the standard program to .jpg files to my program. So when it starts it shows the picture in a picturebox ofcourse.

My problems:I want the pictures standard size to be the size of the picturebox.Making the picture open in the picturebox?

View 19 Replies

VS 2008 Making A Picture Box Have A Transparency?

Oct 26, 2009

Is there a way of making a Picture Box have a transparency so that any objects (e.g buttons) that are layered underneath the picture box will be shown through?

Or if there is any other way of getting the mouse coordinates only on the form. So when the mouse cursor is placed at 20,20 on the form it will give back the coordinates 20,20 no matter where the form is placed on the screen

View 5 Replies

Displaying Picture In Picture Box Using Application.startup Path?

Oct 15, 2011

how to display picture using the Application.startup path? i want to locate the picture in my bin folder inside my debug folder as i selected the name of the candidate in the combo box.

View 2 Replies

C# :: How To Drop A Shape Inside Shape In VISIO

Mar 23, 2011

I am using Rack-mounted Equipment (US units).VSS as stencil. I need to Connect a server on Rack.

View 1 Replies

Codes For VB For Making A Picture Box Of A Frog Jumping Up And Down?

Nov 21, 2011

I am making a visual basic project in making a frog jumps up and down . and also indicating its increments.

View 2 Replies

Making Random Picture Boxes Go On Form

Nov 30, 2011

i am making a game in visual basic and when the picture box that you have to shoot resets, sometimes it resets off the form i use this code to make the picture box move randomly.[code]

View 6 Replies

VS 2010 - Making Grid Or Picture With X / Y Values

Dec 16, 2010

I've been trying to make a grid to test some AI stuff I'm working on. I managed to do it using rectangles and graphics.rectangle (pens.black, rect) by using a vid on youtube, but it made the application virtually useless because of all the memory it was using. I don't need it to be an actual grid, but I do need it to have values as if it was a grid, so that I can issue commands (x,y coords). (I have been searching the forums for over an hour, but all examples are either useless or cant be converted correctly).

View 6 Replies

Console Application - Creating Diamond Shape With Asterisks

Feb 26, 2009

'The program is supposed to create a Diamond Shape with the asterisks but I only get one-half of the 'diamond '(vertically) to appear.

Module Module1
Sub Main()
For i = 0 To 4
For j = 0 To 5 - i
Console.Write("")
[Code] .....

View 1 Replies

Creating An Object - Making A Picture Have The Properties Of A Checkbox

Apr 12, 2009

I was wondering if there is a way of making a picture have the properties of a checkbox. I want to have clickable stars that change color (from white to yellow) everytime the user clicks on them to represent the rating they put on certain foods.

View 5 Replies

Game Programming :: Making A Picture Box Move Right Then Left?

Jan 20, 2011

I want a picbox to move across a screen then back to where it started (for a space invader game:

the following code is what I have for this task.

Code:
Private Sub AlienMovement_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AlienMovement.Tick
If Alien1.Location.X > 20 Then

[Code]....

I can't make it < because thats not logical, can't make it = becasue that doesn't work, can't make it > becasue then it will only bounce back once. Is there another variable I could use?

View 5 Replies

Making A Program That Generates A Picture Of Armor From A Website?

May 25, 2009

I'm making a program that generates a picture of armor from a website, this armor is the armor a player is wearing on a game called halo 3. My problem is that I have the list of armor for the two races in the game in the resources and I need to know if this would be the right

Head.items.addrange(my.resources.SpartanH) Head is the combobox SpartanH is the name of the text file in my resources, if I've got my code all wrong, will someone please correct me?

View 2 Replies

Security Camera - Making Picture Automatically From DLL Files

Jan 16, 2011

We bought a DIY security camera, the camera is making automatically mpegs if a movement is recognized. A picture can be made with a delivered program. We have the idea to make a program with the delivered dll files to make automatically pictures.
timestretchDMO.dll
GPIProxy.dll
expDMO.dll
DVCtrl.dll
DSPDMO.dll

View 9 Replies







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