Picture Gallery - Build A Program That Display Pictures From A Media Card
Jan 14, 2010
i am trying to build a program ( i am a beginner) that display the pictures from a media card ( or other removable media) in a gallery in the form, and that allow the user to select the ones he likes and store it in a folder.
View 4 Replies
ADVERTISEMENT
Oct 23, 2010
Im make a portable program which has a form with a few different pictures like a photo gallery.when you hover the mouse over a picture it will appear enlarged in a floating box infront of the form. Then when the the mouse is taken away from this floating box the box will disapear and leave you with the picture gallery again?
View 3 Replies
Jun 27, 2009
Still working on a very simplistic poker game and I'm struggling with getting the code to show my cards in picture boxes. I currently have 12 picture boxes set up on my form and when clicking the "deal" button I created on the form, I would like a random number to be generated from 1-53 and based on the number returned I would like a picture of a playing card entered into the picturebox. I would like this to happen in 10 picture boxes. So playing cards will be shown in the picture box on 10 of them and a the card back on the picture box 11 and 12. After hitting a second button, I would like the 11th and 12th boxes to display a card from the deck.
With all that being said my questions are:
1. How do I associate the random numbers with my playing cards? (I have my card pictures in a file on my computer.)
2. How do I get the picture of the cards into the picture boxes? What would the code look like?
3. I have a button to clear all the cards, but how to I program it.
View 1 Replies
Aug 31, 2009
I am trying to build a slideshow app that will display 6 pictures at a time from a specified folder. I put 6 pictureboxes in a TableLayoutPanel and have a timer control call the Ahead1 subroutine to load a new picture into the last box after all of the other pictures "move up one box".The problem is that every the timer calls the Ahead1, the program uses about 30MB of RAM and the program eventually ends with an OutOfMemory Error. (Choosing the Picture Folder - only called once)
Private Sub ChooseDirectoryToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ChooseDirectoryToolStripMenuItem.Click
FolderBrowserDialog1.ShowDialog()
[code]....
View 3 Replies
Mar 22, 2011
I have a few problems i need to solve. Firstly, I am looking for a piece of code i can use to display a picture from a bank of pictures. It will work on the basis of generating a random number and loading a picture that corresponds to that number.
i.e. Dim RandNumber As Integer
Dim RandClass As New Random
RandNumber = RandClass.next(1, 10)
If RandNumber = 1 Then
Picturebox1.image = picture1
[Code]...
Secondly, can I then use subsequent picture boxes to display pictures from the same bank of images, without displaying the same image? Finally, I then need to be able to click the picture or a button beneath the picture to select it as an answer to a question and then the whole process starts again.
View 1 Replies
Feb 6, 2010
To put a thumbnail for what Windows Media Player (plugin) is playing in a picture box
to get the artist's name of the current track that's playing on WMP
View 11 Replies
Dec 29, 2008
I would like to do a program to capture a picture from webcam and display it.
View 1 Replies
Feb 24, 2011
I'm making a project for school with a group of classmates. It is an application that needs to reference quite a few pictures and strings from My.Resources. I don't know what the problem is but, whenever I run the program, I get a message that reads this: "There were several build errors. Would you like to continue and run the last successful build?"
And then below in the Output:
----- Build started: Project: Wilkes-Barre Virtual Scavenger hunt, Configuration: Debug x86 ------
COM Reference 'WMPLib' is the interop assembly for ActiveX control 'AxWMPLib' but was marked to be linked by the compiler with the /link flag. This COM reference will be treated as a reference and will not be linked.
View 5 Replies
Aug 28, 2011
I tryed to add picture to picture boxes with loop, but unsuccessfully. I tryed many methods, but noone didn't work.
For i As Integer = 0 To 6
k(i).image = My.Resources.pic
Next
Picture boxes names are k1,k2,k3 and etc.
View 7 Replies
Nov 25, 2010
I have written a function to swap pictures in a picture box. The function itself works but I was finding that eventually i was getting out of memory errors. I am thinking that i need to release the images from memory as i swap them and have tried using Dispose().However Dispose() does not work the way i have tried to implement it.
[Code]...
View 2 Replies
May 17, 2011
I would like to build a form that has multiple picture boxes that a user can browse through and click on each one to select multiple items. The pictures will all be pulled from a single directory. After they have selected the items, they will click a button that will change the names on all the selected pictures. I know how to change the names, but I need some assistance with the picture box and loading the file names into a list or array. Not sure what it would be called. I am not even sure really if I would use a picture box or some other form item.
View 4 Replies
Oct 15, 2011
I used visual basic 2008, windows form applications. I used panel and its background is the map, and I used picture box as the character and with transparent gif pictures in every keyevents, I already can move the picturebox with keyevents. But the problem is, whenever I move the picturebox,I can see the box of picturebox even it is transparent.
View 5 Replies
Jan 14, 2009
I working on a distributed mediaplayer that uses the windows media player component.Now the customer asks me if its possible to have their logo overlayed on the media played instead of them having to render every movie with the logotype.I have google it and it seems like I can use a directshow filter to do this, but I havent found any good information on how to do it yet.If anyone here know If I can do this programatically, with a plugin, filter or some other way it would be nice to know. Its fine if its a plugin that costs money too. What I want is to be able to use a jpg/png as watermark/overlay to the running movie in Windows Media Player 11
View 1 Replies
Jan 29, 2012
I wonder if it's possible to capture the frame at a specific position as an image, using Windows Media Player component? Browsing this page for AxWindowsMediaPlayer Object.
Onion Ring
Onion is a recent refuge from Mac OS X and hates Mac App Store. System: Windows 7 x64
View 8 Replies
Feb 15, 2009
Anyway, I'm a teacher and am writing a program that simply shows kids a word on a flashcard. There are 2 buttons, 1 to read the word and 1 to go to a new work. There are going to be 300 words. Really I'm just testing it right here. What I want to know is should I be inputting all the words right into the code like I did with "hi" and "not 1" (Don't ask. those are just the 2 random words I picked to test this out with). OR is there a better way (maybe somehow to type all the words on a text file and have the program randomly pull one of them (I don't know how to do this).
Here is the code so far:
Public Class Form1
Dim word
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
[CODE]...
View 2 Replies
May 10, 2010
I need to display a arrow picture over another picture. But i cant able to make arrow picture transparent other than the arrow. Always it is in rectangle format(Picture box). I tried the picture box color to transparent, But that doesn't worked. A separate user control for displaying transparent image will be appreciated.
View 2 Replies
Aug 24, 2010
'for each item in directory C:/temp
Dim pbx As New PictureBox
pbx.Width = 98
[code]......
View 14 Replies
Jul 7, 2009
Can we display pictures in a cubical box and make it rotating on screen using vb express 2008?
View 1 Replies
Mar 21, 2010
i want to move text n pictures like this website url...
View 5 Replies
Mar 24, 2011
i want to add a picture of a field like a football field and on it a ball would roll (just like the football). i have loaded the field's picture in the picturebox , but m nt able to load the second picture i.e of the ball. how can i do this?
View 1 Replies
Aug 4, 2009
I'm not sure where to start. I've made an app consisting of a textbox and picture box that changes the picture every time you press a key. But what I need is to load a txt file and have pictures display one after another for each letter at a user defined rate. Including breaking this down into smaller steps. This is for an application simular to a RSVP(rapid serial visual presentation) program.
View 4 Replies
Apr 29, 2010
I have a listbox populated with peoples names. When I click on a persons name in the listbox, a datagrid will unhide itslef, connect to a DB, and list all of the pictures that person has. All the pictures are stored on a drive in a folder named after the person. i.e.
Greg Palinkas has 52 images stored in F:PicturesGregPalinkasImages.
I would like to display all of those pictures in a Table Layout Panel populated by the choice I made in the listbox, so if I select Greg Palinkas, the Data Grid is pupulated with the names of all the images i have, and the Table Layout Panel is populated with all the pictures I have in my GregPalinkasImages folder. I have got the Data Grid updating and running smoothly, but am lost as to how to get the images to come up.
View 7 Replies
Jul 29, 2011
I want to show pictures on a PictureBox. Pictures are stored on an accdb database's field (that field's type is "attachment"). Below you can find more details.
i have an access 2007 database (accdb), it has only one table named "TbResimler".
In that table, i have these fields;
Field Name Data Type Description[code]...
View 3 Replies
Jan 9, 2009
I'm creating an application in which i have 5 picture boxes on top of each other that will "layer" pictures on top of each other. The user can show and hide certain layers by checking / unchecking check boxes. I need all the layers to be transparent so the prior layer can show through. Currently all layers are set to transparent back color however, in VB8, controls by default don't support transparent colors. MSDN says you can override this and give controls transparency by the following:
Locate the constructor for your control class. The constructor appears in the control's code file. In C#, the constructor is the method with the same name as the control and with no return value. In Visual Basic, the constructor is the method named New. Call the SetStyle method of your form in the constructor.
View 8 Replies
Jun 1, 2012
I know how to open local .msg files in webbrowser in html format.The problem is when the .msg has embedded pictures, the only thing that appears is a blank space ("picture not found") where it is supposed to be.If I open the .msg file in Outlook, I see the images correctly, but in my program I can't see embedded pictures.
View 2 Replies
Feb 25, 2009
I am working on a Credit Card Project Program. Where you can create an account by typing in an account number which then starts you out with a $1,000 credit limit and balance.I have most of all the programming done for the project. Except for the updating of the current balance when charges are made and I'm having a problem with the interest which works but only shows you the interest fee when you calculate and not the interest fee + balance due. But I wont worry about that now.
What is the method of doing this. Can I write a new function that will update the balance available based on the charges or payments made? Or can I somehow program that into the current functions?
View 3 Replies
May 31, 2010
How do i actually detect a card is being read by a card reader by using events handler?Like the card reader is connected to the PC using USB, and when a card is flash on the card reader, it will be detected.
View 5 Replies
May 9, 2012
Is it possible to capture the raw signal from a WiFi card in the same way you can capture the signal from a sound card? (I already found code for working with a sound card and for drawing spectrograms) I'm wondering because it would make a cool radio-type project. I'd prefer a solution that integerates well with .net (VB or C#).My basic goal is to capture the ambient radio waves and build a primative "telescope" of sorts. Using the built in computer hardware is just the easiest way to accomplish this. If you have any other suggestions about how to accomplish this goal in a different way please post it as an answer also.
View 1 Replies
Nov 23, 2009
I want to create an application that can detect usb card reader device and when i swipe the card it should read.The below code WORKS PERFECTLY IN VB.But when i converted it to vb.net it is showing some problem.Below is the code for that.
[Code]...
View 1 Replies
Dec 23, 2009
i want to read data from smart card using card reader.i need vb.net code help as well as total process that mean what dll/exe will be needed and how can i determine that the card is inserted or ejected from card reader?
View 3 Replies