Advertisement

Results for "Author: vincent lozada"

Java_Volume1 #93858
Set a Printer as default from Printers collection

Attempting to set the default printer to an object variable has no effect. For instance, given a system with more than one printer installed, the following code will not change the default printer: Set Printer = Printers(2). The expected behavior is that the document should print to the first non-default printer found in the printers collection. The actual behavior is that the document prints to the original default printer. Thus, a fix was proposed in MSDN Article ID Q167735. I modified this code from it original and wrapped in a class for the purpose of storing the original printer configuration during class initialization and reseting it back during termination if it was modified.

1_2002 #105197
How to Add Print Preview to VB (Part II)

I started this project nearly a year ago to provide printing and print-previewing in my applications. This project has a lot of room for improvement, so my hope is that you can take this project and run with it for I have limited time to develop it any further. The project has two dependencies: SSubtmr.dll and Win.tlb (large file). When you un-zip the file, please pay close attention to these dependencies in order to make the project work. Credit goes to Steve McMahon and Bruce McKinney for these libraries. Get them here: http://vbaccelerator.com/codelib/ssubtmr/ssubtmr.zip http://www.twocyclones.com/Files/Win.zip

1_2002 #105198
Set a Printer as default from Printers collection

Attempting to set the default printer to an object variable has no effect. For instance, given a system with more than one printer installed, the following code will not change the default printer: Set Printer = Printers(2). The expected behavior is that the document should print to the first non-default printer found in the printers collection. The actual behavior is that the document prints to the original default printer. Thus, a fix was proposed in MSDN Article ID Q167735. I modified this code from it original and wrapped in a class for the purpose of storing the original printer configuration during class initialization and reseting it back during termination if it was modified.

1_2002 #105199
How to Add Print Preview to VB (updated)

This code was originally coded using 16-bit Win API function calls and I switched to 32-bit... looks like I missed some in the first release. If you discover any OVERFLOW problems, it's because of this fact. I think I got them all. Anyway, here's the intro... It would be ideal to have a generic print routine that could print to the printer or to the screen depending on what you pass it. This project shows you how to create printing routines that can print to the printer or to a picture box. This enables you to add print preview capabilities to your Visual Basic applications. Since there are several ways that you could implement print preview in your applications, this project describes one method that is easy to do in Visual Basic and works well.

2_2002-2004 #120243
How to Add Print Preview to VB (updated)

This code was originally coded using 16-bit Win API function calls and I switched to 32-bit... looks like I missed some in the first release. If you discover any OVERFLOW problems, it's because of this fact. I think I got them all. Anyway, here's the intro... It would be ideal to have a generic print routine that could print to the printer or to the screen depending on what you pass it. This project shows you how to create printing routines that can print to the printer or to a picture box. This enables you to add print preview capabilities to your Visual Basic applications. Since there are several ways that you could implement print preview in your applications, this project describes one method that is easy to do in Visual Basic and works well.

2_2002-2004 #120568
How to Add Print Preview to VB (Part II)

I started this project nearly a year ago to provide printing and print-previewing in my applications. This project has a lot of room for improvement, so my hope is that you can take this project and run with it for I have limited time to develop it any further. The project has two dependencies: SSubtmr.dll and Win.tlb (large file). When you un-zip the file, please pay close attention to these dependencies in order to make the project work. Credit goes to Steve McMahon and Bruce McKinney for these libraries. Get them here: http://vbaccelerator.com/codelib/ssubtmr/ssubtmr.zip http://www.twocyclones.com/Files/Win.zip

2_2002-2004 #121005
Set a Printer as default from Printers collection

Attempting to set the default printer to an object variable has no effect. For instance, given a system with more than one printer installed, the following code will not change the default printer: Set Printer = Printers(2). The expected behavior is that the document should print to the first non-default printer found in the printers collection. The actual behavior is that the document prints to the original default printer. Thus, a fix was proposed in MSDN Article ID Q167735. I modified this code from it original and wrapped in a class for the purpose of storing the original printer configuration during class initialization and reseting it back during termination if it was modified.

