pretty much you can understand only form the title what I want to do...I'm trying to make a screenshot tool that when will save the jpeg and will make it in lower quality or compress it.
Try
Dim ScreenSize As Size = New Size(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height)
I'm using the below code to capture desktop screenshot, it is working but doest encode the screenshot result in real jpeg, I came to know that from the huge size of the saved jpeg file around 5MB!!!
Dim ScreenSize As Size = New Size(My.Computer.Screen.Bounds.Width, My.Computer.Screen.Bounds.Height) Dim screenGrab As New Bitmap(My.Computer.Screen.Bounds.Width,
we have a vb.net application with send and receive mailing also. Now we have added a session timer of 30 min but the users are complaining that they are facing a problem when they write a long text message or while composing they get busy in something else and when they return back to continue composing message , they are redirected to a session expiry page, and their long text message is gone forever. So I am new to this and I was thinking like , when the user is in compose message the text should be automatically saved to drafts like hotmail.
I'm trying to create a mailitem and save it in the Drafts folder for an other user. I can create the draft but it only saves to my own draft folder, not for the other user. I have enough rights on the mailbox of the other user.
This is my test code so far:
Dim omApp As New Outlook.Application Dim omNamespace As Outlook.NameSpace = omApp.GetNamespace("MAPI") Dim omUser As Outlook.Recipient = omNamespace.CreateRecipient("otheruser@mail.com") omUser.Resolve()
I want to make a program that will take a screenshot inside the bounds of a rectangle. Is there a way to do this? I don't want to use sendkeys{"(prtsc)"} because that doesn't take a screenshot of only an area on the form.
I want to make a program that you can load a jpeg image and convert the image to binary data so that I can put it in a file along with a lot of other data. But I don't know how to change it to binary and back, I was told I would need to do this in order to merge multiple files.
Alright, say I've made an animation in photoshop and exported it as a JPEG. I want to know if it's possible to change which frame of the animation the image will show. An example is if I made an image with 10 layers, and I want the 5th layer to show in a picturebox, how can I achieve this?
I have created a form in Visual Basic with two buttons, a PictureBox and a TextBox. I made the first button to load an image from my hard disk and show it in the PictureBox.What i want to do now is to make the second button to convert this image to binary and show the string in the TextBoxHere's the code for the first button:
I want to create a sort of slide show program. I want to get a folder full of images (bmp and jpeg file types) and have this program display it really quickly and then refresh to show another randome image really quickly. Then I want it to look into another folder and grab an image file from there that will be the last image and stays up. What I want to know is how will i go about getting the program to get the random image and then how will I get it to refresh instantly?
Any way to prevent my application from taking screen shot. I am using this method If Clipboard.ContainsImage = True Then Clipboard.Clear() If this is correct? And also what about screen capture application they take the screen shot without using clipboard what is logic behind it and if there is any way to resolve it?
Im looking for code that will take a screen shot of the screen every X amount of seconds and save it with a filename of like "SSLaptop Todays Date & Time"
1. I want to load pages in web browser without loading scripts and Pictures(Jpeg,gif,png).
2. When Web Page Loads my Application Stops Responding. After that it responds. In one place of my Code i have added thread.sleep(10000). is it reason for that?
Im creating an application that will take a screenshot of the desktop. Save the photo, Then upload it via FTP, And do it every 2 minutes. I know how you all like to say how i can do it, But can someone provide a code since.
Is there anyway I can do a a custom screen shot? like the height and width of it? This is what I want to do Left = 18 top = 556 right = 914 bottom = 289 So a regular screenshot on my pc is 1152 by 864. So how would I say do a 300 by 400 screenshot?
I am having problems converting a TIF with annotations into a JPEG. The annotations (which have been created using Windows Picture and Fax viewer) are being lost when the image is converted.
I need to convert sequence of JPEG files in WMV. is there any way to do that? I also checked in windows media sdk. but the resources are very scarce. It will be helpful if I get it in VB.NET.
I need to get a jpeg image from file system, feed it to DrawImage method for resizing and then save the result to a varbinary(MAX) field in a SQL Server table. How can I do the conversion from file system to image (from DrawImage method) to the varbinary(MAX)
My project have a Picture box control for loading pictures but it's worked fine my problem is...some vertical Jpg picture was shown Horizontally in windows explorer and also my picutre box control at that same that file was opened with vertically in editors like photoshop. but i need not picture rotate codes i want to Vertical picture was shown as vertically into my picture box control is't possible?
How can we open PDF, Word file, Excel file, Jpeg file, Tif files within a VB.Net Application? I tried process.start command unfortunately it opens another Adobe Reader window to open the file. I want all these files to open within a VB.Net application.
I'm having a problem with displaying JPEG images in a RichTextBox. When I insert a JPEG image into a RTB it automatically gets converted to a wmetafile8 and displays correctly - however, if i insert a JPEG image into file via another method (currently using the web) it get saved as a jpegblip (as you would expect) but the RTB will not display it. Opening the rtf document in Word displays the image correctly.I have tried this with png and gif files also but none of the images will display unless they are wmetafiles. Is this a limitation with the RichTextBox or is there another reason?
I want to make a wallpaper changer because windows high compresses the the image so you see artifacts even if already use a jpeg or even a really high quality png or bmp.
I know what I need to do for all of it I just need to know how to save an image to a jpeg without it being compressed. I have tried using the encoderparamters and getcodecinfo aswell as setting the quality to 100 but I still get a really bad looking image in the end.
Is there a way where I can save an image to a jpeg without getting the crappy image quality like with visual basic?
how to save a jpeg image to the database. I am using fileopendialog to upload the image to the picturebox. This works fine but I now need to save this image back to the database. I am using an Oracle database (11g) and the image datatype is declared as a blob.