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?
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.
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:
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.
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
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")
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.
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:
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.
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?
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?
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...
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???
I have the following code at the top of my page. Is there a way to force Excel to open the spreadsheet? Presently, it opens within the browser window. I know it can be saved etc., but I would rather have Excel receive the data.
I am trying do do this when a mouse is over a link (as the image attached), so a popup comes and show the database results, like i have done using Degsy solution.
I have a page (nw.asp) and it queries the db information. if is possible to call this .asp page in the div, I can use the 'a href' like this: Code:
<a href="nw.asp?id=<%=rs("id") %>">.
So this way will be possible to mouseover others links in this page, and as it is asking for id, will bring all the right values o.
I am trying to grab more information around this solution and any light will be so kinda.
I'm developing an application on an intranet. I need help opening a word document a powerpoint presentation and a .avi file. All of these files are quite large (1 -2 gig) and so I can't download them.
How can I just open a file over an intranet and not download it? I have tried the word.application activeXobject, but I get all sorts of errors.
I have a asp web page with a link point to a file which depend on the database information. Sometime is a picture file sometime a word and some time is a PDF file. For picture file, when user click the link, it will open the picture inside the IE browser. Now here is my problem:
On some of the computers, for PDF file only, it opens outside of the IE browser. Like the Acrobat program is not in the browser. With the same code, some computer works good. But I want to force it open inside the browser. why and how to fix it?
Set fileSystem = Server.CreateObject( "Scripting.FileSystemObject" ) Set file = fileSystem.OpenTextFile( "config.xml", 1, False )
It's saying that 'config.xml' doesn't exist. How can I reference this file? It's in the same directory as the file with the above code. Do I need to build the path somehow?
have try to search from the MSDN, i found the namespace "System.Windows.Forms.HtmlWindow" has this function, but the my .NET Framework version 2.0 dont have the object. Moreover, i have try to download the .NET Framework version 2.0 from MSDN. But, it still dont have the "System.Windows.Forms.HtmlWindow".
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.
I want to open word file (or Excel) from IIS server (URL) without getting security window for input Username and password. I know Username, Password and Domain. I'm trying to open with:
http://domain%5cUsername:password@URL
When my computer is registred in this domain - no problem. But if my computer is not from this domain I always get window for input Username, Password and Domain.
I have 2 web servers both running win server 2003 with iis 6.0. On my PROD server I have a virtual directory called CONV. It points to a folder on the C drive of this PROD server.
On my TEST server, I defined a virtual directory called CONV. It points to a share called prodservernameCONV. Note that the share name is the same name as that of the virtual directory.
Using IIS on the TEST server, I can navigate to this CONV virtual directory and via right mouse, click EXPLORE. I see all the content I should but when I try to doubleclick on a file I get a message saying "Security alert" - "your current security settings do not allow you to perform system commands on this item".
I've tried everything I can think of on the security settings for the physical folder on the PROD server. I extended EVERYONE from READ, etc. to FULL CONTROL. I added the user called INTERACTIVE and gave it full control. In short, I am stumped and guessing now.
Basically, I just want to avoid duplicating all the data files on my PROD server over to my TEST server.
I devolop a webpage using ASP.NET. i want to redirect my page to certiain links stored in the database. the links can be either URL or Word documents sored in the server. here is my problem. when i redirect my page, if it is a document, it opens the MS.Word appilication.
instead, is there any possibility to open those documents in IE itself with out any confirmation ?
I have an application that generates PDF documents (from an ASP page). In some cases, I need to generate a PDF then provide a link to that PDF from the web page - this I can do fine. In other cases, I want to generate the PDF, but then immediately open the PDF in the browser; in this case, once I have generated the PDF, I am simply using 'Response.Write MyPDFPath' to open the document.
However, for some people this doesn't work, but for some it does. And I can't figure out why results are different. In both cases, the browser address changes to match the URL for the PDF document, but in some cases, all you can see is a blank screen. If you click on the Refresh/Reload button, the PDF displays perfectly - so it's not a show-stopper, but it is a bit of an inconvenience.
Has anyone got any ideas why this may be happening? Is there a better way of opening the PDF? I thought of streaming directly to the client, but that would present the user with an Open/Save/Cancel dialog, which although is more intuitive, it's hardly any easier than clicking on Refresh.