Open Mht Files In IE With IIS
I try to open mht file generated by ASP use the
Content-Type = "application/msword".
When the browser show de "dowload dialog" and I click in the Save button the file open perfectly, but if I try to click in the Open button, the browser show the "downloading dialog" and stay perpetual trying to open the file.My problem is, I cant save the file in the local machine, I need the Open only in memory.
View Replies
ADVERTISEMENT
I have some .msg file on my website and the when users click on the link they are able to open this file in Outlook Exchange. I had no problem running it on IIS 5. But with IIS 6 I am not able to open .msg file. Just saying that file is not found. I am able to open some other files such as .doc and .xls that are in the same directory.
View Replies
View Related
My system hung and had to hard reboot. however now when I try to open interdev or a file with interdev I get the following error.
could not find the file c:path make sure the path and filename are correct and that all required libraries are available. It also says its creating an error log. Where is this log? I go to Event viewer and there is nothing in any of the logs and I cant find any kind of log under the InterDev dir.
I have re-installed interdev, re-installed the whole of visual studio and service pack 5 but keep getting this error. Maybe if I could see what was causing the error in this log I could work out whats wrong. I can open my asp files in other text editors but nothing in InterDev. has anyone got any experience of debugging InterDev or know where this error log is?
View Replies
View Related
some users on our network are having difficulty opening Powerpoint
files via the Web. I've read the article "In-Place Activation Using Internet
Explorer 5 Does Not Work for PowerPoint Slides" at this location:
http://support.microsoft.com/defaul...B;EN-US;q290180. However,
following the guidelines of the article has not resolved the issue. Our
users have Windows 2K, XP Pro, Internet Explorer 5.5 and 6.0.
View Replies
View Related
I want to read word files from asp and then store the read data into a variable. How can this be done ? I have no idea on opening files from MS Word.
View Replies
View Related
I'm not very well-versed on developing on NT machines and IIS, but here goes..
I have a script that opens up an odbc connection to a Microsoft Access file (.mdb). This is file, but after I run it, Windows (or something) keeps the mdb file open and I can't reupload it for like, 20 minutes until it finally decides to close it.
I know it's not an asp problem because I've seen this before with Cold Fusion. I also know that it's not isolated to .mdb files because it does the same with a .txt file.
Any ideas? I do have access to the server, so if it requires any configuration changes.
View Replies
View Related
i am using the following code to generate a xls file using the content type now when the user opnes the file at his pc it takes long time to open..if the no of records in file is large does the use of html tags has slow down the process of opening in excel. Code:
View Replies
View Related
I have a website that we display images we have saved into a SQL Server 2000 database as binary BLOB. This is on a Windows 2003 Server. Just recently (a week ago) this website began to save the images it is displaying on the website as ASP pages in the Temporary Internet Files > IE.Content > Folder.
We have other websites where we use the exact same code and these do not save files on the server when they are displayed.
Here is the code to display the image:
Set rs = objConn.Execute( SQL )
Response.ContentType = "application/octet-stream"
Response.BinaryWrite rs("Product_Image")
SQL is the SQL String to get the image from database
When I add this code:
Response.ContentType = "image/jpeg"
The images still display on the website, but now are saved in the Temporary Internet Files folder as JPG's.
View Replies
View Related
Can a php file be executed inside an asp file? I need to execute a php file in another asp file but i'm not so sure it's possible.
My server can run both asp and php and they run without any problems... I just need to find a way to include the execution results of the php file in the asp one.
Is it possible to use SSI and include the executed php file and then the executed asp file in a main ssi file?
View Replies
View Related
I have installed PWS in windows 98 in each of the system at various places and put my Sales program files in the WWWROOT directory in all the branches. I'm afraid that the users may tamper my ASP files. Is there any way of converting .ASP files to .exe files so that the dont see my program.
View Replies
View Related
I was wondering how some sites let you search by using a form, then present the results as static .htm files.
The reason I ask is that I tend to use ASP to process form information, then give the user a list of results presented on an .asp page. The list is simply drawn from a database in real-time and formatted into a template page.
The problem with this is that search engines can't see any of the information in the database, since they can't do the form submission. Is there a way around this?
View Replies
View Related
I'm required to write ASP code to open some .OFT (Outlook template) files from within a web app. Does anyone know how to accomplish this ?
View Replies
View Related
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 ?
View Replies
View Related
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.
View Replies
View Related
I'm dynamically creating a PDF file using a 3rd-Party component. I've got this much working...
However, once the PDF has been created, I want to open it in the browser. This is where I am struggling...
I can create a page with a link to the PDF, but I dont know how to open the PDF in the browser directly.
View Replies
View Related
How can I open an .exe File from ASP without getting any message?
View Replies
View Related
When I try to open an Excel file from ASP thro' HREF it works fine. But i give the same file in Response.Redirect it says "page cannot be displayed" even when the file exists. Is this related to server configuration?
View Replies
View Related
i have a radio button when a user clicks it i want to open up a excel sheet
and want to display the records from the table
i want to only display specific fields from the table not all fields
Can someone tell me how it can be done in asp 3.0
View Replies
View Related
I would like to open a new window (Function is called NewWindow and is writtent in VBscript) when a user submits a form. All the samples I found on the web indicate something like the following: Code:
View Replies
View Related
how can i open a new window with a if statment but still getting variables values?
tit=Request("title")
if x=1 then
something
else
Response.Redirect("<A href="http://www.test.com/lookup?q="&tit">http://www.test.com/lookup?q="&tit")
end if
I donīt mind using java, but i donīt know how
View Replies
View Related
I am working on a website and have a couple links that open up a new window. My webpage is .ASP as well as the windows I am opening. Currently the link open into a new window. However, I would like to be able to set the the size of the window that is opened.
This is the code I am currently using:
<p><a href="Search/search_owner1_form.asp" target="reportWindow" class="style2">OWNER 1</a></p>
View Replies
View Related
I have problem i want created simple site
This site should epitomize table about organizer free or busy room in month
the rooms is 6 but people should mark
View Replies
View Related
I have a Word doc already created that I want to open from an asp page. I want it to open in Word and allow the user to modify if necessary. I currently have it opening (using href), but it is opening in IE. I think I should be able to do it with javascript to open word and then call that function on the link to the doc. Can someone give me some pointers?
View Replies
View Related
anyone knows some program which can be opened directly by creating an object within an asp file ?
something like word or excel (Set objWord=Createobject("Word.Application") for instance )
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
In our ASP page, we call XMLHttp to download XML files. When calling our
page using localhost (localhost/myWebSite/myPage.htm), it works, but when
calling using the IP address of the web server
(xx.x.x.xxx/myWebSite/myPage.htm), I got "Permission denied" error in the
HTTP.Open statement.
Set http = CreateObject("Microsoft.XmlHttp")
http.open "Get", "http://" & "xx.x.x.xxx" & "/XMLFiles/N-1min.xml",
ALSE --> permission denied error
Why do I get permission denied error on the HTTP.Open, and how to fix it ?
View Replies
View Related
I have an the following asp. How to have this asp to open in another
window when it is called?
<% something %>
View Replies
View Related
I am looking for an open source, very simple CMS that allows an administrator to add pages, news articles, and maybe a staff directory.
We don't need new users to signup, or comment, or anything along those lines. Maybe a wysiwyg editor included. Just for a homepage, a news section (that may include many sub-cats, pages).
View Replies
View Related
I have a website set up that can pull data from Access database tables and display them on the webpage depending on users' selection. Is it possible to have ASP open up Microsoft Excel and dump the data into it, plot graphs, calculate averages, etc.?
View Replies
View Related
I have a submit button that a form uses to submit the contents of that form to another page.
<input type="submit" class="input" onclick="this.form.action='checkname.asp';">
Is there any way to open a new window and perform the action in the onclick event?
View Replies
View Related
Is there any way to keep a window on top using window.open? I can't use a modal or window.focus onload b/c I have to get inputs
View Replies
View Related
I have an .Net project that has an ASP page, that has links. When a user clicks on one of the hyperlinks, it opens an Excel page, in IE. One of the cells in the Excel Workbook contains a link to a PDF document.
If the user clicks on the PDF link, it's opened in the current page. I'd like to know if it's possible to open the PDF in a new page. So it would basically be opening a PDF from the Excel document - that is opened in IE. 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