473,507 Members | 5,257 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

vb6 active-x dlls in asp.net

hi ng,

i've declared some com-objects from vb6 in my asp.net project in the
global.asax file.
(with text editor because vs.net only opens the code behind file...)

like

<object runat="server" scope="session" id="goARINI"
progid="ARINIManagerLib.ARINIManager" />
but when i Want to use it in visual studio it says name "goARINI" was not
declared.
is it normal behaviour or are there better ways to use vb6 activex dlls in
asp.net?

I need these objects global for the session.
thx, MP
Nov 19 '05 #1
1 1248
the asax file generates a class that inherits from the code behind. so the
code behind will have no knowledge of it. aspx pages get around this by
declaring the server controls in the codebehind, and inheriting them.

you should have serveral options, create the objects in the codebehind, and
place them in the application object. create a module with static methods to
retieve the objects. create static mehods in the application object.

note: because vb6 object are apartment model, you must use the aspcompat
attribute on every page that references them (there is a performance cost to
this). also because aspcompat is not supported by webservices, you will need
special code to use a vb6 component in a webservice.

-- bruce (sqlwork.com)
"Markus" <prediger @itb-web.de> wrote in message
news:uV**************@TK2MSFTNGP09.phx.gbl...
hi ng,

i've declared some com-objects from vb6 in my asp.net project in the
global.asax file.
(with text editor because vs.net only opens the code behind file...)

like

<object runat="server" scope="session" id="goARINI"
progid="ARINIManagerLib.ARINIManager" />
but when i Want to use it in visual studio it says name "goARINI" was not
declared.
is it normal behaviour or are there better ways to use vb6 activex dlls in
asp.net?

I need these objects global for the session.
thx, MP

Nov 19 '05 #2

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

Similar topics

0
1174
by: Philippe Poulard | last post by:
People that have a knowledge of XQuery, XSLT, Ant, JSP/PHP/ASP, Cocoon, XMLBeans, taglibs and many others should recognize any of them in "Active Tags". " Active Tags is a set of specifications...
4
4489
by: Stephen Poley | last post by:
The issue of the focus pseudo-class came up a few weeks ago, and I finally got around to trying it out (better late than never ...) The recommended order given for the pseudo-classes is link,...
3
7726
by: Amit | last post by:
Hi when I try to run LIST ACTIVE DATABASES AT DBPARTITIONNUM <partnum> or LIST ACTIVE DATABASES GLOBAL, I always get an error message. Does anyone know why? I'm on v8 fp 5 output : db2 => list...
3
2222
by: Kevin | last post by:
Is it possible to develop an Active Document Full Server or a Container application using C#? Thanks, Kevin.
8
8226
by: salad | last post by:
I was wondering how you handle active/inactive elements in a combo box. Let's say you have a combo box to select an employee. Joe Blow has been selected for many record however Joe has left the...
0
1216
by: fblake | last post by:
FOR IMMEDIATE RELEASE Active Up expands ever popular product line Active Web.Controls 2007 V1, Active Cells V2 and Active AutoSuggest V1.0 Belgium (February 2007): Active Up today released...
0
1512
by: fblake | last post by:
Belgium (April 2007): Active Up today released the latest version of their .NET email component suite, ActiveUp.MailSystem. ActiveUp.MailSystem is the (r)evolution of the popular ActiveMail...
5
1909
by: NeBlackCat (lists) | last post by:
Hello everybody - my first post! And it may be the most monumentally stupid question ever asked, but I just can't see an answer after several hours experimenting, searching and reading. It's...
0
1347
by: fblake | last post by:
Belgium (June 2007): Active Up today released the latest version of their RTF and HTML converter control for .NET, Active RTF, ActiveUp.RTF V3 ActiveUp.RTF enables any developer to convert...
0
1525
by: fblake | last post by:
Brussels, Belgium and Sunnyvale, Calif., – July 2007 – Active Up today announced today that it has entered into an agreement with Commtouch® (NASDAQ:CTCH) to license Anti-Spam and...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7029
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7481
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5619
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1537
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
411
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.