Activex Warning

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.

View Replies


ADVERTISEMENT

Warning Msg

i have a form, with a large test area, and a submit button linked to an access databse,
i want to pu an if

if the text is empty dont submit msg a warning
else submit
i tried
<% if rquest.form("comment") = "" then
response.write ("fill in comment")
end if %>

didn t work
when i load my page the msg will appear because it is empty

View Replies View Related

Session End Timeout Warning

Is there a way to see if the session is going to timeout and then warn the user or display a page that it timed out.

View Replies View Related

Close Window Without Warning

I want to close the window without the warning "internet explorer is trying to close..." being displayed. I want to do this with vbscript. I found out that in javascript you can do it by including window.opener='x' followed by the window.close statement.My code is:
Code:

Response.Write "<script type=""text/vbscript"">"
Response.Write "MsgBox ""Hi. see you again"""
Response.Write vbcrlf
Response.Write "window.close"
Response.Write "</script>"

is thr anyway i can get this done in this code?

View Replies View Related

Warning: Page Has Expired

Regarding the Internet Explorer message below:

"Warning: Page has Expired The page you requested was created using
information you submitted in a form. This page is no longer available.

As a security precaution, Internet Explorer does not automatically
resubmit your information for you.

To resubmit your information and view this Web page, click the Refresh
button. "

I'm developing an e-commerce site from scratch.

I've noticed on other e-commerce websites that use other development
tools such as php or probably "websphere" (java) that when clicking
the back button this message appears during a checkout process. This
is good because it reduces customer error in many ways.

I'm using ASP and response.redirect mostly. But, I've noticed that
even setting a page timeout to zero won't stop the caching of the
page. My customer, who just submitted a form, can just click the back
button and the cached page just comes up.

How do I create the error above with ASP?

View Replies View Related

Warning: Page Has Expired...

How do you get a web app to not show the 'page has expired...' error and
refresh and requery when you hit the back button after submitting a form I
just want the old data to still be displayed in the form.

I checked knowledge base for this and I do not have "Do not save encrypted
pages to disk" checked and am running IE
6.0.2900.2180.xpsp_sp2_rtm.040803-2158.

View Replies View Related

Avoid Warning Message

I am writing a web app using asp.net 1.1 and C#. This web app is launched in another win32 application and this app needs to pass information to my web app. But this win32 application doesn't support long string(Maximum 255)

I hv to use an intermedia plain file and in my web app,usingScripting.FileSystemObject to open the file and read the information in. Each time when I launch the web page, I got a warning message saying "AnActiveX control on this page might be unsafe to interact with other parts of the page. Do you want to allow this interaction?" Users need to click Yes to proceed.

All applications run in Intranet environment within a corporate network. My question are "Can I avoid this error message?" and "Can I give permission to my particular web app to run Scripting.FileSystemObject?"

View Replies View Related

Avoiding IE Warning Messages

I asp.net pages that run on an intranet IIS server. Some op the pages use
XLM DOM doc.Load(sPath) to open and parse a XML file. Every time the
doc.Load(sPath) executes in IE6 a warning message comes up
"This page is accessing information that is not under it's control. . . "

How can I avoid this message. It is a great anoyance to the users. Do I
need to create some time of certificate to pass...

View Replies View Related

Reset Session.timeout After Warning

Do you know how to reset session.timeout after user click to extend the session timeout?
For example, default session.timeout is 20 mins and 2 mins before will ask whether extend working on the site or logout.

View Replies View Related

Session End Warning On Refresh / Reload

when the senssion ends a message box pops up and alerts the customer that it has ended, but I would only know how to do it after they reload the page or soemthing to check if the session ended. Anyone know how to make a msgbox pop up as soon as the session ends? Also in IIS, is there a place where you can set the sesssion length?

View Replies View Related

Warning BC40056: Namespace Or Type Specified In The Imports 'MySql.Data.MySqlClient'

Currently i working on a project using ASP.net and mysql. these are the classes i imported:

<%import Namespace="System.Data" %>
<%import Namespace="MySql.Data.MySqlClient"%>
Sub Page_Load(sender As Object, e As EventArgs)

Dim myConnection As MySqlConnection
Dim myDataAdapter As MySqlDataAdapter
Dim myDataSet As DataSet

Dim strSQL As String
Dim iRecordCount As Integer

myConnection = New MySqlConnection("server=myserver; user id=XXX; password=XXXX; database=XXXX; pooling=false;")

when i try to test it out on my localhost, i got this error compiler page:

(warning BC40056: Namespace or type specified in the Imports 'MySql.Data.MySqlClient' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

or

Dim myConnection is not defined. ....

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

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

How To Use ActiveX For Client PC Using ASP

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:

View Replies View Related

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 Scripting

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

Debugging Activex Exe

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

ActiveX Component

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

View Replies View Related

ActiveX And Javascript

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?

View Replies View Related

ActiveX Component IIS

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 Related

ActiveX On A Web Page

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

Problem Using ActiveX In ASP

In 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:

View Replies View Related

ActiveX Component

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?

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

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







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