Click to See Complete Forum and Search --> : Final request for Data Report Designer . . .


John Reynolds
September 14th, 2001, 08:57 PM
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

John G Duffy
September 15th, 2001, 04:55 PM
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

John Reynolds
September 16th, 2001, 06:53 PM
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

John Reynolds
September 17th, 2001, 05:26 PM
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.

John G Duffy
September 17th, 2001, 06:55 PM
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

John Reynolds
September 18th, 2001, 12:43 PM
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.

John G Duffy
September 18th, 2001, 06:23 PM
I know that road very well. Been there done that.

John G

DebbieInFlorida
April 26th, 2003, 03:10 PM
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:confused:

phunkydude
April 26th, 2003, 07:52 PM
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.