How To Autoload A EXE File While The Page Was Open
how to auto load a exe file for user to download once the user enter the download pages.. how is the coding for that download page to auto pop up donwload windows for user to download the exe file???
View Replies
ADVERTISEMENT
I want to write a ASP page to open/download a file In fileview.jsp, I have the file browse, and when user click submit button, fileview2.asp should open the file.
fileview.asp
============
<FORM ACTION="fileview2.asp" method="POST">
<P><input type="FILE" name="filename">
<P><input type="submit">
fileview2.asp
============
<%
String filename = Request.Form("filename")
Response.Redirect = filename
%>
However, this is not working. any ideas?
View Replies
View Related
i am having a problem in how to create a Open File dialog to enable user to select a image file that will be stored into database. i just want the file path to be stored in database, not the image.
View Replies
View Related
I have an asp like this
<td width="49%" align="left" class="HD"><a onclick ="javascript:newwin('DNA.ppt','server/delivery/Documents/')">rs("Report")</a></td>
function newwin(docname,url){
location.target="new";
location.href="viewdoc.asp?docname=" & docname & "&url=" & url;
}
in the viewdoc.asp i need to check the file type and set the content type accordingly.also the viewdoc.asp must load in a new page and display the document passed.
can anybody help me with a piece of code???
View Replies
View Related
i want to open a dbf file in asp which is saved in a directory. The Path of the file is "F:mywebdb". The dbf file is saved in the above path and is called test.dbf. I write the following programm to retreive the records Code:
View Replies
View Related
Is it possible to struture a link in a Web site so that when clicked it will open a particular file on a CD-ROM? I didn't create the CD-ROM and the files are AVI and DCR.
View Replies
View Related
I am trying to open a .tif/.cal file thru' my web site. This file uses a program to open. I have installed browser-plug-in for this program. However, using my web site when I try to open the .tif/.cal file, I get the message "This type of file can harm your computer ..." "Do you want to Open/Save/Cancel" . How can I get rid of this message.
I think the browser-plug-in is trying to open a .exe file that's why this message must be appearing. Is there any way I can specify not to display the message when this particular program is called?
View Replies
View Related
I have pdf files that I would like to open in ASP. I've already searched the forum and didn't find what I was looking for.
View Replies
View Related
I have a network. Let's say the ASP pages are on computer 1. I try to open the pages from an other computer, let's say computer 2, in the network. How can I realize this?
I tried to make a drive (M:) on computer 2 which referes to the (shared) map on computer 1 where the ASP pages are. The pages are shown, but the asp-code isn't used in the displayed page. Only all the html-content is shown.
Is there any (other) way to show the ASP pages on computer 2?Computer 2 is not connected to the internet, so over the internet is not an option.
View Replies
View Related
I have a page where the user selects the product they want and from that selection a new page opens with a detailed look of the product. I would like this new page to open as a brand new window with a size I have choosen. Where do I set the size I would like to the page to open as?
View Replies
View Related
As long as I would like to show data from +/- 5 different records in a table, I do not have any problem and my page is running OK. As soon as I would like to show +/- 40 different records in my table the page doesn't open. I'll attach the code and maybe someone can tell me why it works with less records but not with all. Code:
View Replies
View Related
I've created a small ASP page. When I want to test it, Explorer does not open. The page is working fine on a other pc. When I rename the file with .html, then the page is opening.
I've VB6.0 (SP6), Visual Interdev 6.0 (SP5).
View Replies
View Related
I am storing times into Access and that works fine and it stores into access the way i want it, like so 12.30 but it is displaying in asp like so: 12.30.00. does any one know how to change this?
View Replies
View Related
how to open a mde file from a web page (asp,html,shtml,apsx) ? I know there is a security setting that don't allows web server to run/launch executable files but can it be turned off.
View Replies
View Related
my coding knowledge is limited. How do I add the following..
target="_blank">
to this code...
ImageString = "<img src=""" & Banners("Image") & """ alt=""" & Banners("Hint") & """>"
All I want it to do is open a banner in a new page instead of the existing page.
View Replies
View Related
in MY website
i need to open PDF files
i have all headings for each PDF files are in my database
i need to display the headings (which i have in my database ),if anybody click that heading then corresponding PDF file should open for them to see
how can i proceed
View Replies
View Related
Can anyone help with this? Here is the code I am using. The problem
is, where it checks if a file exists, it always goes to else. Even if
the file is there, it won't open the file, goes straight to else part
of statement.
<%
If Session("strLogID") = "" Then
Response.Redirect("http://website/pages/login.asp")
Else
strfile = Request.Form("month") & Request.Form("day") & " Misses" &
".xls"
Set fs = Server.CreateObject("Scripting.FileSystemObject")
If fs.FileExists("http://website/webreports/Misses/" & strfile) THEN
Response.Redirect("http://website/webreports/Misses/" & strfile)
Else
Response.Redirect("http://website/pages/missedreport.asp")
End If
End If
%>
View Replies
View Related
I am creating a webpage and have a form where a visitor will choose a
day, month, and year. I want to pass the data from the form into an
asp page which will process it and put it into a string and open the
excel file requested. The excel file to open will depend on the day,
month, and year chosen in the form.
View Replies
View Related
Is there a way to insure the user can't save the excel file that has been opened?
I have a link that goes to XLS files for users but I don't want to users to be able to save the XLS files to there local drive.
View Replies
View Related
I am creating csv file by doing following. So when asp page get load this code run and it create csv file and store in specified location.
How can i open this store file in same window after it get created. I have a name and location of file "whichfn" how can i open into excel format. Code:
View Replies
View Related
I'm having trouble translating a script that I wrote in php to asp. Well a line any how.
$fp = fopen("/mydomain/logs/mail.log", "a+") or die("Could Not Write Form Data To File.");
fputs ($fp, $info_from_form);
fclose($fp);
basically, the above line does is:- opens the file mail.log and writes to the content of that file. the "a+" means that if the file is not there then it will create "mail.log" and write to it.
The process was included in a form to email php script.
View Replies
View Related
I am having problems opening a .aspx file. I have installed the .NET 1.1 Framework. When I go into IIS,Websites, Default Website, then look at the properties under documents, default.aspx is not listed.Is there something that I need to configure to add aspx?
View Replies
View Related
I have a page that calls an asp page within frameset in a popup window. It shows the code rather display the page. Any clues what might be going wrong?
View Replies
View Related
How I can open asp file when I click on image after answering the confirm?here is my code:
<img src="delete.gif" border="0" onClick=" if (confirmSubmit()){ <a href='test.asp'>;}" >
<script LANGUAGE="JavaScript">
function confirmSubmit()
{
var agree=confirm("Do you want delete this item ?");
if (agree)
return true ;
else
return false ;
}
</script>
View Replies
View Related
i'm trying to open document file through ASP coding. but an error "Could not open macro storage" comes. what shall i do ?
View Replies
View Related
i would like to know how to open a new excel file and add tabular data in excel file from asp.
View Replies
View Related
I'm trying to find out how I can make a page to be restricted to open
between Saturdays 12:05 pm until Sundays10: pm... and that.. EVERY WEEK...
is there any way at all to do this or is it just simply impossible.???
View Replies
View Related
i'm trying to have excel open up a webpage which basically contains a
table.
in excel 2000 if i specify content type text/csv this works by
displaying an open/save dialog box and clicking open, launches excel
and displays data as a table (desired result ) however in machines with
excel 2002+ excel simply displays the html code.
trying to specify application/excel opens an excel plug-in inside the
browser which poses a problem becouse the excel has links to pdf file
that obscure the plug-in.
View Replies
View Related
Is it possible to open a Outlook template from my webpage?The template is located on the web server.
View Replies
View Related
I have 2 .ascx files and one .htm file. One of the .ascx files is basically just a table with four rows. One of the rows has table for the other .ascx file, which is the menu, and the .htm file, which is the body content. Code:
View Replies
View Related
i want to do this. when users click Next button, a new page will appear in the iframe named content. i can open that page but in the new window.Code:
<input name="Next" type="button" id="Next" value="Next" onClick="window.open('software_mohon.asp')">
View Replies
View Related
I have a big problem with some part of my code, where I'm using the wscript.shell method to open a file...
I've tried this:
dim shell
set shell= createobject("wscript.shell")
shell.run "C:Clip_CreatorTVSA02.bat"
set shell=nothing
and this
Function fnShellExecuteVB()
dim objShell
set objShell = CreateObject("Shell.Application")
objShell.ShellExecute "C:WINNT
otepad.exe", "", "", "open",1
set objShell = nothing
End Function
I don't get any error but the application doesn't starts, I've also tried executing the notepad.exe and occurrs the same, nothing happens, I don't get error but the notepad doesnt lunch...
I'm getting tired about this code, I've tried a lot of kinds of scripts but I got the same result...
View Replies
View Related
How can open a Microsoft Word file by ASP?
View Replies
View Related