473,668 Members | 2,583 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ActiveX server components

I have written an ActiveX component for a WEB app. that is invoked by an ASP
page. Since multiple instances of this page will be requested, are there any
special coding practises that I should be aware of?

I ask this because it 'crashes' (CPU goes to 100%) after 'a few' hours
runtime. Are separate instances of the control invoked with each new page
request?

Many thanks.
Jul 22 '05 #1
1 1588
"Andrew Chalk" <ac****@XXXmagn acartasoftware. com> wrote in message
news:uy******** ******@TK2MSFTN GP14.phx.gbl...
I have written an ActiveX component for a WEB app. that is invoked by an
ASP
page. Since multiple instances of this page will be requested, are there
any
special coding practises that I should be aware of?

I ask this because it 'crashes' (CPU goes to 100%) after 'a few' hours
runtime. Are separate instances of the control invoked with each new page
request?
Hi,

There are several ActiveX types in VB6.
ActiveX EXE
ActiveX DLL
ActiveX Control

You should -only- use an ActiveX DLL in ASP projects and compile it using
'unattended execution' and 'retained in memory'.

Reasons for not working (scaling/hanging) other types of ActiveX's are
related to Threading models that I won't go into (see google about this)...

--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm

Many thanks.


Jul 22 '05 #2

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

Similar topics

2
1447
by: Mike | last post by:
I'm writing an application in VB.NET that uses various 3rd party ActiveX components. My problem is that if I register these ActiveX components (using COMSelfRegister) during the install and later uninstall my application, the ActiveX components are removed - breaking any other applications that still need them. If I don't register the ActiveX components, and they are not already installed on the computer, my application will not run. ...
2
5343
by: Berata | last post by:
Hello all, in VB6 we were able to create ActiveX-DLL's (In Process Components) and ActiveX-Exe's (Out of Process Components). We habe build up an application that exists of an main module (Standard Exe) that calls and controls other modules (ActiveX-Exe). We decided for ActiveX-Exe because they run in different processes. That means if one module shuts down, the others are still alive. Second reasons
10
3884
by: Andrew Chalk | last post by:
I have an ASP 3.0 page that contains an ActiveX control that I wrote in VC++ v6.0. Under Visual Interdev I can debug the ASP code just fine. However, when I get to an ASP line that references my ActiveX control the debugger does not go inside my C++ code allowing me to debug the ActiveX control. If I load the ActiveX control project from VC++ with Internet Explorer as the debug executable I have the same problem. Break points in the ActiveX...
0
1981
by: conaito VoIP | last post by:
conaito VoIP ActiveX library for developers of VoIP audio applications, such as voice chat, conference, VoIP, providing real-time low latency multi-client audio streaming over UDP/IP networks. Includes efficient components for sound recording, playback, encoding, decoding, mixing, resampling, reading, and writing wave files, mixer volume controls access. Provides UDP/IP server and client components for peer-to-peer, multi-user, and...
3
2263
by: Ricky | last post by:
Hi Can anyone explain what are the relationship between COM , ActiveX, DLL ? I really get confused about the terms... Ricky
0
1362
by: zevikw | last post by:
I am using an ActiveX control in a .NET application which I put on a form. I have another .NET control on that form that handles the Validating event. The method that handles the Validating event, shows a message box and sets e.Cancel = True. When I click any other control in the form, the message box shows and the focus returns to the control that handled the Validating event. The problem happens when I click on the ActiveX control. The...
3
2511
by: Jeffery Franzen | last post by:
Anyone know where the documentation is regarding Activex controls in asp web forms? I'm using VS.NET 2002 enterprise and am trying to use Activex controls in vb.net web form app. I do the add control to pallete and then add a reference. I get the interop dll added to bin folder. I did this with the MediaPlayer activex control as a simple case to to try and get it working. I set the control to autostart via the html parameter tag for...
1
1622
by: efriend | last post by:
Does the inability in .net to add activex components like in VB6 signal Microsoft's plans to deprecate com and activex?
8
6799
by: Martijn Boven | last post by:
I created a activex control in c# (vs 2005) -------------------------------------------- public partial class ActiveTest : UserControl { public ActiveTest()
3
2782
by: =?Utf-8?B?R3JlZyBN?= | last post by:
Hello, I'm running an asp.net, intranet web application using .net framework 1.1 on IIS5.1 / 6.0. Through the web application, I would like to press a button on the web page, have another window (not web-based or part of current application) brought to the front and focused (findwindow api) and have the button scrape the contents of the focused window so the contents can be parsed and entered into the web application. Ideally, I would...
0
8462
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8381
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8583
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8656
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7401
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6209
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4380
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2791
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 we have to send another system
2
1786
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.