3_2004-2005 #138787
How to Add Print Preview to VB (updated)

This code was originally coded using 16-bit Win API function calls and I switched to 32-bit... looks like I missed some in the first release. If you discover any OVERFLOW problems, it's because of this fact. I think I got them all. Anyway, here's the intro... It would be ideal to have a generic print routine that could print to the printer or to the screen depending on what you pass it. This project shows you how to create printing routines that can print to the printer or to a picture box. This enables you to add print preview capabilities to your Visual Basic applications. Since there are several ways that you could implement print preview in your applications, this project describes one method that is easy to do in Visual Basic and works well.

3_2004-2005 #139112
How to Add Print Preview to VB (Part II)

I started this project nearly a year ago to provide printing and print-previewing in my applications. This project has a lot of room for improvement, so my hope is that you can take this project and run with it for I have limited time to develop it any further. The project has two dependencies: SSubtmr.dll and Win.tlb (large file). When you un-zip the file, please pay close attention to these dependencies in order to make the project work. Credit goes to Steve McMahon and Bruce McKinney for these libraries. Get them here: http://vbaccelerator.com/codelib/ssubtmr/ssubtmr.zip http://www.twocyclones.com/Files/Win.zip

3_2004-2005 #139549
Set a Printer as default from Printers collection

Attempting to set the default printer to an object variable has no effect. For instance, given a system with more than one printer installed, the following code will not change the default printer: Set Printer = Printers(2). The expected behavior is that the document should print to the first non-default printer found in the printers collection. The actual behavior is that the document prints to the original default printer. Thus, a fix was proposed in MSDN Article ID Q167735. I modified this code from it original and wrapped in a class for the purpose of storing the original printer configuration during class initialization and reseting it back during termination if it was modified.

4_2005-2006 #151175
How to Add Print Preview to VB (updated)

This code was originally coded using 16-bit Win API function calls and I switched to 32-bit... looks like I missed some in the first release. If you discover any OVERFLOW problems, it's because of this fact. I think I got them all. Anyway, here's the intro... It would be ideal to have a generic print routine that could print to the printer or to the screen depending on what you pass it. This project shows you how to create printing routines that can print to the printer or to a picture box. This enables you to add print preview capabilities to your Visual Basic applications. Since there are several ways that you could implement print preview in your applications, this project describes one method that is easy to do in Visual Basic and works well.

4_2005-2006 #151176
Set a Printer as default from Printers collection

Attempting to set the default printer to an object variable has no effect. For instance, given a system with more than one printer installed, the following code will not change the default printer: Set Printer = Printers(2). The expected behavior is that the document should print to the first non-default printer found in the printers collection. The actual behavior is that the document prints to the original default printer. Thus, a fix was proposed in MSDN Article ID Q167735. I modified this code from it original and wrapped in a class for the purpose of storing the original printer configuration during class initialization and reseting it back during termination if it was modified.

4_2005-2006 #151177
How to Add Print Preview to VB (Part II)

I started this project nearly a year ago to provide printing and print-previewing in my applications. This project has a lot of room for improvement, so my hope is that you can take this project and run with it for I have limited time to develop it any further. The project has two dependencies: SSubtmr.dll and Win.tlb (large file). When you un-zip the file, please pay close attention to these dependencies in order to make the project work. Credit goes to Steve McMahon and Bruce McKinney for these libraries. Get them here: http://vbaccelerator.com/codelib/ssubtmr/ssubtmr.zip http://www.twocyclones.com/Files/Win.zip

5_2007-2008 #173693
How to Add Print Preview to VB (updated)

This code was originally coded using 16-bit Win API function calls and I switched to 32-bit... looks like I missed some in the first release. If you discover any OVERFLOW problems, it's because of this fact. I think I got them all. Anyway, here's the intro... It would be ideal to have a generic print routine that could print to the printer or to the screen depending on what you pass it. This project shows you how to create printing routines that can print to the printer or to a picture box. This enables you to add print preview capabilities to your Visual Basic applications. Since there are several ways that you could implement print preview in your applications, this project describes one method that is easy to do in Visual Basic and works well.

5_2007-2008 #173694
Set a Printer as default from Printers collection

Attempting to set the default printer to an object variable has no effect. For instance, given a system with more than one printer installed, the following code will not change the default printer: Set Printer = Printers(2). The expected behavior is that the document should print to the first non-default printer found in the printers collection. The actual behavior is that the document prints to the original default printer. Thus, a fix was proposed in MSDN Article ID Q167735. I modified this code from it original and wrapped in a class for the purpose of storing the original printer configuration during class initialization and reseting it back during termination if it was modified.

5_2007-2008 #173695
How to Add Print Preview to VB (Part II)

I started this project nearly a year ago to provide printing and print-previewing in my applications. This project has a lot of room for improvement, so my hope is that you can take this project and run with it for I have limited time to develop it any further. The project has two dependencies: SSubtmr.dll and Win.tlb (large file). When you un-zip the file, please pay close attention to these dependencies in order to make the project work. Credit goes to Steve McMahon and Bruce McKinney for these libraries. Get them here: http://vbaccelerator.com/codelib/ssubtmr/ssubtmr.zip http://www.twocyclones.com/Files/Win.zip

6_2008-2009 #196211
How to Add Print Preview to VB (updated)

This code was originally coded using 16-bit Win API function calls and I switched to 32-bit... looks like I missed some in the first release. If you discover any OVERFLOW problems, it's because of this fact. I think I got them all. Anyway, here's the intro... It would be ideal to have a generic print routine that could print to the printer or to the screen depending on what you pass it. This project shows you how to create printing routines that can print to the printer or to a picture box. This enables you to add print preview capabilities to your Visual Basic applications. Since there are several ways that you could implement print preview in your applications, this project describes one method that is easy to do in Visual Basic and works well.

6_2008-2009 #196212
Set a Printer as default from Printers collection

Attempting to set the default printer to an object variable has no effect. For instance, given a system with more than one printer installed, the following code will not change the default printer: Set Printer = Printers(2). The expected behavior is that the document should print to the first non-default printer found in the printers collection. The actual behavior is that the document prints to the original default printer. Thus, a fix was proposed in MSDN Article ID Q167735. I modified this code from it original and wrapped in a class for the purpose of storing the original printer configuration during class initialization and reseting it back during termination if it was modified.

6_2008-2009 #196213
How to Add Print Preview to VB (Part II)

I started this project nearly a year ago to provide printing and print-previewing in my applications. This project has a lot of room for improvement, so my hope is that you can take this project and run with it for I have limited time to develop it any further. The project has two dependencies: SSubtmr.dll and Win.tlb (large file). When you un-zip the file, please pay close attention to these dependencies in order to make the project work. Credit goes to Steve McMahon and Bruce McKinney for these libraries. Get them here: http://vbaccelerator.com/codelib/ssubtmr/ssubtmr.zip http://www.twocyclones.com/Files/Win.zip

7_2009-2012 #218729
How to Add Print Preview to VB (updated)

This code was originally coded using 16-bit Win API function calls and I switched to 32-bit... looks like I missed some in the first release. If you discover any OVERFLOW problems, it's because of this fact. I think I got them all. Anyway, here's the intro... It would be ideal to have a generic print routine that could print to the printer or to the screen depending on what you pass it. This project shows you how to create printing routines that can print to the printer or to a picture box. This enables you to add print preview capabilities to your Visual Basic applications. Since there are several ways that you could implement print preview in your applications, this project describes one method that is easy to do in Visual Basic and works well.

Languages
Top Categories
Global Discovery