CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2000
    Posts
    200

    Final request for Data Report Designer . . .

    My OS is Windows2000. I have loaded Visual Studio 6.0 Professional.

    I was able to use the Data Report Designer last week. Now, when I attempt to add a DataReport, I get a message stating I am not licensed to use the functionality of . . .

    I have completely uninstalled Visual Studio. I have ran the RegClean utility, and reinstalled ALL of Visual Studio. Same message when I try to add a DataReport to my project.

    I took the disks home and installed VS 6.0 on my machine at home, which also has the Windows2000 OS. Works fine. (?)

    Any other ideas would be greatly appreciated.

    Thanks,
    John


  2. #2
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: Final request for Data Report Designer . . .

    Some of the VB 6.0 CDs were missing registration information for some of the controls. On my VB 6.0 CDROM there is a addon file that will register the missing controls. It is called
    VBctrls.Reg.
    I don't know if it will help but its worth a shot. If you can find it, dblClick it to run the program to update the registry.

    John G

  3. #3
    Join Date
    Sep 2000
    Posts
    200

    Re: Final request for Data Report Designer . . .

    John, thanks! I won't be able to try your suggestion until Monday morning, but I am THRILLED I have something to try.

    I sent you an EXCELLENT rating because you're the only one who gave me at least a hopeful solution.

    Thanks again!
    John Reynolds



  4. #4
    Join Date
    Sep 2000
    Posts
    200

    Re: Final request for Data Report Designer . . .

    I found the file you suggested. It was on disk #2 of my Visual Studio 6.0. I double-clicked it and it updated my registry. I restarted & run VB. When I attempted to add a DataReport, same message:

    "License information for this component not found. You do not have an appropriate license to use this functionality in the design environment."

    Thanks alot anyway. If any other ideas pop up, I'd sure like to hear them.

    Thanks again,
    John R.


  5. #5
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: Final request for Data Report Designer . . .

    In ooking at Project/References I see two entries for Microsoft Data Report Designer 6.0 SP4
    The entries however reference different .DLL files
    1) MSDBRPT.DLL 304KB Mar 14,2000
    2) MSDBRPTR.DLL 292KB Mar 14,2000

    Use Regsvr32 to unregister them, Find them and Rename them to something else then reinstall VB. VB sometines is too smart and will not install a file if it already exists with a version and level = or > the one it wants to install. It will bypass loading its copy assuming the newer version is suitable.
    You might compare these files with the ones you have at home on the system that works.


    John G

  6. #6
    Join Date
    Sep 2000
    Posts
    200

    Re: Final request for Data Report Designer . . .

    John G. . . . YOU'RE A GENIOUS! Followed your suggestion and IT WORKS!

    After success, I learned that only the RPT DLL gets installed, not the PTR. Anyway, I've deleted the renamed file.

    Thanks!
    John R.


  7. #7
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: Final request for Data Report Designer . . .

    I know that road very well. Been there done that.

    John G

  8. #8
    Join Date
    Apr 2003
    Posts
    74

    report designer

    John,

    You are the only one I have found to actually get this finicky report to work, I have followed all directions in MS help, tinkered for days, no errors with data binding until the .show and I get "invalid data source". Did you ever get this error? Am using ADO and not the data environment, some sample of code, my RS has only 2 records in it ...


    Dim i As Integer


    With rptGAP
    .Hide
    Set .DataSource = Nothing
    .DataMember = " "
    Set .DataSource = RS
    End With


    With rptGAP.Sections("Detail").Controls
    For i = 1 To .Count
    If .Item(i).Name Like "Text1" Then
    .Item(i).DataMember = ""
    .Item(i).DataField = RS.Fields(1).Name 'latin name
    ElseIf .Item(i).Name Like "Text2" Then
    .Item(i).DataMember = ""
    .Item(i).DataField = RS.Fields(2).Name 'common name
    End If
    Next i

    End With

    rptGAP.Show

    Any ideas... Thank you

  9. #9
    Join Date
    Aug 2000
    Location
    Namibia
    Posts
    139
    Debbie,

    if you step through your work I'm sure you will get an invalid assignment message at
    set .datasource = RS
    Sometime back I tried similar, but the deadline was looming so I resorted to using the Data Environment. I left the task of solving this and still haven't got around to it. Let us know if you resolve this.

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

Featured