473,657 Members | 2,765 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pages Per Sheet programmaticall y for N-Up Printing in visual basic 6

1 New Member
Hi,

I would like to know kow to set "Pages Per Sheet" programmaticall y for "N-Up" Printing in visual basic 6.

I've a lot of code in C, but I need to write it in vb6.

I've played a lot with devmode, offset 24, dmNup, API's (CopyMemory, GlobalFree...) but the printer dialog doesn't appear with "n" pages per sheet.

Can you help me?

Thanks in advance!
Attached Files
File Type: zip MyLastCode.zip (9.2 KB, 90 views)
Jan 3 '11 #1
0 1253

Sign in to post your reply or Sign up for a free account.

Similar topics

9
2408
by: boclair | last post by:
In a discussion between AJ Flavel and Spartanicus, The later said. "Layouts that work well on the desktop and on small screen devices are single column layouts. Layouts that use more than one column rarely work properly on a wide range of viewport widths. This also applies to "css" layouts that use separate "screen" and "handheld" stylesheets due to the poor support for the handheld media type and it's intrinsic limitations. The same...
6
2855
by: ALthePal | last post by:
Hi, I'm not sure if we are able to or even how to loop through the web forms in a VB.NET project during design time. In MSAccess we are able to go through the database -> forms collection and loop through all the forms in a database and pull information about the form (controls and properties). We would need to do the same in our VB.NET project; loop through the project and get the web form's control and property information...
4
1828
by: Wintersrush | last post by:
I am working on a website that is using a Cascading Style Sheet. I've created the primary webpages and .css page. The format is the same throughout the entire website EXCEPT the color of the headings and hyperlinks. I need to make each site have a different color of those items. How do I make the changes to each page, but keep the same .CSS? Any feedback would be GREATLY appreciated!
2
2285
by: Yves | last post by:
I want to create a report that will print 4 pages per sheet. All pages have the same header with their own page number. The 1st sheet would have 4 pages with numbers 1, 2, 3, 4. The second sheet would start with page number 5, 6, 7, 8 etc. Any idea how I can accomplish this? Thank Yves
7
10893
by: Don Wash | last post by:
Hi There! I'm creating several ASCX Controls and those controls will have their own CSS Style Sheets. But I don't know how I can link the corresponding Style Sheet in the ASCX file? Because the style sheet can only be linked in the <head></head> section of an HTML document, right? So ASCX controls does not have <head> tags so how can I link the style sheets? Many thanks in advance! Don
2
3658
by: Kenneth P | last post by:
Hi, I'm developing asp.net (vb) apps in VS.NET 2003, and I'd like to know how you can write style sheet code in a sub in an .aspx page that when it's rendered as html/text/css code in the .aspx page. The idea is to programmatically write style sheet code that dynamically goes into every page and is rendered accordingly. Let's assume I wanted this kind of code into my rendered .aspx page
2
998
by: msnews | last post by:
actually using vb.net for an excel application the excel app allows users to get a web page from data entered on the sheet, the web page is opened in a new window via excel hyperlink i would like to copy and paste a graphic from the web page onto the excel sheet so the questions can vb.net access downloaded web pages in such a way to either mimick the browser 'copy' function, so that then the copied image can be pasted from the...
5
5768
by: HDI | last post by:
Hi, How can I programmatically open a password protected excel-sheet? Thx
0
839
by: Camille2007 | last post by:
Hello, I would like to know how to print pages/sheet in zoom option in print dialog box using vb2005? Any help would be very appreciated.
8
11778
by: Mort Strom | last post by:
Right now the header of my master page contains all of the CSS styles for all of the pages that might be loaded in my ContentPlaceHolder. The problem is that my <styletag is getting too large to manage. I have 300 lines of styles in my masterpage and I don't need all of this for every page -- somehow this can't be a smart way of managing styles. How do I programmatically apply styles in my MasterPage based on the ContentPlaceHolder...
0
8302
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8718
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8499
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8601
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7314
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6162
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5630
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4300
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1937
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.