|
-
Jan 8th, 2007, 03:59 PM
#1
Thread Starter
New Member
recieving runtime error after deployment
I am receiving runtime -2147191834 (800473e6) after I have run setup. The message is "Visual Basic UFL that implements this function is missing or (U2lcom.dll is missing)". I am using CR ver. 10 and VB 6 and have verified that the U2lcom.dll was distributed with the setup. Everything runs fine on the development machine. The report is a bar code label with IDAutomationHC39M forts and the formula is
"IDAutomationFontEncoderCode39 ({WorkingLabel.PART_NO})"
Dim iINIFile As Integer
Dim sINIFile As String
Dim sDBFile As String
Dim sDBFile2 As String
Dim CRReport As CRAXDRT.Report
Dim CRApp As New CRAXDRT.Application
iINIFile = FreeFile
sINIFile = App.Path & "\IMMS.INI"
Open sINIFile For Input As #iINIFile
Input #iINIFile, sRec
sDBFile = Mid(sRec, InStr(sRec, "=") + 1)
sDBFile2 = Replace(sDBFile, "\InteractiveMaterialManagementSystem.mdb", "")
Set CRReport = CRApp.OpenReport(sDBFile2 & "\Reports\Report2.rpt")
With CRReport
.Database.Tables(1).Location = sDBFile
.RecordSelectionFormula = "{WorkingLabel.LabelIndex}=" & txtSeq.Text & ""
.PrintOut
End With
Set CRApp = Nothing
Set CRReport = Nothing
-
Jan 8th, 2007, 04:23 PM
#2
Re: recieving runtime error after deployment
Also verify that the VB DLL which contains the implementation of the User Defined Function was also installed/registered properly.
-
Jan 9th, 2007, 03:03 AM
#3
-
Jan 9th, 2007, 02:07 PM
#4
Thread Starter
New Member
Re: recieving runtime error after deployment
Thanks for the warm welcome and the quick responses.
Unfortunately up to this point nothing has worked out. I have changed the properties and cleared the event logs on the server (where the report is housed) and the local machine (where the vb app resides) still receiving the same error. I am able to use the fonts in word docs so I believe they're installed correctly.
As for DLL's I know that the VB UFL's are in U2lcom.dll and that this file is on the target machine. I have tried to register it and receive the message "No entry point was found". I am not sure if this has to be registered or not.
I have loaded Crystal reports on the machine but under Functions/Additional Functions/ the Visual Basic UFL's are not appearing. This leads me to believe that the Visual Basic UFL’s will have to be installed on every machine using the application.
Does anyone know where I can get the setup of the Visual Basic UFL’s?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|