473,804 Members | 3,018 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP/ActiveX Error

I have set up a website and am testing ASPs. I have created
a very simple ActiveX component with two interfaces:

AboutBox() - displays About details
calcpi() - returns 3.14159

Here is my configuration (All the most up to date versions
except for Visual C++):

Windows XP (Home Edition).
Visual C++ 6.0
Apache Webserver
SUN ASPONE
Internet Explorer

When I use ATL COM Appwizard to create my ActiveX
component (DLL really), I can get the following
to work quite easily:

<%
Set x =Server.CreateO bject("AC.AcCtr l.1")

x.calcpi()
%>

However, when I use MFC ActiveX Control Wizzard to create
my ActiveX (.ocx really) component, the above does not
work. Well, the instantion of the x object appears to
work but I obtain the following error when I try to
invoke x.calcpi():

error '8000ffff'

/t.asp, line 4

Can anyone tell me what they think is happening here?

Possible problems: Internet Explorer ?
ActiveX Wizzard ?
XP Home Edition ?
SUN ASPONE ? (least likely)

Please don't ask me to use the latest Express Edition of
Visual C++ (It's an abortion).

Don't know if this is the right place for this question but no activity seems
to be going on in the ASP forum...

Thanks,
John Gabriel
Nov 17 '05 #1
1 1629
Found out these are not supported by ASP ONE. What is strange though is that
the ATL COM DLLs do work in ASP but the Activex MFC components do not.

"ActiveX DLL files are not supported. For more information, visit the Sun
ONE Active Server Pages Web site at http://www.chilisoft.c om"


"John Gabriel" wrote:
I have set up a website and am testing ASPs. I have created
a very simple ActiveX component with two interfaces:

AboutBox() - displays About details
calcpi() - returns 3.14159

Here is my configuration (All the most up to date versions
except for Visual C++):

Windows XP (Home Edition).
Visual C++ 6.0
Apache Webserver
SUN ASPONE
Internet Explorer

When I use ATL COM Appwizard to create my ActiveX
component (DLL really), I can get the following
to work quite easily:

<%
Set x =Server.CreateO bject("AC.AcCtr l.1")

x.calcpi()
%>

However, when I use MFC ActiveX Control Wizzard to create
my ActiveX (.ocx really) component, the above does not
work. Well, the instantion of the x object appears to
work but I obtain the following error when I try to
invoke x.calcpi():

error '8000ffff'

/t.asp, line 4

Can anyone tell me what they think is happening here?

Possible problems: Internet Explorer ?
ActiveX Wizzard ?
XP Home Edition ?
SUN ASPONE ? (least likely)

Please don't ask me to use the latest Express Edition of
Visual C++ (It's an abortion).

Don't know if this is the right place for this question but no activity seems
to be going on in the ASP forum...

Thanks,
John Gabriel

Nov 17 '05 #2

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

Similar topics

4
12595
by: blacst | last post by:
I am using Access 2002 with either Service Pack 1 or 3. (I have seen this problem on 4 different OSs (NT, XP Home, XP Pro, Winows 2000) across 8 different machines) I have an ActiveX Object (Microsoft Common dialog Control, version 6) that, when I attempt add or copy the control in an access application, I get the above error. When attempting to use the Microsoft Communications Control, version 6.0 ActiveX object I get the error "The...
1
8653
by: Craig | last post by:
I am having problems getting an ActiveX DLL written in VB6 to call a method in a C# class library component. My C# DLL is called CSharpProject.dll and contains a public class called CSharpClass. In this class is a single public method that returns the string "Hello from C sharp". My VB6 ActiveX DLL references the C# DLL (CSharpProject.dll) using the
1
2715
by: Steve | last post by:
I am having an issue deploying an ActiveX control. This is a .NET project in C#. The ActiveX control is written in VB6. I use the PDW (Package and Deployment Wizard) to create a .CAB for the control. The problem is that sometimes the ActiveX control installs successfully and sometimes it doesn't. We have various test machines running different operating systems. On one machine, running Windows 2000, SP4, the control installs...
0
4410
by: ann | last post by:
Hi, I am trying to add an ActiveX control on my ASP.NET web form (the language for code behind is C#). I have some client-side vbscript to handle events from the html input buttons. In the client-side script, I am calling the ActiveX control object to perform some job. The problem is: when I run the application and click on the button (which fires the event), I get a runtime error: Microsoft VBScript runtime error: Object required:...
3
6866
by: Evan Delodder | last post by:
I am trying to edit form elements (labels, text box's, etc) in Visual Studio.NET using VB.NET. Whenever I edit certain forms’ appearance whether it is through the code, or through the designer, I receive this (Invalid ActiveX State Exception) error message at runtime whenever the form is called. I am simply trying to change the size and location of some form elements whose location and size were thrown off during the upgrade from VB6.0 to...
1
5167
by: Frank | last post by:
Short Version of Question: Can anyone provide an example of how I should embed the ActiveX and license, and then use it in a function?
0
1325
by: Frank | last post by:
Short Version of Question: Can anyone provide an example of how I should embed the ActiveX and license, and then use it in a function?
6
8079
by: hufaunder | last post by:
I have an ActiveX component that I want to use in a library that I am writing. As a first test I used the ActiveX component in a windows form application. Adding the component created: Ax.dll .dll I can not call the functions in the ActiveX component. In the next step I tried to use the ActiveX component in a class library. I simply added a reference to the corresponding COM component. This this only
2
2293
by: Khan | last post by:
Hi, I'm using acrobat reader contorl in my vb.net application to display pdf files. I'm using version 8.0 of acrobat, but if i run my application on other machine which has different version of acrobat reader (let's say version 5.0) it is giving me an error. If the acrobat version is same on both machines, no error. How can i make it to run on different machines which have different versions of acrobat reader.
0
9572
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,...
0
10562
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10319
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9132
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...
0
6845
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5508
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4282
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
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.