.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old March 8th, 2004, 05:43 AM
nageshtechtips nageshtechtips is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 8 nageshtechtips User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Post How to utilise ACTIVEX control in ASP.Net

Hi all,

i have developed an activex ctrol using vb6.0 by incorporating some properties to that control. i need to use this activex control in asp.net application. i am able to insert that control and run the project and every thing is good.
First, when i am creating an object to the control class with new key word it is not allowing me to create an object because that class is "inaccessible due to its protection level".
Secondly, when i am creating an object with out new keyword object is created and all of the properties what i placed in the control are visible in intellisense. but when i am trying to use those properties with that object, it gives a run time error saying "object reference not set to an instance of an object".

how can i overcome these problems. is i am doing any thing wrong. please guide me in the proper way to use the activex control.

any usefull code or links are appreciatable.

Adv ThanX

Rgds,
Nagesh

Reply With Quote
  #2  
Old January 3rd, 2005, 06:11 AM
Pradosh Anandan Pradosh Anandan is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 1 Pradosh Anandan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Have u found the solution?

hi

I am also facing the same problem as u have mentioned. I want to use Component One VSFlexgrid into asp.net. I have added its reference to the code ,but it is shown as an object in the toolbox
1) First let me know how to use this object?

Thanks
Pradosh



Quote:
Originally Posted by nageshtechtips
Hi all,

i have developed an activex ctrol using vb6.0 by incorporating some properties to that control. i need to use this activex control in asp.net application. i am able to insert that control and run the project and every thing is good.
First, when i am creating an object to the control class with new key word it is not allowing me to create an object because that class is "inaccessible due to its protection level".
Secondly, when i am creating an object with out new keyword object is created and all of the properties what i placed in the control are visible in intellisense. but when i am trying to use those properties with that object, it gives a run time error saying "object reference not set to an instance of an object".

how can i overcome these problems. is i am doing any thing wrong. please guide me in the proper way to use the activex control.

any usefull code or links are appreciatable.

Adv ThanX

Rgds,
Nagesh

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > How to utilise ACTIVEX control in ASP.Net


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT