Calling ActiveX Objects From ASP Not ASP.NET
How do you call ActiveX objects written in C# (.NET iow) from ASP not ASP.NET? Windows CE's webserver does not support ASP.NET only regular ASP.
View RepliesHow do you call ActiveX objects written in C# (.NET iow) from ASP not ASP.NET? Windows CE's webserver does not support ASP.NET only regular ASP.
View RepliesWhen coding ASP pages in JScript, should one use: Code:
var rs = Server.CreateObject("ADODB.RecordSet")
or
Code:
var rs = new ActiveXObject("ADODB.RecordSet")
Is there any benefit in using one method over the other?
i was wondering if i call an activex dll that resides within the same domain, but on a different server from IIS.
there is no problem if its registered on local machine, server.createobject(), i read about MTS and was thinking it could be the solution, but it has a few restrictions or should i say warnings about using components developed without regard to MTS and if the component uses other components...and so on, frankly, im scared to use it.
We have created an ActiveX dll file in VisualBasic .This file is for extracting the the embedded OLE objects through the Access databvase stored as Loing binary formats.The files include .doc files,.tiff files ,.xls etc.We need a sample code call this activex dll files and the also call the functions ,Procedures in the dll file in the asp Can someone please provide me with the code for the activex dll file.
View Replies View RelatedRecently, I upgraded to MS Office 2003 SP1. I am running on Windows XP
SP2, IE6 SP2. When I tried to open my coporate website which runs on
IIS Server, one of the ASP page gave a run time error.
Error: Object doesn't support this property or method:
'ProjectionForm.ssWorksheet'.
Basically, this ASP page will call out an Excel Spreadsheet in the
browser. It works perfectly fine in other PC with the same
configuration.
Question: It is because my Office 2003 is not installed properly or
there is some Excel objects that I forgot to install?
I seem to have run into two documented bugs whose workarounds are
incompatible. What I have is an OCX written in VB 6 that has a few classes
in it. Many of the methods of the OCX are used by ASP, and so far have
worked fine.
I recently added a COM object reference to the DLL which consists of an SMTP
client dll that is wrapped up in dual interface activeX control (written in
VC++ 6).
When I try to create an instance of this new control, the compiler
complains.
Dim smtpClient As myClass.myClient
Set smtpClient = New SEACOMSMTPLib.SeaSMTPObj
When I try to compile this, I get an error on the first line of code that
accesses a method of the object: Code:
Does any one know a way how to use a visual basic 6 written activex .DLL
without registering it with classic .ASP?Reason why my hosting is charging me for registering .DLL.
how can I create a simple non-UI dll or component which will be used by MS Access and .ASP apps which I can build with Visual C++ .net? An example or template which would allow me to paste in C code without learning all the C++ details would be perfect.
View Replies View RelatedCan somebody explain me wht this ActiveX is all about. I am not a ASP coder, actually i just need to create something however i needs to be ActiveX i have been googling around trying to figure out how to implement this AcitveX in this ASP(not aspx) page. The page is done. kinda just missing the ActiveX.
View Replies View RelatedI created a ActiveX DLL project that will be with a asp page. I compile the project using Project compatibility instead of Binary Compatibility and import the DLL into Component Services.
Is there any problem that might occur using Project compatibility instead of Binary Compatibility with IIS? Also, what is the difference with the two type of compatibilities?
what is faster, ASP Code or compiled ActiveX DLL with same functions(queryng data from ms sql server).
View Replies View RelatedI was working with filesystemobject in asp.
When i give filesysstemobject.copyfile the system will be gogin searching indefelty and IIS will get crash..
Why this pblm occurs..
I would like to know if someone has already exchange ASP objects by SOAP with the SOAP Toolkit 3.0 ? Is-it possible ?Because, I have to connect, with ASP, to a Web Service and send to him array of objects.
View Replies View RelatedI'm so glad i finally found a web development forum! It's been a while and it's not easy to find. Until someone recommended this site to me.
Enough about that... I really want to learn about COM objects and don't really know where to go to find out about such things.
If someone could direct me to the right place, i'd be extremely grateful.
I've already learned ASP and PHP (though i have to admit that i am not an expert and I don't think i'll ever be one), but i aim to be a "jack of all trades".
anyone have better information on IIS 5.0 memory behaviour on setting objects to nothing?
Connections and recordsets of course should be set to nothing, but should for example XMLNode object be set to nothing?
I have a object which I declare as a application object "gObj".
I need to use "gObj" with all sessions. I need "gObj" to have access based on the user's id. Is this possible without creating multiple gObj's?
Code would be something like:
Application_OnStart
set gobj = Server.Create( "someDll" )
gobj.uname = "somename"
gobj.port = 1234
gobj.pwd = "pwd"
which ActiveX Component allows IIS to provide e-mail services
View Replies View RelatedI created a ActiveX DLL component to create a Excel file under my home directory through VB6.0. Then I registered it through "regsvr32" command and a messagebox came out to say that the register was successful. But when I tried to run it in my ASP page under IIS ver5.01 and win XP Pro, it gave me this error:
Error Type:
Server object, ASP 0177 (0x800401F3)
Invalid class string
/tg.asp, line 2
Here is my full code:
<%
set myExcel=server.createobject("test.test1")
myExcel.CreateExcel
set myExcel=nothing
%>
Why would the following code execute in VB6 but hang indefinately when
exectuted in an ASP 3.0 page?
Set VLReceive = CreateObject("VLCTI.VLReceive")
This line is invoked in the following context:
<%
Dim VLReceive
Set VLReceive = CreateObject("VLCTI.VLReceive")
Set VLReceive = Nothing
%>
Is it the setup of the virtual directory or something?
I have created a small activex dll to do a background task on my web server. I
fire it off with a set myjob = server.createobject(myactivex) and it runs.
I do not do a set myjob = nothing and so it seems to keep working even after
the initiating session is closed with session.abandon.
Question... what will be the lifetime of this object and is there a way to tell
if it is dead and needs to be reset... after the session is abandoned I no
longer have a reference to it (myjob)
I have created one ActiveX DLL in VB that has one public function
("GetClientCPUID") which will return a string of the CPUID. I want to use
this to get the clients CPUID and retuern to webserver. I am new to using
activeX in client side.
In Asp how can I send this ActiveX to client browser? (I will instruct my
users to allow this activeX). Is there a way I will execute this activeX in
clients PC and get the return value and return to the server for my
processing? Please suggest the ways that I can do this.
Also suggest what are the situations that I should know before I proceed. I
think there will might a issue when I upgrade the activeX and the client
those are using the current one may face problem so I think I will need a
way to uninstall the register the new one. Code:
I want to write an activex control. This actiovex comntrol will be a simple drop down and when i select a value from this drop down the value in another drop down will be fill up based on this value with page refreshing.I have no idea how to develop such type of activex control.
View Replies View RelatedDoes anyone know where I can find any good documentation using ActiveX scripting with asp and vbscript? How is ActiveX scripting different than using ADO (ActiveX Data Objects)?
View Replies View RelatedI have asp page which is using activex exe component ...how can I debug from asp page to the component...I am using visual basic to create my activex component.
View Replies View RelatedWas running my ASP app no problem on a Windows XP Pro SP2 machine with IIS, dragged a copy my app folder and put it on another Windows XP Pro SP2 machine with IIS and I get the below problem:
Error Type:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'Scripting.FileSystemObject'
/asp/forms.asp, line 497
I can run old copies of this app folder no problems so what has happened since I dragged a copy from one machine to another?
I can call a method of an ActiveX control via javascript but I also need to go the other way and call a javascript (or vbscript) function from within the ActiveX control.
I'm thinking the control must issue an event and javascript must listen for that event? Am I on the right track? Where can I learn about how to do it?
I get the following warning when i receive a mail send from Asp:
""Your current settings prohibit running ActiveX contros on this page. As a result, the page may not display correctly.""
i want to avoid getting this message what can i do for it.
I´m using IIS 5 on Windows XP. When trying to send a mail using 'CDONTS.NewMail', I get this error message : ActiveX component can't create object: 'CDONTS.NewMail' .
View Replies View RelatedIs it possible to have one instance of an ActiveX control for all pages in a web application (written using ASP)? There are about 20 pages in that application and I would like to have one instance of the control to be shared among all pages without destroying and creating the one while browsing through pages.
View Replies View RelatedIn the ASP code given below, ActiveXUserChartCtrl.UserChartCtrl is an ActiveX control (.ocx) created in VB 6.0. But, upon using that control to display in the following ASP page, I am getting a "type mismatch error" in the line of the method call to ShowGraph(), but all the parameters are matching. The method ShowGraph() in the ActiveX control has the following signature:
Public Function ShowGraph(ByVal numLow As Long, ByVal numHigh As Long, ByVal TodaysOpening As Integer, ByVal PDayClosing As Integer, arrData(), arrBarchart(), ByVal strEquity As String)Code:
In an ASP page, I get the above error which is Error number 429. I have 2 seperate webs.
1 web you must log on. It creates an object by getting DLL just fine. This works great.
The other web is open to the public, no login. The same web page gets the above error message.
How can I have an Public web page to create an object, which is my DLL?
I've created a simple pop-up form that
takes the required info and sends it via e-mail. Right now, I've got
the From E-mail, the To E-mail, the Subject, and the TextBody. It
works, and it's fine, but I'd like to spruce it up a little so I can
make it more personalized. Can I add other objects? I've been
searching for a general reference online that lists all my choices for
ObjCDO, but can't find anything, and any ideas of my own ("FirstName",
"Comments", etc.) have been shot down as not being supported.
I have stored a .gif and jpeg file in the database as the BLOB object.
Now I am trying to create a report which displays that gif file along with another information.
Is there a way I can display the BLOB objects on the page without having to use any crystal report tool or anything ?