Solved

Printing address labels

Posted on 2002-06-05
4
156 Views
Last Modified: 2010-05-02
hi all,

Can anybody suggest me of a good component that will print address labels from a database thro' VB 6.0

help me out

bharat
0
Comment
Question by:catchbharat
4 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 7056452
Please maintain your open questions:

Writing on to a CD -RW from Mac OS 8.6 Directly , is it possible ? Date: 11/21/2001 03:23AM PST  
http://www.experts-exchange.com/jsp/qShow.jsp?ta=macintosh&qid=20238360
Again a startup query Date: 05/02/2002 05:19AM PST
http://www.experts-exchange.com/jsp/qShow.jsp?ta=winxp&qid=20296222

Anthony
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 50 total points
ID: 7056696
Access can be good doing it. Your report can be called this way:

Const dbPathName = "c:\database.mdb"
Const strPassword = "PASSWORD"
Dim Acc As Object, db As Object

Set Acc = CreateObject("Access.Application")
Set db = Acc.Application.DBEngine.Workspaces(0).OpenDatabase(dbPathName, 0, False, ";pwd=" & strPassword)
Acc.OpenCurrentDatabase dbPathName, False
Set db = Nothing
Acc.DoCmd.OpenReport "ReportName", acPreview
Set Acc = Nothing
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7858107
Hi catchbharat,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept emoreau's comment(s) as an answer.

catchbharat, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
LVL 1

Expert Comment

by:Computer101
ID: 8001719
Comment from expert accepted a answer

Computer101
E-E Admin
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VB6 code to programmatically convert pdf to excel 21 92
VBA open file from excel cell 4 42
Put text in a picture ASP.NET C# 2 57
Formula problem with Excel attachment 6 27
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question