Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VB Help - Errors during load

Posted on 2004-04-21
5
Medium Priority
?
1,319 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
4 Comments
 
LVL 48

Accepted Solution

by:
Mikal613 earned 150 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

824 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