473,386 Members | 1,741 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Calling an object from an object

I have a project with 2 DLLs, one of which is supposed to
call the other, but I can't seem to get it to work. I am
doing the following:

1) The 2 DLL projects are set up as VB class projects and
their DLLs are compiled (build command).
2) The 2nd DLL is referenced from the first one.
3) The first DLL has the following line:
"Public oDB As New DBConnection.SQLConnect"
to initialize it and the autofill feature for the object
works in the code so I am sure the object is referenced
properly.

I combined the 2 DLLs to see if there was something I was
doing wrong with the commands or types but the code works
fine as long as I am not calling another DLL from a DLL.
I feel I am missing something obvious but I don't see it.
Can anyone tell me what I am missing?

Schu
Jul 21 '05 #1
1 1154
Never mind... 'inheritance' solved my problem. :)
-----Original Message-----
I have a project with 2 DLLs, one of which is supposed to
call the other, but I can't seem to get it to work. I am
doing the following:

1) The 2 DLL projects are set up as VB class projects andtheir DLLs are compiled (build command).
2) The 2nd DLL is referenced from the first one.
3) The first DLL has the following line:
"Public oDB As New DBConnection.SQLConnect"
to initialize it and the autofill feature for the object
works in the code so I am sure the object is referenced
properly.

I combined the 2 DLLs to see if there was something I was
doing wrong with the commands or types but the code works
fine as long as I am not calling another DLL from a DLL.
I feel I am missing something obvious but I don't see it.Can anyone tell me what I am missing?

Schu
.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Chris | last post by:
Hi I have a scenario where I've created another AppDomain to dynamically load a DLL(s) into. In this newly loaded DLL I want to call a static method on a class. The problem arise is that I have...
5
by: Chris | last post by:
Hi I have a scenario where I've created another AppDomain to dynamically load a DLL(s) into. In this newly loaded DLL I want to call a static method on a class. The problem arise is that I have...
1
by: Lakshmi | last post by:
Hi All, I am having performance issues with the .NET client calling the Java Webservice running on axis. Have detailed the problem below. Please help. I wrote a webservice in Java. Lets name...
5
by: Chris | last post by:
Hi I have a scenario where I've created another AppDomain to dynamically load a DLL(s) into. In this newly loaded DLL I want to call a static method on a class. The problem arise is that I have...
15
by: =?Utf-8?B?VG9tIENvcmNvcmFu?= | last post by:
I've been led to believe by several articles, particularly Eric Gunnerson's C# Calling Code Dynamically, that calling a method dynamically through Reflection was much slower than through a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.