Problems Calling ActiveX Control Inside VB OCX From ASP

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:

View Replies


ADVERTISEMENT

Use Activex Control

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 Related

Activex Control Over The Network

I have one Activex Control which i want to use over the network. In that i am having one module and one user control. For this i prepared the ocx file and made a package. But when i am trying to deploy that file it gives me error no. 80042114

how to use the activex control over the network.

View Replies View Related

ActiveX Control Problem

I have a custom ActiveX Control that is working fine with ASP in IIS
5.1 on WinXP.
But the same ASP page is failing in Server.CreateObject of that ActiveX
Control in IIS 6.0 on Win Server 2003. Do i need to change any
configuration on my IIS 6.0

View Replies View Related

ActiveX Control Is Not Downloaded

I created a VB6 ActiveX control, created the CAB file using "Package &
Deployment Wizard", sign the CAB file with Verisign, and copy the CAB file
to a website.

I am able to download older CAB files, but recent CAB file that I created I
can not download them. It prompts me to download the control, and I said yes
to download, but it did not get downloaded. I un-register MSVBVM60.DLL and
rename the file, but when downloading the CAB file, it did not prompt me to
download the VBRUN60.CAB. What can I check to see whey the control did not
get downloaded ?

View Replies View Related

Detect The ActiveX Control Is Able To Run

Is there anyway to detect the ActiveX control is able to run on the browser or not. After I installed the ActiveX control to my system, user sometimes switch
the secruity setting to "not able to run ActiveX control". So, the ActiveX
control just show on the broswer, but not able to run it.

I want to find a way to detect it. And prompt the user a message telling
that the ActiveX control is not able to run.

View Replies View Related

ActiveX Control Unsafe

I have an ActiveX control in my web page that I tried to access using intranet.i have implemented IObjectSafety in the ActiveX control, and when I created the CAB file using VB Pakage and Deployment Wizard, under "Safety Settings" I selected "Yes" for "Safe for Scripting" and "Yes" for "Safe for Initialization". I also have signed the CAB file.

In IE, the option 'Script ActiveX controls marked Safe for Scripting' is already set to 'Enable' (I use Security setting "Medium-Low"). I get a warning message 'An ActiveX control might be unsafe to interact with other parts of the page. Do you want to allow this interaction? Why do I still get the prompt when I go to the web page ?

View Replies View Related

How To Embed An Vb Activex Control In ASP Page

Could any one tell me hoe to embed a VB ActiveX control in ASP

View Replies View Related

ActiveX Control Embed Tutorial?

I need to write an ActiveX control, in VB6, that will be embedded in an IE-6 browser. I'm looking for a good tutorial and links to documentation, to make this as painless as possible.

View Replies View Related

Check ActiveX Control Is Installed (and Working)?

How do I tell if an ActiveX control is installed (and working)?

View Replies View Related

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 Replies View Related

Calling An Activex Dll From An Asp Page

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.

View Replies View Related

Calling Activex Dll Files In Asp

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 Related

Passing Parameters To Or Invoking A Method Of An Activex Control In Asp

I wrote a simple client/server chat program and the client runs as an
activex control within an asp page. I have the users logging into
the page using widows authentication and I'm using
Request.ServerVariables("AUTH_USER") to get the users name. I'd like
to pass this name to the activex chat client thru the page but I'm
having some difficulty. I tried passing it as a parameter to the
"Tag" property within the <OBJECT> element like this:

<%
username=Request.ServerVariables("AUTH_USER")

username=right(username,len(username)-instr(1,username,""))
' remove the domain or machine name from the username

Response.Write "<PARAM NAME=" & chr(34) & "Tag" & chr(34) & " VALUE="
& chr(34) & username & chr(34) & ">"
%>

When I do this the ActiveX control doesn't appear on the page. Is
there a better way to do this? I also tried creating a public sub in
the activex control and calling it as a method from within the page
but I can't seem to get the syntax right. I keep getting "Object
Required" errors.

View Replies View Related

Calling Javascript From Inside Asp Script

