If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Problem with objects..

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-21-04, 06:27
pln_verma pln_verma is offline
Registered User
 
Join Date: Mar 2004
Location: Malaysia
Posts: 17
Smile Problem with objects..

Dim mo_Promotions As UserInterfaceNPM.clsPromotions
Dim mo_IChildInterface As UserInterfaceNPM.IChildInterface

Set mo_Promotions = New UserInterfaceNPM.clsPromotions

Set mo_IChildInterface = mo_Promotions



when i do like this i am getting an error ...

"274221517 Type Mismatch"

i am not understanding this...


any help would be helpfull.... urgent pls....
__________________
--------------------
P.L.N.Prasad varma
Reply With Quote
  #2 (permalink)  
Old 05-21-04, 11:37
gyuan gyuan is offline
Registered User
 
Join Date: Dec 2003
Posts: 454
I think that you are using Visual Basic, not ASP. This is an ASP forum.
Reply With Quote
  #3 (permalink)  
Old 05-21-04, 11:39
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
There's no "AS" in ASP

Dim mo_Promotions
Dim mo_iChildInterface

I don't know what UserInterfaceNPM is, but if it's a COM object, you need to use Server.CreateObject()
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On