• Welcome to Valhalla Legends Archive.
 

Any help??

Started by Holyone, June 15, 2003, 10:49 AM

Previous topic - Next topic

Holyone

I just reformatted my computer a few days ago and I installed visual studio.  I tried to compile and old source that I had and it gave me this error on the winsock control:

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

Does anyone have any idea whats wrong or how to fix it?

Grok

Two common probabilities:

1)  The program you are compiling was written in VB5 and you installed VB6.  Some of the controls licenses are not included in the VB6 install.  However, they are in the Tools directory on the CD-ROM from which you installed VB6.  There's a REG file containing the license information, and a README (if I recall) explaining where to copy files and when to run the REG file.

2)  The program you are compiling includes third-party controls for which you have not yet reinstalled the developer license for on your computer.  Things like Sheridan Data Widgets, FarPoint Spread, etc, require license information to be found in order for the controls to be used in a development environment.

Solution:

Using NOTEPAD or another text editor, open the .VBP for the project.  Near the top few lines are listed the CLSIDs and filenames (i.e. MSCOMCTL32.OCX) of any files containing controls or references used in the project.

Eliminate from consideration the VB6 controls.  Whatever is not a VB6 control is your list of potential problems.

HTH,
Grok

Holyone

So my original file looks like this:

Type=Exe
Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#..\..\..\..\SYSTEM\stdole2.tlb#OLE Automation
Object={248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0; MSWINSCK.OCX
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCTL.OCX
Object={3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0; RICHTX32.OCX
Form=frmBot.frm
Module=Battlenet; Battlenet.bas
Module=Battlenet2; Battlenet2.bas
Module=modCommands; modCommands.bas
Form=frmEdit.frm
IconForm="frmBot"
Startup="frmBot"
HelpFile=""
Title="HoLyBoT"
ExeName32="HoLyBoTv3.0a4.exe"
Command32=""
Name="HoLyBBoT"
HelpContextID="0"
CompatibleMode="0"
MajorVer=1
MinorVer=0
RevisionVer=0
AutoIncrementVer=0
ServerSupportFiles=0
VersionComments="HoLy Productions 2001-2003 www.Holyone.8m.com"
VersionCompanyName="HoLy Productions 2001-2003 www.Holyone.8m.com"
VersionFileDescription="HoLy Productions 2001-2003 www.Holyone.8m.com"
VersionLegalCopyright="HoLy Productions 2001-2003 www.Holyone.8m.com"
VersionLegalTrademarks="HoLy Productions 2001-2003 www.Holyone.8m.com"
VersionProductName="HoLy BBoT"
CompilationType=0
OptimizationType=0
FavorPentiumPro(tm)=0
CodeViewDebugInfo=0
NoAliasing=0
BoundsCheck=0
OverflowCheck=0
FlPointCheck=0
FDIVCheck=0
UnroundedFP=0
StartMode=0
Unattended=0
Retained=0
ThreadPerObject=0
MaxNumberOfThreads=1
DebugStartupOption=0

[MS Transaction Server]
AutoRefresh=1


And I would take out this:

Object={248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0; MSWINSCK.OCX
Object={831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0; MSCOMCTL.OCX
Object={3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0; RICHTX32.OCX

correct??

Grok

No, the three OCXs are good.  The reference to STDOLE looks ok too.  Try creating a new project and referencing Winsock Control 6.0, Windows Common Controls 6.0, and Rich Text Box 6.0.  Then add the files from the broken project to the new one, one at a time.  This should at least tell you which code module has the problem.  If all that fails, reinstall VB and service pack 5.

Dr.JaY

The same problem happened to me a while ago, you must have the Beginner's Edition..

Grok

Quote from: Dr.JaY on June 16, 2003, 05:51 AM
The same problem happened to me a while ago, you must have the Beginner's Edition..

Good call.  I'm so used to everyone having Pro/Enterprise that I forget some people use Learners.

If you are using standard or learner's edition, the Winsock control is not licensed for those platforms.

Holyone

I think I may have the beginners edition. Winsock controls, Windows Common Control, and Rich Text Box aren't even options fore referencing. So I guess I'll uninstall and d/l a new one. Thank you.

Also, do you know a good link where I could d/l a pro or enterprise edition?

Camel