Save/Print A Format?
Jan 27, 2010I have prepared an application in which there are some operations being performed on the form window.
View 4 RepliesI have prepared an application in which there are some operations being performed on the form window.
View 4 RepliesI am needing to print certain data in a specific format (I am drawingin Excel format), I wonder, what would be the best way to generate these reports in a format pre-determined? Crystal report or Other?
View 1 RepliesI have a listview that displays date and time from a range that is set from combo boxes: "Start Date" and "End Date".
Then I am printing a block that display Cycle time. This cycle time is coming from "Start Date" and "End Date". I want to change the format of the item displayed in list view after it is printed in the print block in the format as "mm-dd-yyyy".
I was assisted through this forum with a solution for formatting text to output via a "rectangle" defined by code. I'm not understanding where this code should go within my application. I am constructing a string, assigning the string's contents to RichTextBox.Text, and outputting the text to a printer. Where do I code the "rectangle" definition? See code:
[Code]...
I need a tutorial for printing/saving/opening a spreadsheet. Is there a way to print a spreadsheet and save the spreadsheet and also open it?
View 14 RepliesHave been trying this out for sometime with no success. I want to be able to use pdf printing application like pdfprinter to print my vb reports to and then save the reports to a particular location on my computer.
View 4 RepliesI would like to take a screen shot and save it in a sub folder in the main folder the application opened from for example C:/~/Application path/Screen shots/ I am using Visual basic 2005.
View 7 RepliesOK I have been trying to find a way of saving images in .TGA format I know it's not supported directly so I have been doing some searching and found this [URL] I added the reference and checked to use the name or whatever under that for the Devil dll and I added both the DevIL.NET.dll and the DevIL.NET2.dll files to the references and then I even tried putting imports.DevIL at the top of my code but it still wouldn't work I fallowed the examples from the site and it gives me an error under the word DevIL and is says something like namespace is invalid or something like that
[Code]...
i know to save the video from a web cam in avi format
MyCaptureGraphBuilder.SetOutputFileName(MediaSubType.Avi, FilePath, pMux,
how can i save the file in wmv format? Nothing)
I want to save all my emails into a PDF format. The file must contains which look similar to the Outlook Reading Pane into Outlook 2010.
Is there a programming way to to this (cause hundreds of emails) ?
I developed an application which uses some pictures. It has some pictures etc and some common formatting options.I wanted to know how can I save this file in my own format so that it can opened in my own application.
View 8 Repliescode for how to save ,open and print a file /document.i have used the below code for save but its not working fine.
Dim objSaveFileDialog As New Windows.Forms.SaveFileDialog
With objSaveFileDialog
.DefaultExt =[code]......
I have a scrollable drawing (in the form paint event) with a height / width ratio up to 1: 10 . I can see the entire drawing by scrolling with the left and right arrow keys. Problem is when I need to save or print the drawing.
1. - If I try to print or save with the: PrintForm1 or with some code for a screen capture I get only part of the drawing, which is seen on screen.Is there any possibility that I save the whole drawing (the entire form, even the part that can not be seen) as a bmp or png ... (something like extended window in "Snagit" program)?
2. - If I want to print the whole drawing, I know that I have to make in a several pages. Does anyone have a similar example of this?
[code] the way to get the list of all supported formats, with this line: [code]
View 1 RepliesI am using Visual Basic 2010, and i am trying to save a directory with a name "AP Backup" and assign also the current date on Directory Name.e.g. AP Backup 29-11-2011.
View 4 Repliesdoes anyone know how to save a video file in WMV format?
View 2 RepliesDoes anyone have a VB 2008 code example to save a bitmap in 256 color (8 bits/pixel) PNG format, using the default Web palette? (I keep getting 32 bits/pixel).Note, this is not for icon use, but for images.
Dim bm As New Bitmap(1024, 1024)
...
bm.Save("test.PNG", ImageFormat.Png) seems to save with 32 bits/pixel
How can I save my app's settings in my own format and load it?
View 6 Repliesi would like to ask some question regarding saving textbox output into PDF format...i used StreamWriter.. but i dun think so it can work with in PDF.
View 9 RepliesI have tried a few different libraries and had no luck at all was wondering if anyone has ever gotten .tga to save with vb.net 2010 if so could you please help me out with this.
View 7 RepliesI am a Real Estate appraiser and have some limited experience with vb and .net. I have a task which I perform which requires me to go to the conuty appraisers web site and print a copy (to image bmp or jpg or directly to the default printer) of the current public record info for anywhere from a few pages to 1,000 plus records at a time.
I don't really get paid to do this part of the job so they don't care whether it takes me a few minutes or several hours to do this. I thought there must be a way to automate this process, so last week I started searching and test code snippets.What I have to date opens an instance of IE; navigates to the reguested page; finds the form elemet for AcctNo; fills it in and submits the form. The page that comes back is formatted for screen presentation and is not suitable to be sent to the printer. There is however a link which when clicked returns a page formatted for pinting. Downside is it also brings up the print dialog which then has to be handled. I was able through several methods to click either the print button or the cancel button which leaves me with a document that is either sent to printer or sitting on screen.
The questions are: Is there a way to do this without displaying the Print Dialog? Maybe a HTTPRequest or HTTPWebREquest as I have no need to see the screens just need the final page.The resultant page is typically longer then letter by a few lines and wants to print on two pages. It would be nice to resize the page to fit and typically it will be the same resizing. If I stick with the print dialog either clicking print or cancel how can I intercept the document and decide by options set in the program wheter to send the file to the printer or save to image?
I am new to VB and having an issue with Print Screen. I'm trying to take a screen shot, show it in a picBox and then save the image to a file. Eventually, I want to add a timer and have the webcam open on screen so that I can take a set of pictures and save them to the hard drive (a very simple "security" cam).What's happening is when I click on my "Start" button the screen shot always seems capture the last screen event (ie: if I move the dialog from left to right and click "Start" the dialog is still showing on left side of screen shot). Not sure what's going on with this. I tried variations to update (picBox.Refresh(), .Update(), and .Show()) without any change. It's as if two clicks are required to make a capture.Also, I'm trying to save the image that's been captured and can't seem to get that working.
Code:
Option Explicit On
Option Strict On
Public Class Form1
[code]....
I am attempting to create a program which saves customer information for a business e.g first name, last name, address etc. but i am having trouble coding the save , new, print, next/previous record buttons.
View 2 Repliesadddays to a date and save to a format MM/dd/yyyy
View 10 Repliesi put a datetimepicker on my form and i wanted it to save the format in a text file...Dim strDate As String = DateTimePicker1.Value
My.Computer.FileSystem.WriteAllText("C:/account/myfile.txt", strdate, false MessageBox.Show("File Saved") i already set its property to "custom" and in "dd/MM/yyyy"the problem is when i click on the save button i can still see the time format? e.g. "10/20/2010 11:54:33"
[code]...
I've plot a histogram in a picturebox called picHisto, but i'm having a problem in save it to jpeg or other format. When it saved, it appears to be a blank or white picture. The code below is the code i used for saving, thanks for the help.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim img As New Bitmap(picHisto.Width, picHisto.Height)
Dim g As Graphics = Graphics.FromImage(img)
[code]....
How to save image in binary format in vb.net
View 1 RepliesHow can I save or convert a word 2003 file to PDF format?Is there a way that i can save a doc file to PDF format through vb.net?I try to use : "office.Word.WdSaveFormat.wdFormatPDF" but didn't work.
View 6 RepliesI'm trying to save a text file with a certain format, kind of trying to create some sort of colums, so when I open it will be easier to read...If I have these four words: Calendar, Car, Time, Airplane; I would like to put them into colums...
vb.net
oWriter.WriteLine("{0,50}{1,10}", "Calendar", "Airplane")
oWriter.WriteLine("{0,50}{1,10}", "Time", "Car")
The problem:When I save it to a text file or print it, it comes out like this:Calendar AirplaneTime CarHow can I put them like "centered", so that doesn't look like that mess...?
I want to be able to save a score then have it print out in a text box to prove it is saving.. Here's what i have outText = IO.File.CreateText("final.txt")
[Code]...