I have an application that was working with LL14. Today, I downloaded the LL15 trial version, and modified my project to use the new assembly.
Now, when I try to do a preview, the preview dialog comes up empty, and then just sits there with an hourglass cursor. I have to close it by clicking the “x” icon in the upper right corner of the dialog.
The call which used to work with LL14 is:
listLabel1.Print(combit.ListLabel15.LlProject.List,
@"C:\Bicw_Dev\Bic.Net\FrontEnd\ListAndLabelReport.lst", false);
The ListAndLabelReport.lst file is trivial - the only field is the default header created by the Designer. I’ve appended the contents of the file below.
Contents of ListAndLabelReport.lst file
[List description]
[Description]
Text=List & Label Project File
FileVersion=10
Units=SCM-Units
Metric=2
TextQuote.Start=1
TextQuote.End=1
RepresentationCode.CondStart=171
RepresentationCode.CondSep=166
RepresentationCode.CondEnd=187
RepresentationCode.Tab=247
RepresentationCode.Ret=182
RepresentationCode.PhantomSpace=2
RepresentationCode.LockNextChar=3
RepresentationCode.ExprSep=164
LCID=1033
Created=
CreatedByApp=
CreatedByDLL=
CreatedByUser=
LastModified=1/28/2010, 2:15:21 PM
LastModifiedByApp=FRONTEND.VSHOST.EXE [9.0.21022.8]
LastModifiedByDLL=CMLL15.DLL [15.2.2009.35711 (09-12-16 11:46)F]
LastModifiedByUser=softdev on SOFTWAREDEVELOP
CreatedByCallFrom=
[Layout]
P1.Template=
xGrid=991
yGrid=991
GridShow=FALSE
GridSnap=FALSE
EnhancedExpressions=TRUE
EnhancedOldExpressions=FALSE
Decimals=2
RealDataPreviewPageLimit=-2
DefFont={(0,0,0),12.000000,-16,0,0,0,400,0,0,0,0,4,0,0,0,Arial}
HelpLines.Horizontal=
HelpLines.Vertical=
PDF.MaxOutlineDepth=2
DefaultSize.Objecttype5=(0,0,171044,161925)
ObjectCount=2
[UserSection]
[SumVariables]
[Layer]
Name=Base
Condition=
WorkspaceColor=(0,0,0)
Visible=TRUE
LayerID=0
[Layer]
Name=First Page
Condition=Page() = 1
WorkspaceColor=(0,128,64)
Visible=TRUE
LayerID=1
[Layer]
Name=Following Pages
Condition=Page() <> 1
WorkspaceColor=(0,0,255)
Visible=TRUE
LayerID=2
[ProjectTemplates]
[@ProjectTemplates]
{
[ProjectTemplates]
{
}
}
[Object]
ObjectID=1
ObjectName=Text
Locked=FALSE
LinkID=1
LinkToID=0
LinkMode=32
LinkTest=-14314
LayerID=1
GroupID=0
Identifier=
Condition=True
UserLocked=False
WrapBefore=False
ExportAsPicture=False
Position/Left=10795
Position/Top=13970
Position/Width=194310
Position/Height=27940
Direction=0
bFill=0
BkColor=RGB(255,255,255)
Frame/Layout=0
Frame/Left/Spacing=0
Frame/Left/Line=False
Frame/Top/Spacing=0
Frame/Top/Line=False
Frame/Right/Spacing=0
Frame/Right/Line=False
Frame/Bottom/Spacing=0
Frame/Bottom/Line=False
PDFLevel=0
PDFText=
IssueCondition=True
bPageWrap=False
bBottomAligned=False
[@Lines]
{
[Lines]
{
[Line]
{
[Font]
{
Default=False
FaceName=“Arial”
GdiCharSet=0
Size=24.0
Width=0
Bold=True
Italic=False
Underline=False
Strikeout=False
Color=LL.Color.Black
PitchAndFamily=0
OutPrecision=0
}
Align=0
Adjusted=False
Uneraseable=False
LineWrap=1
PageWrapAllowed=False
ForceWrap=False
SpaceOptimization=True
Spacing.Paragraph=0
Spacing.Line=0
OutputFormatter=
Condition=True
Text=“Double-click here to set a title for your list.¶¶”
Tab=0
TabAlign=0
}
}
}
[Object]
ObjectID=1
ObjectName=Text
Locked=FALSE
LinkID=2
LinkToID=0
LinkMode=32
LinkTest=-31208
LayerID=0
GroupID=0
Identifier=
Condition=True
UserLocked=False
WrapBefore=False
ExportAsPicture=False
Position/Left=64770
Position/Top=262636
Position/Width=86360
Position/Height=8382
Direction=0
bFill=0
BkColor=RGB(255,255,255)
Frame/Layout=0
Frame/Left/Spacing=0
Frame/Left/Line=False
Frame/Top/Spacing=0
Frame/Top/Line=False
Frame/Right/Spacing=0
Frame/Right/Line=False
Frame/Bottom/Spacing=0
Frame/Bottom/Line=False
PDFLevel=0
PDFText=
IssueCondition=True
bPageWrap=False
bBottomAligned=False
[@Lines]
{
[Lines]
{
[Line]
{
[Font]
{
Default=True
}
Align=1
Adjusted=False
Uneraseable=False
LineWrap=1
PageWrapAllowed=False
ForceWrap=False
SpaceOptimization=True
Spacing.Paragraph=0
Spacing.Line=0
OutputFormatter=
Condition=True
Text="- Page “+Page$()+”/"+TotalPages$()+" -"
Tab=0
TabAlign=0
}
}
}
[UserVariables]
[Parameters]
[@Parameters]
{
[Parameters]
{
LL.ProjectDescription=List & Label Project File
}
}
[PageLayouts]
[@PageLayouts]
{
[PageLayouts]
{
[PageLayout]
{
DisplayName=
Condition=True
SourceTray=0
ForcePaperFormat=True
UsePhysicalPaper=True
PaperFormat=0
PaperFormat.cx=210007
PaperFormat.cy=297002
PaperFormat.Orientation=1
Copies=1
Duplex=0
Collate=0
FitPage=False
ShowInPrintDialog=True
}
}
}