how to print in dialog based project

i have datas listed below,i want to print them in table stytle  but not use 
report  control,how can i do it.thanks

F222011_T	F224041_T	F224042_T	F226021_T	L226001_T	P222012_T	P222013_T
2006-9-18  20:23:30	23	23	23	23	23	23	23
2006-9-18  20:23:31	24	24	24	24	24	24	24
2006-9-18  20:23:32	25	25	25	25	25	25	25
2006-9-18  20:23:33	26	26	26	26	26	26	26
2006-9-18  20:23:34	27	27	27	27	27	27	27
2006-9-18  20:23:35	28	28	28	28	28	28	28
2006-9-18  20:23:36	29	29	29	29	29	29	29
2006-9-18  20:23:37	30	30	30	30	30	30	30
2006-9-18  20:23:38	31	31	31	31	31	31	31
2006-9-18  20:23:39	32	32	32	32	32	32	32
2006-9-18  20:23:40	33	33	33	33	33	33	33
2006-9-18  20:23:41	34	34	34	34	34	34	34
2006-9-18  20:23:42	35	35	35	35	35	35	35

boldeagle (3)
1/27/2007 6:08:00 AM
vc.mfc 33608 articles. 0 followers. Follow

1 Replies

Similar Articles

[PageSpeed] 36

It is fairly trivial.  Just open the printer and print.  See my printer class on my MVP
Tips site, for example, for a scheme that may form the basis of what you want to do.

On Fri, 26 Jan 2007 22:08:00 -0800, boldeagle <> wrote:

>i have datas listed below,i want to print them in table stytle  but not use 
>report  control,how can i do it.thanks
>F222011_T	F224041_T	F224042_T	F226021_T	L226001_T	P222012_T	P222013_T
>2006-9-18  20:23:30	23	23	23	23	23	23	23
>2006-9-18  20:23:31	24	24	24	24	24	24	24
>2006-9-18  20:23:32	25	25	25	25	25	25	25
>2006-9-18  20:23:33	26	26	26	26	26	26	26
>2006-9-18  20:23:34	27	27	27	27	27	27	27
>2006-9-18  20:23:35	28	28	28	28	28	28	28
>2006-9-18  20:23:36	29	29	29	29	29	29	29
>2006-9-18  20:23:37	30	30	30	30	30	30	30
>2006-9-18  20:23:38	31	31	31	31	31	31	31
>2006-9-18  20:23:39	32	32	32	32	32	32	32
>2006-9-18  20:23:40	33	33	33	33	33	33	33
>2006-9-18  20:23:41	34	34	34	34	34	34	34
>2006-9-18  20:23:42	35	35	35	35	35	35	35
Joseph M. Newcomer [MVP]
MVP Tips:
newcomer (15975)
1/31/2007 9:54:36 PM

Similar Artilces:

Locate a cell, based on a criteria, then use the 'Cell' command...
I am using a pivot table to configure some data. In the first column, the pivot table of course displays only one instance of the text representing of data group. What I need to do is determine in which cell a particular item of text (i.e. the criteria) resides in. Once I can locate the cell where my 'criteria' text string resides, I can then use the CELL function to return the row number. My question is... what excel formula can I use to locate a cell in a single column range, where the cell contains the text = "XYZ" My eventual plan is to then use the following ...

How do I get a dialog box asking if I want to open a downloaded do
When I download a document, I would like a pop-up box to ask if I want to open the document. On Wed, 24 Feb 2010 18:02:01 -0800, Ron <> wrote: >When I download a document, I would like a pop-up box to ask if I want to >open the document. It seems to me that would be a function of whatever program you're using to do the downloading. Is that Word? -- Regards, Jay Freedman Microsoft Word MVP FAQ: Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. ...

Print file path
I want the file path to be printed on every excel wooksheet I print. Is there a way to do this on new and existing worksheets without having to go into Headers and Footers each time? Thanks, Esther See In article <>, "EstherJ" <> wrote: > I want the file path to be printed on every excel wooksheet I print. Is > there a way to do this on new and existing worksheets without having to go > into Headers and Footers ...

[Fwd: Re: New computer. Newer version of Windows. Printing color Differences]
FYI Do you really print on monitor? I don't! Your assumption is way out of kilter! hth JoAnn Paules wrote: > > New computer - new monitor I assume? > > > > -- > JoAnn Paules > MVP Microsoft [Publisher] > Tech Editor for "Microsoft Publisher 2007 For Dummies" > > "Reddawg2566" <> wrote in message > > >I just bought a new computer with Windows 7 a...