I'm trying to call a javascript function for a popup based on whether a name matches any entry in a database. If there is no match, it should do the popup function. I'm not sure how to call the script from within <% %> ,though. The following is the basic idea I'm going for: Code:

View Replies View Related

An ActiveX Control On This Page Might Be Unsafe To Interact With Other Parts Of The Page ...

I have an ActiveX control in my ASP page that has not been signed yet, so currently just for testing I set the Security for Intranet to "Low". When I run the ASP page on my machine (the IIS is in my machine), I have no problem, except the page prompted me with "An ActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction?"

But, when I run the ASP page on another machine (even though the other machine is also a development machine that already has the ActiveX control and I set the Security for Intranet to "Low"), it did not prompt me the above message, and I got an error when accesing any method of the AX control (e.g Object doesn't support this property or method 'myAXControl.method').

Is this because I have to create a CAB file and mark the AX control as safe for scripting ?To create a CAB file for this AX control, do I need to create my own VB AX
Control project that contains this control and then create a cab file for this VB project ?

View Replies View Related

Form Control; Want A Little More Control Of The Name Attribute

I would like to be able to control an asp text box control's name attribute.

I know i can manually type the whole string
<input type="text" name="username" value="" />

but then i can't use the validation control on the inputs. [free javascript ]

PHP Code:

View Replies View Related

VB6 Activex .DLL

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.

View Replies View Related

ActiveX Or COM

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 Related

What Is ActiveX?

Can 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 Related

ActiveX DLL

I 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?

View Replies View Related

Or ActiveX?

what is faster, ASP Code or compiled ActiveX DLL with same functions(queryng data from ms sql server).

View Replies View Related

VBA Code Inside ASP

I have a front end with all the code and a backend with some tables. Want to convert this into website database. Most probably convert the frontend into ASP. Is this the only way? Can one use the VBA code inside ASP with translating the VBA into ASP?

View Replies View Related

Do Inside An If-statement?

I need to do a loop with some criterias that depends on an earlier database
query. I tried to do it this way, but it seems not to accept that the do
is inside the if:

if not objrs.EOF then
Do until updatearray(0) < objrs("updated")
else
Do While not fso.AtEndOfStream
end if
Blabla my repeating script here...
Loop

I'm getting this error:

Microsoft VBScript compilation error '800a03fb'
Expected 'Loop'
/x.asp, line 46
else
^

It seems somehow that the do is "stronger" than the if statement, as it didn't
even help doing it this way: Code:

View Replies View Related

Using ASP Inside An ASP.NET Page

I've inherited webmaster duties for a website done in ASP.NET. After much trial and error I've figured out the architecture of the site, and have a template for the area of the page that contains the content. I need to pop in a dropdown menu, nothing fancy, like the one on this Post New Thread page for "Category".

Does anyone know where I can get the syntax for one? Or does someone know ASP.NET and can write out a simple dropdown menu code for me?

View Replies View Related

100% Height Of A Div Inside A TD

I've put a div red with some text inside a TD, but its height is less than 100% of TD height as you can see.

I've defined the following styles:

div.test { background-color:red; height:100%; width: 100%; }
table.test { border: 1px solid #CCCCCC; background-color:yellow; }
td.test { border: 1px solid #CCCCCC; }

does anyone know a solution ? Code:

View Replies View Related

HTML Can Be Inside ASP, Can PHP

I see that you can have HTML code inside an asp file.
Can you have php code inside an asp file

View Replies View Related

ASP.Net Inside ASP Code

I need to make a search to search our database that can be put on different customers websites. So I was planning on making the search a reusable asp.net control. But a lot of our customers websites are written is ASP. So Is it possible to call an asp.net control inside an asp page?

View Replies View Related

For Loop Inside Do While

is it possible to do a for loop inside of a Do while not.

View Replies View Related

ActiveX Components

which ActiveX Component allows IIS to provide e-mail services

View Replies View Related

ActiveX DLL Component

I 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
%>

View Replies View Related

Loading An ActiveX DLL

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?

View Replies View Related

Activex Lifetime?

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)

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved