Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

What is Error Number 713, Application-Defined or Object-Defined Error

Posted on 2004-10-19
2
904 Views
Last Modified: 2008-01-09
What is the cause of Error Number 713, "Application-Defined or Object-Defined Error".

Anybody know if there is a general cause for this error.  I just developed several VB reports using the VB report writer.  They work perfectly on my development machine but when I moved the app to another machine I got the 713 error when I tried to print.

The code to initiate the Print is:

Public Sub Print0ConsequenceCol()

Dim rsConsq0Info As New ADODB.Recordset

With rsConsq0Info
' data
  .Fields.Append "rCondesc1", adVarChar, 100
  .Fields.Append "rLabel1", adVarChar, 100
'
  .CursorType = adOpenKeyset
  .LockType = adLockOptimistic
  .Open


  Dim f As New frmDescription
    .AddNew
' labels (but really text boxes on MainInfo Page)
    ![rConDesc1] = f!ConDesc1.Text
    ![rLabel1] = f!Label1.Caption
'
    .Update
'
    Set f = Nothing
'
End With
'
With rptConsequenceInfo0
  Set .DataSource = rsConsq0Info
  .DataMember = rsConsq0Info.DataMember
'  .Orientation = 2    ' rptOrientLandscape
  DoEvents
    If PrintEm = True Then
        .PrintReport
    Else
        .Show vbModal
    End If

End With
'
Set rsConsq0Info = Nothing

'rsConsq0Info.Close

'
End Sub
0
Comment
Question by:mlcktmguy
2 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 12356134
Did you install the application on that other machine or just copied the executable ?
I guess it will need some depending dll's, that are on your development pc, but not on your other pc.

Try to make a setup-program, run the setup and try again.
(deployment & package wizard)
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 250 total points
ID: 12357112
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

789 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