Font Colour not printing as chosen
Hi, I am useing MS Office Proffesional Home Edition 2003. If I select red as a font colour it prints blue. If I select blue as a font colour it prints red. Why? -- Peter Printer driver? Cartridges in the wrong slots? Problem with your own eyes/color perception? Do you have the color-reversal problem in any other programs? (try it with Paint or something) bj "Peter Piper" <> wrote in message > Hi, > I am useing MS Office Proffesional Home Edition 2003. If I ...

Dialog members cause Debug Assertions?
I have this problem that occurs with several dialog member variables. I have this custom dialog that I run as a modal dialog, and copy some data from it when it returns IDOK. This goes something like this: CPalDlg dlg; if (dlg.DoModal() == IDOK) { m_pal = dlg.m_spinPal.GetPos(); } Where CPalDlg is my custom dialog class, m_pal is an int member variable, and m_spinPal is a CSpinButton member variable of the dialog. I can't spot any mistakes, but when I run it, I get a "Debug Assertion Failed" message. Going through the call stack, it turns out the "m_pal = dlg.m...

Excel printing problem
Excel (and Word) from Office X will not print documents with graphics=20 to HP LaserJet 4M and 4M-plus printers. The same graphics will print=20 separately from within Photoshop; and the Excel (or Word) documents=20 will print without the graphics. When a graphics-bearing Excel (or=20 Word) document tries to print, the printer's Ready light blinks, just as = it=20 should indicating the receipt of data, but no printing takes place. This would seem to indicate an inability of Excel (and Word) correctly = to=20 send the document as a PostScript file. yet the same mixed document=20 does pri...

need excel worksheet help, running total based on date
I am trying to add a series of numbers in different worksheets(same spreadsheet) based upon the date. I don't want the future numbers in the total until the date they are associated with is passed. i.e. in A1 of each worksheet is 200. Each worksheet is titled by date (Mar 5, Mar 19, etc) I want the running total to reflect the amount to the current date. If it's March 18th, the totals would be only thru the worksheet of Mar 5. Any help is appreciated. My solution needs 2 cells, one of which may already be in use: You need a cell on each of the dated sheets that...

Printing Quotes on Word Document
We just upgraded to CRM 4.0. I am creating a Word template to allow us to print from our Quotes and have run into two problems. First when I import dates from CRM into my document in brings the time as well even though I have set date only on the attribute for the field in CRM. The second issue deals with products. Only one line item is imported onto the Word form, but all of the totals and discounts track properly. Any ideas? I just went through this as well. I was able to get four products in a "Table" but the formating was aweful. I used a Word Basic loop "{IF ...

XL2003 won't print a col of my spreadsheet
I have a 2 column worksheet in Excel 2003 and one column has cells with large amounts of text. The print area shows up in 'Page Break Preview' View but not on print preview. I am using the "fit to 1 wide by 4 pages tall' in 'page setup' and have included the area in 'Print Area' . Thanks Bill ...

