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

define (old) dll in dotnet

I'm making an asp.net page with an DLL wich I used in my old asp page.
The DLL is placed in my \bin\ folder.
When running the application I recieve this error:

*****
Compiler Error Message: BC30002: Type 'Pbp.Produkt' is not defined.

Source Error:
Line 28:
Line 29:
Line 30: Dim Produkt As Pbp.Produkt
Line 31: Produkt = New Pbp.ProduktClass

****

I'm using visual web developer 2005 beta with 0 errors on my page so for me
it should wok fine.
This is on top of my Page
<%@ Page Language="VB" EnableSessionState="false" AspCompat="true" Debug
="true"%>

and using on the server:

Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET
Version:1.0.3705.288

any idea's?


Nov 18 '05 #1
2 1704
Hard to say. A DLL is NOT a DLL. There are all kinds of DLLs. What kind is
yours?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Neither a follower
nor a lender be.

"Pascal Piekar" <ppiekarPlaceATHerevoogd.com> wrote in message
news:u7*************@TK2MSFTNGP14.phx.gbl...
I'm making an asp.net page with an DLL wich I used in my old asp page.
The DLL is placed in my \bin\ folder.
When running the application I recieve this error:

*****
Compiler Error Message: BC30002: Type 'Pbp.Produkt' is not defined.

Source Error:
Line 28:
Line 29:
Line 30: Dim Produkt As Pbp.Produkt
Line 31: Produkt = New Pbp.ProduktClass

****

I'm using visual web developer 2005 beta with 0 errors on my page so for me it should wok fine.
This is on top of my Page
<%@ Page Language="VB" EnableSessionState="false" AspCompat="true" Debug
="true"%>

and using on the server:

Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288

any idea's?


Nov 18 '05 #2
Looks like this is a COM DLL.

You'll have to :
- place it IMO somewhere else
- register the DLL
- reference the COM DLL from your project

It will create a "wrapper" in the bin directory...

Patrice

--

"Pascal Piekar" <ppiekarPlaceATHerevoogd.com> a écrit dans le message de
news:u7*************@TK2MSFTNGP14.phx.gbl...
I'm making an asp.net page with an DLL wich I used in my old asp page.
The DLL is placed in my \bin\ folder.
When running the application I recieve this error:

*****
Compiler Error Message: BC30002: Type 'Pbp.Produkt' is not defined.

Source Error:
Line 28:
Line 29:
Line 30: Dim Produkt As Pbp.Produkt
Line 31: Produkt = New Pbp.ProduktClass

****

I'm using visual web developer 2005 beta with 0 errors on my page so for me it should wok fine.
This is on top of my Page
<%@ Page Language="VB" EnableSessionState="false" AspCompat="true" Debug
="true"%>

and using on the server:

Version Information: Microsoft .NET Framework Version:1.0.3705.288; ASP.NET Version:1.0.3705.288

any idea's?


Nov 18 '05 #3

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

Similar topics

12
by: Pol Bawin | last post by:
Hi All, Did somebody already define attributes for numerical properties to define value : minima, maxima, a number of decimal, ...? This information would be useful to unify syntax Polo
5
by: Michael Dyremo | last post by:
Hello. We have a web-application built in ASP.NET using WebForms and Remoting. When selling this application we always incorporate it into the customers existing web-site. Our latest customer...
0
by: Steve Chatham | last post by:
I'm attempting to adapt an old traditional asp system into dotnet. One of the things in the old system was redirects to pages, that'd force the user to select items that'd be set to session...
2
by: Surajit Laha | last post by:
Hi, When I installed VS.NET, it installed .NET 1.0.3705. Now I have installed .NET Framework redist 1.1, but the system seems to be using the older one. How do I check/assure whcih version...
5
by: Kenneth P | last post by:
Hi, I have an old project I've been working with on an old computer, bought a new fast computer, created a new empty project and started to include all old files into the project. When I want to...
7
by: Sakharam Phapale | last post by:
Hi All, How to preserve the old font properties while changing new one? I posted same question 2 months back, but I had very small time then. eg. "Shopping for" is a text in RichTextBox and...
34
by: rodchar | last post by:
hey all, i have 2 winclient .EXEs; how do i start the 1st exe just to call the 2nd exe and let the 1st exe stop running altogether but let the 2nd exe continue running? thanks, rodchar
4
by: Joe | last post by:
Hi all... In the old Quick Basic days there used to be 3 commands that seem to have disappeared from the new visual basic. I was wondering if there are equivalent commands to the VarPtr, Peek, and...
7
by: aaragon | last post by:
Hi everyone, I have a simple question. I'm trying to make a macro in one file so I can use it in main.cpp. The idea is that I the user of my code has simple to type the macro definition to replace...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.