VS 2010 - FTP Ripping Images Appart
Jan 6, 2011
I am using a FTP code found here on the forums (can't remember where), But i have a problem with it. When some images are uploaded they turn out weird. For example: Here But some other images turn out well.
[code]...
View 2 Replies
ADVERTISEMENT
Mar 21, 2011
Its been a while since I posted here as i've moved away from VB for the last few months. Anyway, seen as the support is so good here, i'm having with ripping MP3 files out of a MP4 video using ffmpeg.
Here's my code so far, but for some reason it doesn't want to work for me
Imports System.IO
Public Class Form1
Dim process As New Process
[Code]....
View 5 Replies
Mar 4, 2010
I am working on a program that uses AES encryption to encrypt a file. I fully understand AES encryption (after lots of research) and I am able to encrypt a big long string of binary numbers. How do you turn a file into a string of zeros and ones. Actually, a file will probably be represented using hexadecimal, so......How do you turn a file into a string of hex values? Is this even possible in vb?
View 19 Replies
Aug 12, 2010
I was thinking to make an app to save images [or download images] to local hard disk. But to keep it easy, I want this app to create a small picturebox on form to show the thumbnail of downloaded image. Lets say a 5 pictureboxes has to be added with the thumbnails to show the recent downloads. A user can save the location where he wants to save the files on hard disk. A listbox or a dropdown menu will help in categorizing the images, like image1 in friends section, image2 in family section, image3 in others, etc... When the program restarts all the latest 5 thumbnails has to be loaded in pictureboxes and the directory that was chosen. Finally, a button that shows the downloaded images into original image file size one by one or a slide show. Is it possible to make such program?
View 2 Replies
Jan 20, 2011
can we use images in the resource folder as background images by setting the background image during run-time by coding?
View 5 Replies
Aug 4, 2010
I have a program that will get a hash of the image but the problem is that I have to do to manually.I have a set of images of a folder names images(C:/images/) and ill be choosing which of those images i want to upload to my database.So far I got my program to work with database and such, wat I need is, if its possible I but the folder path on OpenFileDialog and I was a image to show in Picturebox1, then if I press button1 it will go to next picture.
View 1 Replies
Sep 14, 2011
I'm creating a form which is basically an image in a picture box that I use the graphics object to do drawstring's and drawimage's upon.I keep track of where I'm drawing these things so that I can click on them later and do various things (launch external apps - whatever).Is using a picturebox and the graphics object the best way to approach this.
View 1 Replies
Mar 13, 2012
I need to overlap two images. When overlapped at the correct point, the overlapped portion of both images match exactly (or very closely).Now, I have tried to match the color of each pixel in the images, then move one image a bit and match them again until I get a high match rate, usually 95% or higher. The issue is, this is ridiculously slow. Also, I can't find a way to check the pixels if one I need to check a negative co-ordinate.
For y As Int32 = 0 To bmp2.Height Step 4
If y + StartPos.Y >= bmp1.Height Then Exit For
For x As Int32 = 0 To bmp2.Width Step 4
If x + StartPos.X >= bmp1.Width Then Exit For
[code]....
View 5 Replies
Aug 26, 2011
I have a picture viewer with listbox,listview,picturebox. I used code snipets and modified them for about 3 weeks now. It works pretty good too i think. But when i add images as thumbnails to my imagelist from openfiledialog i can only add about 75 images any more and i will get a out of memory error. Or if I add say like 50 twice the second 50 added will have the right names but not the right image. My question is. Is there a way to load some images pause then load some more by code for about 250 images so that the loading could clean some memory? And or code where i could add aditional images to the imagelist? And i just cant stop trying to get this Picture viewer to work right.
[Code]...
View 14 Replies
Nov 29, 2009
I found this code :
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[code].....
View 2 Replies
Aug 7, 2011
I have a database (mysql) to which I connect, I have a column in the database (the images) that I view as a grid that is in the datagridview autoimplementa. BUT THE IMAGES ARE STORED AS A URL.
View 1 Replies
Sep 29, 2010
I have a sequence of images I'd like to convert to AVI at 30fps. How could I do that?
View 2 Replies
Sep 6, 2010
I'm in the middle of making a program launcher. I've been able to make a version of it before, but now I want to add more options for viewing the shortcuts. The 2 main views I'm trying to get are: Icon only and Icon with the name.
Here is my original code for only the name:
VB.NET
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Start bottom right of screen
Dim working_area As Rectangle = _
SystemInformation.WorkingArea
[Code] .....
I have switched over to a listview because I assume that's what i will need in order to show images. So I guess my first question will be how do I get only the icon from each file and then show it in the listview.
View 2 Replies
May 4, 2012
I've written some code to get an image file from a OpenFileDialog, and then offset the X position of the image by -50, and then display that offset image in a panel. But for some reason, it is displaying the image twice inside that panel. Could someone please tell me how to get it to only display the offset image in the panel? I'm sure it's something simple, but I'm wracking my brain with this one.
If OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
Dim Bitmap As New Bitmap(OpenFileDialog1.FileName)
Dim Graphic As Graphics = Graphics.FromImage(Bitmap)
[code]...
View 4 Replies
Aug 13, 2010
Is it possible to search for images ONLY in WebBrowser? For example, my keyword in textbox1 is 'clouds' and when the button is clicked WebBrowser must show only images of that keyword.
View 3 Replies
Sep 22, 2010
I was wondering if this is the correct way to do this:
Private Function AddImagetoTextbox(ByVal Tb As System.Windows.Forms.TextBox, ByVal ImageIndex As Integer) As System.Windows.Forms.PictureBox
Dim Pb As New System.Windows.Forms.PictureBox
[Code]....
how to find the cursor's position so as to give the rectangle's X and Y.
EDIT: After debugging I found out that the text is still being written behind it so I m not so sure what to do now..
View 2 Replies
Jul 27, 2010
I have been searching many ways to compare 2 images and still I havent got anything usefull.
I was wondering how can I compare 2 images and either return TRUE or FALSE
is there like a DLL and I send 2 images and either return TRUE or FALSE?
View 18 Replies
Dec 26, 2011
So I'm making a program that involves going online and entering a captcha, but the captcha doesn't show up. It just shows the outline of the image and then the name. How do I make it so the browser displays all images. I'd also like to know if there's a way to display the captcha in the main box.
View 2 Replies
Jan 29, 2012
I need to rotate a picture box with about 35 degrees. now I tried this
PictureBox1.CreateGraphics.ResetTransform()
PictureBox1.CreateGraphics.TranslateTransform(64.0F, 64.0F)
PictureBox1.CreateGraphics.RotateTransform(35)
PictureBox1.CreateGraphics.DrawImage(sword, (-sword.Width 2), -sword.Height 2)
PictureBox1.Refresh()
But it doesn't seem to work Does someone know how to do this
View 2 Replies
Apr 10, 2012
I am having a record of a specific company, I have saved all the details however, now for each company, there are like 3 + (Can get up to 6 or 7) business cards which I want to save.I want it something like, when I press Add button, a forms pops up and there is a picturebox, textbox and browse button. (And "+" button which will create these controls for next card in second line.)
When I press browse, and locate my image. It should show the image in picture box and save it in database or my app or excel file etc.So When i go to viewing section, I can see all the business cards which I have saved for that specific company.
View 9 Replies
Dec 1, 2011
Here's my
Public Class Form1
Dim imgImage As Bitmap
Dim clrOld As Color
Dim clrNew As Color
Dim blnChange
[Code] .....
I receive these error:
"SetPixel is not supported for images with indexed pixel formats."
View 2 Replies
Dec 22, 2011
The title says it all, I made a .GIF in Photoshop, how do I apply it in VB? It is very detailed .GIF, made from 152 frames, I worked hard to make it and I need to use it in my program. My code can't be shorter than it is now:
PictureBox1.Image = My.Resources.GifProject
View 7 Replies
Oct 5, 2010
How can i display images in a picturebox using For Loop. Actually i've tried it before but only one image displays x times. What should i do so that all images will display?
View 5 Replies
Feb 6, 2012
What I want is when the program Loads, it would display random images from a folder on a website to a picturebox, like: [URL]thats a random pic but, [URL] is the folder of the image?
View 10 Replies
Jan 4, 2012
is it possible to cycle through background images from my resources for a button by pressing it the button, what's the simplest code to do this?
View 8 Replies
Aug 12, 2010
how can i save all these images into application folder, also if image already in folder, then skip it. so it updates only new images in this list to the folder.
file to save to: C://program files/application/images image list: [URL] this list can be modified to work correctly if necessary.
View 9 Replies
May 31, 2012
In a program I'm planning to generate reports which I'll display using the rich text boxBesides rich text, i want to put images into the rtb. I've looked up how to put images into rtbs and the only way that i can find seems to be by pasting them from the clipboardThis method works well with setting bitmaps to the clipboard but i run into a problem when i try to set a metafile to the clipboard (the report contains plots and metafiles are perfect for that kind of thing). So if there could be another way of inserting a metafile into a rtb or maybe a way to write a rtf file with a metafile in it, that would be great.
View 2 Replies
Jun 9, 2011
How can i display more then on image in a datagridview column? I already have the column as an image column.I am just having trouble showing more than one image. And searching has come up with nothing besides how to display one image.
View 4 Replies
Jan 7, 2011
I have a 4 pictureboxes for a database I made but having a problem with loading images in to the picturebox. On my form I have a picturebox, 1 button, 1 textbox, and 1 openfiledialog.
My button click event code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
OpenFileDialog1.ShowDialog()
TextBox1.Text = OpenFileDialog1.FileName
Pic1PictureBox.Image = Image.FromFile(TextBox1.Text)
End Sub
I can add pics but if I don't select any image (just close the dialogbox) I get an error and not sure what to do ..or what to add. Is there any code to tell it to just close..
View 2 Replies
Jun 22, 2012
My program utilizes various images of different sizes. I want to organize these images so that they all fit into a predetermined space without resizing any of them. They need to be organized in such a way to use as much of the predetermined space as possible. I guess it would be like organizing photos in one of those old photo albums (with the translucent, mildly adhesive, peel-back plastic sheet that held the photos in place) so that you could get as many photos on a page as possible. Or you could think of it sort of like Tetris? Except all the pieces are rectangles.
I assume I would use a recursive function to loop through all the images to find out if they fit or not, then returning the best outcome? I tried searching for code samples but searching for Organizing Images or Organizing Shapes gives less than desirable results.
View 5 Replies