JustiDirect won't Deploy.

A

Andy

Hi;

Used Lebans.com's JustiDirect in one Report. It works perfectly on the
machine that has Access installed.

Packaged the Dbase for a machine that doesn't have Access using "Package and
Deployment Wizard" for a run-time version.

The text S T R E T C H E D width wise and flowed past the height of the
Control.

Anyone have a suggestion, (Stephen)?

Andy

Don't expect anyone to finish my code for me but have included the code in
case someone else could use it.

The VBA code is:

Option Compare Database
Option Explicit
Dim Justi1 As New clsJustifyText

Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer)
Dim intFS As Integer

For intFS = 14 To 10 Step -1
Me.txtProdDescript.FontSize = intFS

If fTextHeight(Me.txtProdDescript) < Me.txtProdDescript.Height Then Exit
For
Next intFS
End Sub

Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)

Call Justi1.fRecordDetail(Me, "txtProdDescript", PrintCount)

End Sub

Private Sub Report_Close()
Set Justi1 = Nothing
End Sub

Private Sub Report_Page()
Dim myBool As Boolean
myBool = Justi1.fJustiDirect(Me)

End Sub
 
S

Stephen Lebans

JustiDirect would not be affected by a runtime only install.

If the output font is distorted then:
1) Use plain Arial as the font. Ensure their Printer Driver is setup the
same as yours(ie use Printer Fonts, etc)
2) Ensure the end user has a plain jane HP Printer Driver selected.

Should get you headed in the right direction.
--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 
A

Andy

Stephen;

Thank You for Your reply.

Knew that Cross Posting is a bad thing. What I didn't know was about the
ability of OE to add additional groups.

The reason, not the excuse, posted in two places, is that in this DBase
JustiDirect is used in a Report, then realized where JustiDirect is normally
used is a Form.

I apologize for the mis-step.

Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top