Solved

VB Help - Errors during load

Posted on 2004-04-21
5
1,300 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Exit a vb6 apps when a calling it apps closes 15 52
Macro Excel - Multiple If conditions 2 81
VB 6 error 5 in windows 10 but not in XP 7 63
vbModal 12 57
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

856 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