473,378 Members | 1,429 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,378 software developers and data experts.

Error in creating instance of class, declared in .vb(dll) file

I am using webmatrix tool for developing .aspx files. I have developed one aspx file named test.aspx and one .vb file named test.vb. In my .vb file I have one public class named test and in that class I have one function named testfun which returns string. When I compile my .vb file using command line compiler, it creates a .dll file with the same name of .vb file. I kept this .dll file in bin directory. Now in my test.aspx file I imports this test.dll and trying to create an object of class of .vb file, as followin

dim objtest as new test

Here test is a public class in test.vb file. At above line in my .aspx file I am getting following error
BC30002: Type 'test' is not defined

So anybody have any idea what to do in this

Plz guide me

Regards
Shail

Nov 18 '05 #1
0 941

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

Similar topics

1
by: andthen | last post by:
If I have a Class object, serialized or somehow stored, is there any way I can use it to create a .class file?
1
by: ray | last post by:
Hi folks, I have developed an MDE file in Access, and as part of it I have also had to create a fast scheduling calendar function, as a DLL, in VB. At the moment the DLL gets installed and...
0
by: kan | last post by:
I am sorry,I have poor english.. Two Class file is located below one namespace.. it is no error.. namespace Convert (namespace name) WinForm (first class name) ColumnSorter (second class...
2
by: Nak | last post by:
Hi there, I am attempting to make a single instance DLL in C++. This means that I only want 1 copy to be loaded at any time and the DLL's data is shared throughout processes. For example, I...
3
by: Chris | last post by:
I'm trying to create a dll (vb) that I can add to my ASP.NET project, thus encapsulating and protecting (from viewing) the code (class). In VS 6.0 this was easy, create a project as a dll and write...
2
by: Val3 | last post by:
Hi all. I need to build dll(s) and windows services using VB .NET 2005 Express. When I make File/New project the windows contain only Windows application, Windows control library, Console...
8
by: Brett Romero | last post by:
I have this situation: myEXE <needs< DerivedClass <which needs< BaseClass Meaning, myEXE is using a type defined in DerivedClass, which inherits from BaseClass. I include a reference to...
0
by: richard | last post by:
OK, Im finished pulling my hair out and now I need help. I have created a VB class file for my custom paging, in it I create a table with 2 rows, in the rows I have linkbuttons for first page,...
17
by: Blaine | last post by:
I've created the following dll in vb 2008. ___________________________________________________________ Public Interface IDemo Sub doSomething() End Interface Public Class implementIDemo...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...

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.