Solved

VB Help - Errors during load

Posted on 2004-04-21
5
1,296 Views
Last Modified: 2008-03-10
Hello

I am new to VB :) Hence need some help. Recently I started on working a VB project - I am able to run it on my XP computer (except for the graph  - Graphs are not drawn but calculations are marked in graph)  but when I try to open the .vbp in VB6 it says cannot open with this message:
'Errors during load. Refer to 'C:\Pop-proj\FRMGRAPH.log for details'

When I check the log :
Line 493: Class GraphLib.Graph of control Graph1 was not a loaded control class.
Line 558: Class GraphLib.Graph of control Graph4 was not a loaded control class.
Line 607: Class GraphLib.Graph of control Graph3 was not a loaded control class.
------
-----
Line 703: The property name XPosData[] in Graph2 is invalid.
Line 705: Cannot load control Grid1; license not found

Is this something that I can fix? Or is it a problem of OS?

I checked on another computer running on 2000, everything works fine. But its not my computer :)
So please advise me and if there is quick link to VB learning please list that too...
Thanks a bunch.

0
Comment
Question by:anandula
  • 2
5 Comments
 
LVL 48

Accepted Solution

by:
Mikal613 earned 50 total points
ID: 10880743
you must add the Graph Component
0
 

Author Comment

by:anandula
ID: 10881000
Mikal613

Can you please exaplin your answer more..Where should I load it from? Do you mean that this was a part of my .vbp which is missing...

Thanks
Aparna
0
 
LVL 2

Expert Comment

by:kouroshparsa
ID: 11200004
to add an existing class:
at the menu   Projec -> add Class -> Existing

If you want to use a class, you need this:

Dim MyClass As New NameOfYourClass
MyAnswer = MyClass.aPublicFunctioninTheClass(sending data)

 It may give you an idea !
0
 

Author Comment

by:anandula
ID: 11412785
Hello Dan.

I apologise for the delay in closing and thanks for the reminder. Actually I am going to accept Mikal613's comment as a solution. It would have been helpful if I got another explanation.

I resolved this issue by actually reinstalling VB and adding the Graph Component and also downloaded a couple of dlls'. When I posted this email I was a real novice so I was requesting for a more detailed answer. But, Yes, I missed adding the Graph Component while installation. That was mostly, the problem.

Thanks for the reminder and all those who gave an answer to my query.

Best.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now