Re: How to add a reference?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



There's a namespace declaration in the .aspx but not the .vb (this is a
downloaded example file.). Should it be in the .vb as well?

Joe

"Peter Rilling" <peter@xxxxxxxxxxxxxxxxxx> wrote in message
news:ebMSZAaNGHA.3908@xxxxxxxxxxxxxxxxxxxxxxx
Did you include the correct namespace in your code so that it can find the
class?

"Joe Befumo" <joe@xxxxxxxxxx> wrote in message
news:43f8de3a$0$26778$b9f67a60@xxxxxxxxxxxxxxxxxxxxx
I'm trying to use a third-party postback control
(http://www.obout.com/pb/postback.aspx) which appears to do just what I
need. It includes a .dll, and some example (aspx and vb) pages. I added
a reference to the .dll, and it shows up under references. I can browse
the contents in the object browser. However, when I try to compile, I
get a "Type expected" error on the declarlation line, as shown below:

Imports OboutInc.Postback

Public Class DataProcessing

Inherits Page

Protected obPost As Postback '<--error is here.

Is there something else I have to do to get the compiler to 'see' the
referenced .dll?

Thanks.



Joe



--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access





--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
.



Relevant Pages

  • Re: How to add a reference?
    ... and some example (aspx and vb) pages. ... a reference to the .dll, and it shows up under references. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to add a reference?
    ... a reference to the .dll, and it shows up under references. ... Protected obPost As Postback '<--error is here. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: general performance question
    ... then reassign another Object to the same reference in the loop, ... For a loop, the value set in the last iteration also leaks the ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.programmer)
  • Re: How to add a reference?
    ... It includes a .dll, and some example pages. ... a reference to the .dll, and it shows up under references. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: borgs unite! Demand facts, facts, facts!
    ... reference is Krooglish. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (rec.audio.opinion)