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 RepliesDoes 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 RepliesI'm at a complete loss on what is causing this error. ActiveX Can't create object:"Scripting.FileSystemObject when executing the code below. Every example I've looked at is pretty much identical except for the file names.
What I am ultimately trying to accomplish is when clicking on a link check to see if a file with today's date exists if so link to it. If not, link to a file with yesterday's date.
The script below does what it i supposed to on a remote server, but when run on my local host, it hangs endlessly. Do I need to do something on my computer to accommodate this ability to create folders?
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
folder = Server.mapPath("images/rentals") & "/" & Request("l_name")
objFSO.CreateFolder(folder)
Set objFSO = Nothing
I am trying to get a database working on my site but I am very New to ASP. what I want to do is if ther is a match in a database to automatically sent a msg to the user to say there is a match.
View Replies View RelatedI've got a freebie hosting mirror of my production personal website
(sounds kinda grandiose, doesn't it?) at http://journeys.webhostme.com/.
At the production website I was using Scripting.FileSystemObject to get
the date that the file was last modified and to read/write a counter
text file for the number of hits that the whole site had. The freebie
has a kind of half-ass*d FileSystemObject, but it has no GetFile method.
Is there any way I can accomplish the same things without using the
FileSystemObject, or by using the crippled one?
This ASP script below is sitting on a Windows 2000 IIS Server Box and the
fldr was pointing to Bradford2 emp which was a Windows 2000 server and
worked great, now I changed the fldr to point to Bradford7 emp which is a
Windows 2003 R2 server. After pointing to Windows 2003 R2 box the
FolderExists(fldr) no longer works. The directory is there and all the
permissions are the same from Bradford2 to Bradford7.
Dim fldr, fso
fldr = "radford7 emp"
Set fso = CreateObject("Scripting.FileSystemObject")
If NOT fso.FolderExists(fldr) Then
' Folder Found
Else
' Folder Not Found
End If
I have a form who's action is an ASP page used to verify the form data. If the data passes, it re-directs to a cgi script. Otherwise, it redirects back to the form page and shows the appropriate error messages. The problem, however, is that the data is lost once it goes thru the validation page. It doesn't get sent on to the cgi script, and it doesn't get sent back to the form page if the data validation fails.
What I need to know is how I can pass the values that were entered on to the cgi script or back to the form page after validation. Or, better yet, how to do the validation on the form page itself, and only proceeding to the cgi script (the form's action) if validation passes.
I have been "hitting the wall with my head" for couple of weeks now, what I need is a way to automatically generate ftp script that will be run when I click the download link on the site that is made using asp technology (not asp.net). How can I do that,can anyone give me some helpfull information ? I am using windows2003 server, with IIS and FTP server set up.
View Replies View RelatedDoes 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 reading up on ASP for a report and it talked about scripting languages. It also talked about using VBScript or Javascript as a scripting language? What exaclty is a scripting language and why do you have to use it?
View Replies View RelatedThe following HTML exists on a page in Internet Explorer v6:
<BODY>
<FORM action="x" method="post" name="Form1">
<INPUT type="hidden" name="key" />
<INPUT type="submit" value="Go" />
</FORM>
</BODY>
What would be the correct VBScript or JavaScript syntax to:
A. Set the value of the key field to "ABC"
B. Submit the form to the server
I want to script real-time data FROM financial Web sites TO an MS Access db.
on a PC (no server issues).
Is this possible?If so what should I use ASP VBScript, ASP.NET VB or something else
Does anyone know if the ASP scripting technology has a support lifecycle at
Microsoft? Is there any information on if/when ASP as an application platform
will no longer be supported by Microsoft? I have a customer that wants to
know if they stay w/ a mission critical ASP based application, will Microsoft
will still provide support (updates, security patches...) for the ASP
technology it is built on.
I use the RemoteScripting with the rsproxy.class within my asp pages.
I don't have problems except, when the Java console is not active in IE.
Is there a way to detect from asp, if the java console is active or not ?
or, how to do remote scripting without the rsproxy ?
I have a Web application that uses Remote Scripting to provide dynamic data to a web page.I am testing the application in Internet Explorer 6 SP1 running on Windows XP Professional.
When I use the Microsoft JVM,the application works without any problems.However, as a result of future withdrawal of support of the Microsoft JVM as a result of the settlement with Sun, I need to ensure that the application works okay with the Sun Java plug-in for Internet Explorer.
This component is no longer available,and clicking on the OK button only reiterates this message. When I click on the Cancel button instead, the Remote Scripting functionality fails to work.Is it possible for Remote Scripting to be configured to work with an alternative JVM, such as the Sun Java Plug-In, or is it entirely dependent on the Microsoft version?
I have written this code in ASP
Dim oFSO
Dim oTempFolder
Set oFSO = Server.CreateObject("Scripting.FileSystemObject")
Set oTempFolder = oFSO.GetSpecialFolder(TemporaryFolder)
Response.Write "<br>Temporary Folder Name is " & oTempFolder.Name
Response.Write "<br>Temporary Folder Path is " & oTempFolder.Path
It hangs forever on the line
Set oTempFolder = oFSO.GetSpecialFolder(TemporaryFolder)
However it works perfectly if I write the same code in VB Application. Can anybody tells me what's wrong in it.
Anyone can help me to create a Text Formating. AS I want that there is a object. I want to write some text in a textbox on Run time. and it displays on the object and if i want to change his font,size or color.
so tell me how its possible. can i get tha code from anybody or from anysite or anyone plz me to do this in Flash with Action Scripting.
I've some problems with "Scripting.FileSystemObject" object. If I try to create a new text file with the function myfile.CreateTextFile I have two differents result:
If I execute the script client-side there are no problems, but if I execute the script server-side the process stops when I call this function (I think that the process is in loop because I must close iexplore to stop the application).
This page, http://pjshimmer.tripod.com/movies3.html, contains info of my movie collection. I have the title and year in one table cell, as in Lord of the Rings (2001). I intend to put all the info in an Access database, but I would like to have separate fields for Title and Year.
The pseudocode can work like this:
1. Find open parenthesis "(" in field -Table-
2. select everything after "("
3. move the selection to the new field -Year-
I'm trying to use the Scripting.Dictionary. However the item I'm adding to the dictionary is an array. An example is
Set objD = CreateObject("Scripting.Dictionary")
objD.Add "Key1", Array(1,2,3,4,5)
I know for sure the array always has 5 items. In VBScript, I can access the item like this:
objD.item("Key1")(1) to objD.item("Key1")(5)
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 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?