Results 1 to 4 of 4

Thread: VB's Data Report Error.. help..

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Posts
    237

    Question VB's Data Report Error.. help..

    hi.. I'm making an application using VB's Data Report. In my computer, the application runs well, but when I install it on another computers, when I try to open the report, on some computer (not all) it always gives a runtime error: Application-defined error or object-defined error. The computers are using Windows XP SP2. What could be wrong? Are these computers lack of some files? Please help. Thank you very much.

  2. #2
    Frenzied Member d3gerald's Avatar
    Join Date
    Jan 2006
    Posts
    1,348

    Re: VB's Data Report Error.. help..

    datareport designer is msdbrpt.dll. yet it is the design time environment. when you deploy your application, make sure you include its runtime environment and all its dependencies.
    its runtime dll is msdbrptr.dll

    try also searching google and type the error number on the search textbox
    On error goto Trap

    Trap:
    in case of emergency, drop the case...

    ****************************************
    If this post has been resolved. Please mark it as "Resolved" by going through the "Thread Tools" above and clicking on the "Mark Thread Resolved " option.
    if a post is helpful to you, Please Rate it by clicking on the Rate link right below the avatar

  3. #3
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: VB's Data Report Error.. help..

    Moved to application deployment.

    A couple of questions:

    What installation and setup package are you using to deploy your application?

    Can you see any differences between the computers that on which it does not work and those on which it does work?

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    May 2001
    Posts
    237

    Re: VB's Data Report Error.. help..

    I use VB's Package & Deployment to make the installation.. but I can't see any differences between the computers that on which it does not work and those on which it does work..

    I read at microsoft.com:

    If there is no Visual Basic error corresponding to the Number property, the "Application-defined or object-defined error" message is used.


    thank you Hack and d3gerald

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width