Running Exe File In Client PC
Is there any wayto run an exe file in the Client PC with ASP, bypassing the security warning popup?
View RepliesIs there any wayto run an exe file in the Client PC with ASP, bypassing the security warning popup?
View RepliesCan you run an client application (i.e. Excel) from an ASP web page? I want
to open an Excel document that is stored on the network in the Excel App (not
in browser window) allow the user to make changes to the file and then save
the file back to the network. If this is possible how do I do it?
there are specific client of mine and there is a big database which i have to handle it, every time clients want to connect to this specific database it takes long time, this database is a static database it means you dont have to edit or update it by the clients, it is like a dictionary, you type your words/code and you will see some data,
I could not find a way to reduce the time for the clients(due to the big database), I am wondering that is it possible to put a copy of this database on client's computer (I have mentioned that there are specific clients and I have access to their computers) within Access Database so in this way I have to run the connection to the access database at clients side, if so what is the coding for it??
I work for a security system company. I'm in the installation department. One of the things we do is go to our monitoring service's website and check the signals to see if we got all of the signals for a particular alarm system.
Unfortunately, that means refreshing the page alot.
So, I started off using an iframe page to refresh the content i wanted. the only problem was that the urls i used to login and set the customer ID would go to another page.
So I tried to create a frameset document. However, the .asp pages completely ignored the frameset information. Code:
I know there have been posts about this issue before, but I can't seem to find what I'm looking for. I'm not well versed in ASP, but in PHP there is a function called exec. This launches a process. I can call a PHP script from the command line and have it run in the background i.e.
<?php
exec(php myscript.php &);
?>
is there a way to do the same thing with ASP? I want to run an ASP script in the background
i'm trying to run a .vbs file from my asp web page using wscript but keep getting a 'permission denied' error on line 5
here is the code:
<%
Dim oShell
Set oShell = Server.CreateObject ("WSCript.shell")
oShell.run "C:inetpubwwwrootib_submit.vbs" '(line 5)
Set oShell = Nothing
%>
Was wondering if anyone had any suggestions on how to execute a local batch file by simply pressing a button on an ASP page?
View Replies View Relatedhow to run a local Batch file from an asp page by simply pressing a button on the page?
View Replies View RelatedI am using windows 2000 server IIS 5.0
i was trying to run bat file from asp page and getting: Access Denied
but when i run the bat file from the command prompt on the local server, it's running good the bat file copying files from target computer in the LAN to the local
computer, o.k
i give write and execute permission on the IIS for this site on the local folder(where the bat file) i assign full NTFS access for "test" user on the target computer i shared the folder with Everyone Full control and assign Full NTFS access for the "test" user
but still cannot run the .bat file
where it can be the problem, how i need to set the site on the IIS to run the bat file?
any how to run bat file from ASP page document?
i used following code:
<%
set wshell = server.createobject("WScript.shell")
wshell.run "E:aaa.bat"
set wshell = nothing
response.write("worked")
%>
It does not show any error message and gives the output "worked"
I have installed .dll files for wsscript
Is there any other way to call batch file from aan asp page .
I have a need to transfer a graphic file to a user's system and then
access that file. I must have the drive letter:path location of the
file. If at all possible I'd prefer that this not require user input.
(Note that since this is my app and in a corporate network, I have the
server in the Trusted Sites zone and every single action is marked
"Enabled" in the IE security settings and users will be using IE
exclusively.)
It doesn't matter to me how the file gets to the
client, save that it get there from IE, and the file is initially
retrieved via a url I give the client. I have even looked into
reading the file out of the IE temporary files but have had no luck.
im creating an asp using the file scripting object but i cant create the file in the local pf of the client, but rather saves on the server folder.
View Replies View Relatedhow I can save my the result of my SQL Select query in a CSV file and later on
download it in the client side (showing the Save As dialog box...)?
how can i see directories and files on my computer? if its FSO please explain how?
View Replies View RelatedI have developed a windows 2000 based web-based
application which uses only HTML and JavaScript code for the
client side and C++ on server side .
Now i need to implement a feature to implement "writing the
log file" on the client machine for this application. As
JavaScript doesn't support client side file writing i think i need
to use ASP or similar language.
1. Is it possible to write on client machine using ASP??
2. If it is possible please thow some light on how to implement
this.
3. Will my code be stable if i embedd the ASP code into the exisiting HTML & JavaScript code?
how can i copy i file from server to client side ... any solution or can it be?
View Replies View Relatedwe have some exist file at server site.we wants to open it from any client by simple browse or click on file. is tre any tool to do this or any script.
View Replies View RelatedHow can i save the textarea(retrieved from DB) data to client system as a textfile.
I am using filesystemobject to create a text file with the path
set fso=server.createObject("scripting.filesystemobject")
set ctext=fso.createtextfile("c:mydata.txt",true)
ctext.close
set ctext=nothing
set fso=nothing
But it is storing in the server cwebserver c: drive)
My users will access simultaneously in my LAN. They use these textfiles to print in DOS mode. Coz it contains large and formated data and to print faster.
How can i store the generated output to the client system only instead of server. B'coz the data generated is diff for each user.
How can i save the textarea(retrieved from DB) data to client system as a
textfile.I am using filesystemobject to create a text file with the path
set fso=server.createObject("scripting.filesystemobject")
set ctext=fso.createtextfile("c:mydata.txt",true)
ctext.close
set ctext=nothing
set fso=nothing
But it is storing in the server cwebserver c: drive)
My users will access simultaneously in my LAN. They use these textfiles to
print in DOS mode. Coz it contains large and formated data and to print
faster.
How can i store the generated output to the client system only instead of
server. B'coz the data generated is diff for each user.
What I'm trying to do here is have the user select a file of thier local machine (dont know what format to make the file yet, examining this problem b4 development) From that file, certain fields on the page will be populated automatically. The file they will select will have been saved from a visit to a different site I created so no worries about formatting.
But I can't seem to figure out how to do this without actually uploading the file.
To repeat, I just want to examine the file and be done with it. If I can't do this without uploading, then could someone explain how I do that because I've been having trouble finding a source that doesnt want me to buy thier .dll. I find it hard to believe that IE would implement input type=file and IIS would not have it's own method of getting that file.
We have offer a web space to hosting our client website. We offer them to upload asp files to their web space. How can I prevent the client from uploading asp files that will harm our web server.
For example, deleting files in our server using Scripting.FileSystemObject to delete our systemmfiles.
How can I check if a file exists on the client? I have a form which requires the user to upload a document from their computer. In the event they don't enter a valid path to the file the form does not submit. How can I check if the file exists and if it doesn't, provide a suitable response?
View Replies View RelatedI am working on a web application where i allow users to download text file , the content for this file will be retreived from the database and is passed to the ADODB.stream and is read into Response.binarywrite
I am using the following code which i have got from a forum Code:
I have a web server running on a machine. When the users
connect to that machine, it loads the ASP page. The ASP
page has a ActiveX control on it and it gets downloaded to
the client's machine. I have made the control as a signed
control so there is no problem in download.
Likewise, in the virtual directory path on the server, I
have one clientsettings.MSI and that needs to be run on
the server. Whenever the user tries to connect to the web
page, in onload event of the web page, the .MSI file
should be installed on the clients machine. For this to
happen what all needs to be done ?
How to download the file from web server to client machine? If anybody have idea, inform to me.
View Replies View Relatedsend me the code for creating text file on client side through asp. or is there any way to direct copy a file from server to client without asking to downloading the file?
View Replies View RelatedIs it possible to delete a file on a client side machine using VB/JAVA script?
My website allows the user to upload a file to the website and after that I would like to delete the file on their machine tried this:
Set fso = CreateObject("Scripting.FileSystemObject")
fso.DeleteFile("C:1-1-S.xml")
But it is always looking to the server machine? How do I say delete file XYZ on client machine. Is this even possible with the security issues?
I am developing an web application, it should has the function to upload file from client computer. The uploaded file size can be limited within 10 MB.
But I dont know how to check the size of the file on client-side. Server-side size check is not enough, because it can not be checked until the whole file is received while the server resource(cpu,memory etc) is wasted.
I have a chunk of code, where based on the user's selections, it goes through a database and selects all of the records from the database and writes them to a text file (the database contains nearly 600,000 records), currently, the file is written and the user would end up having to wait for it to be written, before continuing.
Is there a way that this file could be kind of.... tagged or something, so that the server creates it in the background, instead of while the user waits, so the user can continue doing other things, rather then having to wait for the text file to be created.
The files can be quite large, as they can end up being anywhere from 1 - about 600,000 records with between 4 - 10 fields each. Here is a sample of the code that creates the text file. Code:
With ASP, how can I automatically add records to a database with an excel file residing on the user's machine? Assuming the excel file has the same field names/datatypes/order as my database table's fields.
View Replies View Relatedis it possible to open an excel file (used as a template) from server using server-side vbscript; then modify it or add values from client using client-side vbscript?
View Replies View RelatedI m writing one code to invoke remote desktop service for given IP address. For that i m using mstsc.exe file to invoke RDP.
I have a no of links to be displayed on the page and on click of link, RDP for that IP should be called. Currently i m using one button to invoke RDP. Code:
I've installed iis6.0 on win2003. All static content with
ssi etc rendered fine on the browser, but gives a 500
internal server error if i try access any asp page. The
log file says:
ASP_0134|Invalid_ProgID_attribute 80 - 127.0.0.1
Mozilla/4.0+
(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1. 1.4322)
500 0 0
All the dll files are in place and I have enabled asp
scripting. Can anybody give me a clue as to where am I
going wrong?