[2008] Clip And Repeat Part Of Image?
Feb 13, 2009
I need to take the image and clip a sliver in the middle and repeat it to make it like the second attachment. (so its 320px wide)i dont need to save the result... I need to cut it in half... then use drawimg to draw the left half, then the center "slice" then the left half.
View 4 Replies
ADVERTISEMENT
Jun 9, 2009
I have an image in a picturebox that changes, and the background of the image is ls always the same. is there a way I can change the background of the image? Here is the picture, or at least one of them.
The white background behind the character is what I need to remove. How can I replace certain colors of pixels with another color?
View 8 Replies
May 14, 2012
I want to be able to:
1) save the screen as an image
2) use this image and search for a smaller image inside of it (pixel sequence)
Basically, I need the program to detect when an image comes onto the screen.NOT a pixel color at a certain coordinate, it is similar to this but instead of one pixel, it should detect multiple ones.is there any way I can put the image I want to detect in a picturebox, and it will go look at that image and keep checking to see if it exists on the screen?I have it working for pixel detection (only 1 pixel), but it isn't very reliable as there could be many other instances of this color on the screen.
View 2 Replies
Mar 10, 2008
In my project, I have a form with a background pic that I like, but unfortunately, I also have a ListView on that form which covers most of the picture. Now, is there a way to find the part of the background image concealed by the ListView, and then display it as a background image of the ListView at decreased opacity? You know, like a vague image.Just one more thing, setting the form's transparency key to the background color of the ListView is not an option.
View 39 Replies
Feb 17, 2011
I'm trying to make a mastermind game program with visual basic. I started of creating the combination maker for the start of the game. Hoever, in my version i don't want any colors to repeat. I used the random function independently to get numbers from 1 to 6. Each number has a corresponding color. The problem, the values still repeat sometimes.
Here's my code for that part:
Randomize
a = Fix(Rnd * 6) + 1
txtA = a
If a = 1 Then
[CODE]...
View 2 Replies
May 23, 2010
i have a image with four squares evenly spaced out. I want a picturebox's image to be one of the squares at a time so it's like a animation except it's only one image.
View 7 Replies
Jan 5, 2010
How do I (programmatically) find out the key repeat delay and key repeat rate for a system?
A solution that works on any/all .Net capable platforms would be ideal, but the key target OSes would be XP, Vista, and 7.
View 1 Replies
Jun 27, 2012
I know the use of colormatrix. but this work on the whole image. is there any way to work with colormatrix only a part of image rather than whole image.
eg i want to give the brightness of only border area of image.
i am working with c#.
View 2 Replies
Feb 27, 2010
Does anyone know How can I for example make if user clicks one one half of the picture box it will msgbox left side and vice versa?
View 2 Replies
Dec 2, 2009
I am using Windows Media Player component in vb2008 and I was wondering if there is a way to make it repeat? or if I can just make it play every 51 seconds (which is how long the song is) I tried Axwindowsmediaplayer1.play and .repeat, But neither of those are functions, So I'm not sure what I would have to use.
View 2 Replies
May 31, 2009
I'm making an mp3 player and I've searched around the forum for a good example on how to repeat the current playlist but I was unable to find one.
View 1 Replies
Nov 7, 2011
How I can compare a gif image I have with a certain part of the screen. For example lets say I have the gif for the Close window button (top right hand of the window incase your confused). I would want the program to check the top right hand of the screen in the exact coordinates and see if the pixels match. if so return a variable true.
View 7 Replies
Jul 7, 2009
It is possible to find the points of a part of image example, do I have a photography of a castle where there is a flag, manage to find where is the flag positioned to runtime?
View 4 Replies
Oct 24, 2010
I've got an unusual request. I have an image that will always have bounds that are of Base 2 (2, 4, 8, 16, 32, 64,...) in both dimensions. I need to know if there's a way that I can get a small 16 x 16 square (or smaller, still of base 2) portion of the image. I'm planning on overlaying a grid on this image that way the user can select a portion of it and then the program creates a dynamic image from the selected grid square to use. Is this possible to do? I did a quick search on the Image class and didn't see anything that stood out. Note: This is for framework 2.0, but not picky about jumping to 4.0 if necessary.
View 8 Replies
Oct 14, 2009
I have done this code but what is a smart way to get rid of repeats?
card1 = random.Next(0, 52)
card2 = random.Next(0, 52)
card3 = random.Next(0, 52)
[Code].....
View 4 Replies
Mar 9, 2011
I have a form which shows a graph which was made in Microsoft Chart control 6.0...
I have placed a option in the menubar which will export the graph made to an image file...
Can some one tell how to export the graph part of the form as a image (any format will do)...
I was thinking of taking a screenshot and saving it but i cudnt get the controls in vb to take a screenshot of a specified area on the form.
View 2 Replies
Mar 11, 2009
Toolstrip1 has toolstripdropdownbutton1 and some dropdown items are added with this.Now, Iam looking to set the color or marigin part of image dispalyed in toolstripmenuitem.Anyone can show me the details?
View 6 Replies
May 12, 2010
I'm doing a school project with arrays and I want it so that I input a part number and it outputs a image, price, and name for the part. I need to accomplish this using the array. We've only ever done arrays where you input a part number and one thing comes back out, not multiple.
View 1 Replies
Apr 2, 2009
I am developing a web sit using web parts in asp.net and c#. I have one problem, when i drag the web part from one web part zone to another, the image of the web part is still there at the web part zone, utill i drop it at the destination. i want to make that image of web part invisible at drag and drop time.
View 1 Replies
Aug 26, 2011
I need a textbox where you can add a number and if you press a button that it will repeat the function of the button the number of times as in the textbox.
View 9 Replies
Jan 29, 2011
i want a random image from just a part of the resource folder to be shown in a picturebox . i have this code but it for the hole of the resource folder
Dim prng As New Random 'should be in namespace
'get list of all resources
Dim rs As System.Resources.ResourceSet = [code]......
View 1 Replies
May 19, 2010
how this will be: I want to add movie clip (.avi or .flv or .swf) into Form and when the movie ends to show the button (visible=true) ?
View 3 Replies
Jan 26, 2010
i just wanna ask how to play a video clip using .net
View 2 Replies
Feb 19, 2010
I am using something like[code]...
however the above will clip the drawing to a 100x100 ellipse ...
my question is how can i reverse the clip so that it paints everywhere except in the ellipse?
View 1 Replies
Feb 29, 2012
I wants to check a logo (like BOEING, TOYOTA, CAA etc) in a movie clip (AVI, MP4 etc) & then count the number of appearance in that movie clip. Also information needed that on which frame(s) logo appeared. But I've no idea that how it can be done by VB.Net.
View 6 Replies
Nov 29, 2010
how can i get time duration of ".wmv" video file (it would be gr8 if it could work for all other also) file using vb.net
View 1 Replies
Feb 9, 2011
can i play a video clip in my program?
View 9 Replies
Nov 27, 2010
I'd like to add music to one of my VB.Net 2010 applications. My preference would be an MP3, but if necessary I can convert to WAV. What's the easiest way to add and play a clip of music via VB.net 2010?
View 2 Replies
Dec 6, 2009
I'm working on a program that allows a person to click on some text and it will read the text (play a wav file) using My.Computer.Audio.Play. The program calls a procedure called PlayAudioClip which uses AudioPlayMode.WaitToComplete because in some cases two wav files will be played one after the other(two languages). During the playing of the wav files I want to show a visible indicator that there is audio. I've got a picturebox called "AudioPic" who's image property points to a picture in my.resources. THe visible property of AudioPic is set to false when the form loads When the user clicks on the text my program should display the image (Visible=true), play the clip (or two) and then hide it again.
It seems that the picture is not completely loaded before the wav file plays and since I have it set to WaitToComplete it stops the loading until the wav file has played, at which time the program hides it.
How can I force it to finish showing the picture before playing the clip?[code]...
View 4 Replies
May 27, 2012
how to add a video clip into a form? My video clip will probably be in a .avi format.
View 1 Replies