Adding products to the temlate for quotes (Print quote for custome
Hi all I try to add more than one product for quote temlate (from Print quote for customer). I want to have a temlate with table of products from quote. But I can choose only one product. Thanks in advance for any help. ...

Dialog Editor shows blank properties window
Hi I have a dialog based application in which I have a few buttons and Edit Controls. Everything was ok and now all of a sudden when I click on the Button and check the Properties the properties shows up as empty. I am using Visual Studio .Net. It happened to me before, and I reinstalled the Visual Studio .Net and it seems to have worked fine. But I am hoping I dont have to reinstall it again. Any suggestions as to what can be done in this case. Thanks Gouri ...

Sorting a Report Based on Criteria
I have a report that I would like to sort based on user-entered criteria. There are two option groups in my form. Each option group has four fields (Name, Title, Date, ID) that the user can search. The user would select one option from each group. The first group is the primary sort and the second option group is for the secondary sort. For example, if the user selects Name from the Primary option group and Date from the Secondary option group, the report should be sorted by Name and then by Date. What code can I use to enable the user to search this way? Use a calculated field ...

File Dialog Explorer style + manipulate existing controls #3
First, thx for your replies on my first question. I ave another question: in my application I have an online-language-switch option, where the user can switch between the languages German, English and French. Can i manipulate the buttons and labels of the modern file-open-dialog at runtime? I don't want to add new controls only manipulate the existing one (setting correct language texts). Is this possible with the file dialog which uses explorer style? thx ...

Indicator for tasks extending beyond project completion date
1. Our project has a targetted completion of June 30, 2010. 2. For visual purposes, I created a milestone 'Project complete - target June 30, 2010' which has a deadline of June 30 and a 'Must Finish On' June 30 constraint (knowing that this is an inflexible constraint) so that I can visualize the milestone and deadline on the same June 30 date. 3. How do I have indicators appear against tasks that end beyond the targeted project end date? Thanks Hi, Link the task to the projected end and they will show negative slack (whihc, through a simple formula in a ...

Hiding rows before printing
Hi Hope somebody can help here. We run a large drama group, lots of different classes etc. All info relating to students is on a spreadsheet (Excel 2000) - names, addresses, phone numbers etc. It also contains data on who has signed up to this terms class. The class teachers get an attendance register printed from the spreadsheet. I have a macro that hides those columns of data that the teacher does not need to see. At the moment all students that were in a class last term are printed out , even those who have not yet 're-enrolled' in the class. How can I print only those rows wh...

Problems printing from IE8
Windows 7 + Office 2007 running on an SBS 2008 over G-LaN We have deployed 14 workstations all with identical installs, updates & permission sets, yet 2 of the workstations refuse to print web pages containing Java…. I have in stalled the latest Java on all workstations & all are printing as required but two of them will not print from Sage Pay & City Link when reports are required…. The staff are going grey…. Can you help me please? The first thing I'd try is running IE in "no add-on" mode. If that works, you can enable add-ons one at a time until...

Set up a single page to print a chronolgy of sheets printed
I am trying to set up a single page to print out a number (chronological order) each time that particular page is printed. Are you trying to increment a particular cell's value or to increment the page number, or to only print a number, and not the sheet? "srfr808" wrote: > I am trying to set up a single page to print out a number (chronological > order) each time that particular page is printed. ...

Replacing values based on a set list
Hi Could anyone help me with this one: - I have an Excel workbook with two worksheets: sheet1 and sheet2. On sheet1, I have 2 columns of data:- Column 1 - CityID Column2 - CityName On sheet2, I have a list of 500 office locations, some of which are in the same city. Sheet2 has several columns, one of which is the city location of the office. I am trying to prepare the Excel sheet ready to import into Access and want to replace each instance of the city location listed on sheet2 with the CityID number from sheet1 where the city is matched. For example: - Sheet 1 CityID CityName 1...

Calling type library dll NOT from project directory
Hi, everybody I have to implement some SDK in my MFC project. I've added corresponding library to the project and copied corresponding dll file to my project directory. But this doesn't work because this SDK was created the way that this dll cannot be copied anywhere, but it must be called from the directory where SDK setup put it. Import directive doesn't work I'm getting an error: "Cannot open type library file:..." So is it possible to indicate (spedify) somehow in my project the path to this dll, unless it's residing not in project directory? Thank to ev...

Printing problem
Something in Excel has popped up; something new which is driving me NUTS! I had a document which I was printing to a file and then making into a PDF. It was about 17 pages and was printing FINE. OK, then I needed to make a couple more pages for notes. So I copied a couple sheets like I normally did to create new sheets and made my notes pages. NOW, however, when I go to print the dang thing, it prints IN SEVERAL FILES. It used to print in ONE file so I could make my PDF file out of it. But now, NOOOOOO. When printing it keeps prompting me for new filenames. This is driving me NUTS!!!! ...

Printing sheets based on a cell value
I have a workbook of about 30 sheets; each sheet has a date in K4, the value of which varies from sheet to sheet. I'm hoping for a method to cycle through the workbook and print the pages for which K4 equals a specific date such as 12/31/09. I've tried to Name a 3-D selection (K4 on each sheet) without success. I have cycled through rows on a single sheet before but I don't know how to cycle through sheets and then look at 1 cell on each. Can anyone help? Thanks in advance. -- - markvi Hi Mark See -- Rega...

Has anyone here developed a tile-based game with MFC?
I am developing a hexagonal tile based game. If anyone else has and is willing to give me some advice, please let me know. It will be very much appreciated. My biggest struggle is the View class and the converting of pixels to row and column coords and vice versa. Not sure what the question is here. If it is one of geometry, e.g., given an x,y coodinate pair from the mouse, given that you have drawn the hxagons, you know the coordinates you used. Therefore, it is simple geometry to determine if the mouse is within the area defined by the coordinates.My own inclination would be as a side-...

Be able to eport addresses to word to print on envelopes
I think it would be a great idea if there was a way to export the customer's address into Microsoft Word so as to print on envelopes. ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane.

Conditional formatting based on matching record in separate query
I would like to conditionally format a patient's name (e.g., Bold) in a report, based on whether it finds that name in a separate query of New Admissions. How can I make my condition look for matching data in the query? The table name is Today'sList, and the query name is Admissions. The matching field name containing the patient's name is "Field1". Do I need to construct an expression using IIf (I'm assuming)? My question is, somehow I need my conditional expression to say "If Field1 matches any record's Field1 in this other query (Admissions),...