I have a program that can view different images selected by the user off of their hard drive. How can I have it so they can then save that image to a different place on their hard drive using my program.? I don't know much about saving files in VB.
I imported icons from the VS 2005 Image library and they look kind of weird. I have it set on 16-bit color. The icons in the toolbar look fine but the rest don't look right. Has anyone had this problem before?
I am currently trying to create a DLL for use with a RESTful api. The only issue I have is that so that this DLL can be used in a service or a program without a GUI, so I can't use "Imports System.Drawing.Imaging" as this requires a form. I have looked around for examples to handle this without using this library but have had no luck.
Private Sub SaveAsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveAsToolStripMenuItem.Click timedate.Stop()[code]......
The problem is that if I save a file I get "myfile.GDL" if I overwrite that I get a new file "myfile.GDL.GDL" ect.the other problem being that the filtering in the windows save/open dialog wont show .GDL files unless I select "all files".
I am "weeks new" to visual basic 2008 but I was hoping that someone might tell me how I can open an image in whatever type of "visible" graphics window (always positioned at: x=0 y=0); move to some "definable position" of interest x=(n) y=(n); change the brightness of that "individual pixel" by some "definable means of measure" from its original state; and save the new image as a separate image file?
I hoping to find a current and simple way to do this. I'm using VWD Express 2008 and SQL Express 2008.I'm able to get the client's path to the image file using an asp:FileUpload control on the web form.
How do I upload the client's image file and display it in the web form's image control?How do I save it to the sqlserver? The image table is already set up with a "Image" data type column. Can the image be saved to the database as simply as other data types?
I try to add text strings to an image but keep the metadata of the original image. The problem is How can I save ImgMetaData (from the original image) to the new image?
Here are the codes:
Public ImgMetaData As BitmapMetadata Public myImageCodecInfo As ImageCodecInfo Public myEncoder As Encoder
i made a vitual dekstop and i have a few problems that to be fixed. The first problem i have is that i have a picturebox as the entire form like the desktop background but the progrblem is that i have some group boxes over that picturebox box. How can i make so you can see throw the group box so that you can see the image behind it. And how can i save a picturebox image without a save file dialog
find a current and simple way to do this. I'm using VWD Express 2008 and SQL Express 2008.I'm able to get the client's path to the image file using an asp:FileUpload control on the web form.How do I upload the client's image file and display it in the web form's image control?How do I save it to the sqlserver? The image table is already set up with a "Image" data type column. Can the image be saved to the database as simply as other data types?
I am trying to save multiple text files using a save dialog.
I can save one textbox
SaveFileDialog1.ShowDialog() Dim File As System.IO.File Dim Write As System.IO.StreamWriter Write = File.CreateText(SaveFileDialog1.FileName) Write.WriteLine(TextBox1.Text) Write.Close()
but I don't know how to save multiple textboxes and richtext boxes. Would I have to use a screenwriter for this?
I'm a VB beginner.I've been playing with Graphics.DrawString by watermarking a picture with a text string. The picture below to the left comes from PictureBox with a text string drawn with Graphics.DrawString. The font style used is Arial 48 points, regular, I think. The picture in PictureBox shows just as I configure. Great... The resolution of the original Terri Hatcher picture is 300 dpi (300 x 300). Exporting this picture with Graphics.DrawString, I get the picture below to the right. The text string appears a lot bigger than previously shown in PictureBox. It turns out that the text size varies, depending on the resolution of the original picture. That's kind of odd. I develop several graphics applications in a different environment and have never seen this sort of graphics.drawstring thing. Anyway, my sample application seems to draw a text string at an image resolution of
I am trying to edit an image. I can open the image with Picturebox1.load(mypicture)
I can change the pixels/edit the picture by Dim img as new bitmap(picturebox1.image)
[Code]...
now here is the weird part. When I save the image the filesize INCREASES..but the picture dimensions are the same Example... TEST.PNG 1.3KB, when opened up via picturebox/saved the image is now 2.3KB
not sure why...i even though I specify system.drawing.imaging.imageformat.PNG
samething with JPG... it actually SHRINKS it evenmore.. example 88KB jpeg.. saved as jpeg is now 47.7KB...
In VB6 you could BITBLT things around before refreshing the screen. In .NET, I'm aware of DrawImage, but that can only be done on a paint event rather than before anything gets painted. The issue I have is, I need to open several files with image data in them and then build a bigger image with those smaller images. Before I could open them, BITBLT them to a Buffer. As far as I can tell .NET offers no way to do this as the only function I've been able to find (DrawImage) only works within the paint event. Is there still a way to do this in VS08 or no?
I want to develop an application which can Write, Save, Read text files(or html files) What I want the application to do is. When I open my application I can write stuffs and then it will save it to my hosting/server. Then, the application will read the text which I already save.. So far, I can only make the application read it by using WebBrowser control and navigating it to a specified URL. Example: [URL](or message.txt) Which I modified from the website not from the application. I want to modify the text or html files from my application.
I know this is out there and probably illogical but I was wondering if it was possible to take multiple picture files and compact them into one file.... and then retrieve them from the program later? Way to combine any amount of image files into one file
Module Module1 Sub combine() Dim img1 As New Bitmap("i1.jpg")
I am trying to find a way to allow my users to choose the directory to save files into, THe file name is automatically generated as it has a naming convention and i am able to pre program a location to save to but i d like to be able to allow my users to decide themselves which directory they want to save the files to and to have the ability to choose which directory to save to
I'm making a front end to dvdauthor.I have a picturebox which holds the menu background. In order to draw a textbutton on the background image I store the image in a hidden picturebox. So the text doesn't get drawn to the visible background.
Dim ctl As Control For Each c As Control In pbMenu1.Controls If c.GetType() Is GetType(TextBtn) Then[code]...
This works the first time. But if I hit save again it writes the text to the background image on pbMenu1.
i have my windows form applicationWhen i load image, i want save this image on another pc. On this another pc there is a Firewall, Windows Live OneCareOn this another pc i have created folder with Anyone permission for create, edit, delete fileI use this [code]
I am using webservice to call method in businesslogics(one class written in vb).I am getting inputppath and path to where i have to save image in that method.I have to create thumbnail and also i have to save original image.Means i want to save masterimage in one folder and its thumnail in different folder. I used following code
Public Function CreateThumbNails(ByVal intWidth As Integer, ByVal strInputFilePath As String, ByVal strFileName As String, ByVal strOutputFilePath As String) As String
[Code].....
What code i have to include to save original size image in another folder.
I have created a VB.net desktop based application for my staff image uploading. How I can upload my staff photo in a specified ftp folder using my application.
I have a application, written in Visual Basic 2008, which reads emails out of outlook 2007 and shows it.It is possible to save the email to disk as msg or html.Now I want to save my email as an image (jpg, gif or other) with code. Maybe directly or first to html and then to an image.
im training on system.drawing.graphics and now, when i draw something on picturebox1, i want to save it, but picturebox1.image.save wont work... Here is the code for save:
Dim i As Integer = 1 Dim loc As String = "C:graphics" & i & ".bmp" PictureBox1.Image.Save(loc, Imaging.ImageFormat.Bmp)
And when i clicking that button which doing that save, it gives me this error:
Object reference not set to an instance of an object.
I have a application, written in Visual Basic 2008, which reads emails out of outlook 2007 and shows it.It is possible to save the email to disk as msg or html.