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.
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?
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 have a webform with 3 text boxes and a submit button Based on the first textbox data I'm filling up the remaining two. If the first box data is not found in the database I want to display a confirm dialog box. I need to know the return value from this confirm dialog as I have to clear the other fields in the form, if the user hits yes the I should retain the values in the other fields. I have tried hours on it by using hidden variables...but still couldnt get it to work.
I'm populating some records by using DataGrid and i have put delete option as item template. now on click of delete i want to popup confirm message box.
I think we have a corrupt IIS metabase on our web cluster. The controller is replicating the problem to the members. What steps can we take to confirm our IIS metabase is intact? I would prefer not to do ADSI calls. Isn't there a command to interate thru the metabase?