Browser Window To Add Files In A DB

Is there a command in ASP to get a browser window so you can select a file to add to a DB?
For example: you press a button and you get a browser window?

View Replies


ADVERTISEMENT

Close Browser Window.

What's the best way to close current window silently after finished a
process.

I'm using the the javascritpt window.close() or top.window.close(), but it
fires a confirmation window.

Just want to close it without any confirmation, seems I done it before, but
can't find where.

View Replies View Related

Close Browser Window

I wrote an ASP page to export data from the database to an excel spreadsheet file. The problem is, after the user saved the file to his/her hard drive, the export browser window still remains. How do I close the export window after users saved the file?

View Replies View Related

Code In Browser Window

When I hit an asp page the code for the page is displayed, not the actual page. I am running IIS locally for development. Any ideas of why this would be? If the pages are loaded on the server, they load properly.

View Replies View Related

Browser Window Sizing

I have a web page application written in VS2005 that's completely contained in a specifically sized panel control, and I'd like to prevent the IE browser window from being resized. I'd also love to hide the browser's toolbars if I can, but I guess that's another story.

since I'm on the subject, my wish list also includes the ability to:

(1) Run my app in an IE window of its own, and
(2) Disable tabs in the instance of IE that my app is using

It's okay if my user has another instance of IE open with tabs and other web pages in it, but I'd klike to force this instance of IE to be exclusive to my web page. How can I achieve any/all of the above?

View Replies View Related

Restricting An Open Browser Window

Is there a way to keep an other application from opening a link in a
browser where I am running an ASP application?

For example, I have an ASP application open in a browser. If I click on
a link in an email message, Outlook "hijacks" the open browser and
opens opens the link in it. Is there a way to prevent this? To somehow
identifiy that browser window as "off limits" to another app?

View Replies View Related

Window.open Interfering With Browser Navigation?

It looks like that when the window.open call is made, and a new window is
created - my users lose all the information they entered - if they navigate
backwards then forwards. If the second window was already created...
navigating backwards and immediately forwards, seem to behave 'normally'
(i.e. all their previous inputs are there on the screen.).

Is this normal? Is there some way to kick-off a new window without losing
the inputs previously entered at an earlier screen? There was an earlier
post about losing session info when opening a window - is this a similar
situation?

I suppose I don't really have to have two windows opened at the same time -
using a simple anchor link seems to work without the side-effect. It's just
not as snazzy and the work-flow is slightly more stilted.

While I've been toying around with some other work-arounds - I was wondering
if anyone else has ever run into this situation? Or am I missing some
critical piece of info?

View Replies View Related

Window.open + Asp Interfering With Browser Navigation?

I've stripped it down to the 'barest-of bones' so that anyone willing to help can duplicate the problem on their own systems. Code:

View Replies View Related

How To Force Pdf Download - Not Open In Browser Window

How do I force a pdf to be downloaded rather than opened in a browser window?

I've got the code below, which seems to work in Firefox, but in IE7 it spits out a huge page of wierd characters:

<%
Response.ContentType = "application/pdf"
FPath = server.mappath("pdf/portfolio.pdf")
Response.AddHeader "Content-Disposition","attachment; filename=" & FPath
Set adoStream = CreateObject("ADODB.Stream")
adoStream.Open()
adoStream.Type = 1
adoStream.LoadFromFile(FPath)
Response.BinaryWrite adoStream.Read()
adoStream.Close
Set adoStream = Nothing
Response.End
%>

View Replies View Related

Opening TIFF Files In Browser After Converting To Jpg

I want to display tiff images in browser using asp, is there any free component available for this : that converts the tiff file on the webserver or anywhere to the jpg and renders to the browser when the users is accessing that tiff image.

View Replies View Related

XP SP2 And Downloading Files Automatically Closes Window

We have numerous pages that allow users to download textfiles. To invoke the File Download Dialog, we use ASP, FSO and ADODB Stream. It worked fine in SP1. In SP2, however, once downloading is done, the window that opened the File Download Dialog automatically closes. Any idea what's causing this? Where can I find information on SP2 in relation to FSO and ADODB Stream?

View Replies View Related

How To Pass Values From Parent Window To Popup Window In Server Side?

1. I have a form, with a textbox and a button. I have to enter a value in the text box and then i have to click the button, which opens a popup window. Here i want to pass the value of the text box which is entered in the parent window to popup window.

I have to use that value in the popup window's form_load event in the Code behind, and i have to take the values from the database using the value which i have entered in the parent window. Code:

View Replies View Related

How To Return Selected Value In One Window To A Main Window

I want to provide a lookup facility for users to select a code from a list. I want this to be done in a small popup window, which, when a code is selected, will close down and return the selected value to the main form. Can this be done ??

View Replies View Related

Keep Value's Of Opener Window When Return From A Popup Window

I'am not familiar wit ASP but I have to maintain an application. In a window there are some text selection fields and a search button. If you press on the search button record list is build according to what is filled in the selection fields. You can select a record and then a detailed window is shown or in another occasion a popup window is shown.

The request is now if the opened window or popup window is closed, then the opener window has to be opened with the same content (content selection fields + record list) as it was before the window or popup is opened.

Now I thought that I have read that every window which is opened gets an ID and that it is possible to call up that window by the ID from the cache again. Is that right? And if so? Or has somebody a better idea. Code:

View Replies View Related

Displaying Image From Database Saves Files To Temporary Internet Files

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 Php Files Execute Inside Asp Files?

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

Convert ASP Files To Executable Files

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

Web Browser

I have a simple ms access database front ended with simple asp pages using ms front page. I used the wizards to put it all together and I can send data easily enough using forms. I can recall the data using the data base wizards but I can't seem to design it to update the data once it's been submited. I've played around using sql update statements and modifying pages... but I gave up in the end.
how I can design an update page using ms front page??? It doesn't have to be fancy or complex... I'll work on making it pretty later.

View Replies View Related

How To : Web Browser

I have a website with a default webpage having an image. I am also having four(4) images.
I'd like when the user closes the browser and reopen it, it must load a new image.

e.g. The User open the browser for the first time - Loads Image1.
The User open the browser for the second time - Loads Image2.
The User open the browser for the third time - Loads Image3.
The User open the browser for the fourth time - Loads Image4.

The User open the browser for the first time - Loads Image1.

How do I go about doing that?

View Replies View Related

ASP Browser

I know I can do this using JS but can I do it using Vbscript? I want to check if a browser is NS4 or lower and if so to display a certain stylesheet. If another other browser then display an alternative (more feature rich) stylesheet

View Replies View Related

Browser

is there any way to know browser cookies are disabled and is there any way enable the cookies from asp code.

View Replies View Related

IE Browser

Is there a way to tell IE not to display URL links when a user hovers over a link?

View Replies View Related

Get IE Browser

in ASP Application can we get the application page by entering a single word in browser?
more clearly. see i have my application in www root. called "test" folder.

now if i am entering only "test" in internet explorer browser, how can it will take fist page of my application. my first page of appliation is "login.asp" from test folder?
please tell me how to implement it in ASP?send me the code.

View Replies View Related

Browser Statusbar

How can I get text to remain on the Browser's statusbar?
For example, if I'm saving data to a DB Table after a user
clicks a Button in the ASP page, I want the statusbar to
show something like "Save Successful" or "Save Failed" so
they know something happened.

Right now, I'm trying to use the windows.status property,
but it just flashes real quickly in the statusbar and
then "Done" is displayed.

View Replies View Related

Browser Detection & CSS

I have just uploaded my website and it looks fine in IE, but awful in Mozilla. I need to load a different CSS file according to what browser a user has. Does anyone have any code that will detect browsers and versions?

View Replies View Related

Asp Site As Web Browser

anyone knows a VBScript that acts as a webbrowser? I am
behind a firewall and my local machine is not visible to the internet,
but I have a access to some webspace with asp VBScript. With the right
script I could tunnel pages and sites from my local machine

View Replies View Related

ASP Function Browser

Does anyone know how can I get Visual Studio to show a classview-like
function browser for my asp files? (For VBScript functions.) It would be
enough if it showed the functions in the asp file I'm working on, even
better if it showed all the functions in all the .asp and .inc files in a
project.

View Replies View Related

Toolbar - Less Browser

I'm designing a small web application which is a table displaying live data
which updates every minute or so. This app is very small and will stay open
on a client PC's pretty much all day. So I was wondering if it is possible
to display it in a browser , without the IE toolbars, just like a fixed
dialog.

Am I making any sense ;-) ?Any ideas?

View Replies View Related

Browser Plug-in

We are trying to record browser information when a customer comes to our
site. I have been able to get most basic browser information using both asp
and asp.net. The only thing I’m missing is the ability to detect plug-ins.
Does anyone know how I can access the plug-in collection in IE? I have not
found any clear way of doing it on the internet I’m starting to think I am
headed down the wrong path. Maybe IE doesn‘t call it a plug-in collection?

View Replies View Related

Browser (and Other) Caching

I have a dynamic website system that my clients use to change their webpage
conten online. Sometimes the new change isn't visible right away to a
browser. I have the following in every webpage's <HEAD> section:

<META HTTP-EQUIV="EXPIRES" CONTENT="0">

which on previous investigation was supposed to be a solution for this. All
I want is a definitive solution so that when a browser makes a call to my
server for one of my pages, everything along the line that has a cached copy
of the page is going to say "Aha! The browser wants the latest version of
this page! I'm going to pass this request up the line to see if their is a
more recent version instead of sending it my cached copy". (Yup, that is how
browsers and ISPs speak to each other). What do I have to do to my webpages
to ensure this happens? At the same time, I don't want it to be getting the
page all the way from the server if the page content hasn't changed. In
other words, I just want the cacheing to work properly!

Sorry if this isn't an explicit ASP question but no one in the HTML groups
I've tried has any idea what I'm talking about and I'm hoping that those who
frequent this room will have a better handle on the whole
client/server/caching problem and the solution!

View Replies View Related

Virtual Browser

I have heard there is something called a 'virtual browser' which allows me
to check asp and html output on the complete range of browsers without
having to download each browser and version (side by side).I did a google
search and see a variety of links but nothing conclusive.
Is there a standard product experienced asp developers are using.can you
point me towards it?What are the limitations and challenges in using this product?

View Replies View Related

Cross Browser

My code works in IE but not in Netscape. Can someone let me know what should be done in order to view the javascript function also in Netscape. Thanks.
Script:

Quote: <script language="javascript">
function showurl(v){
var layers = document.all.tags("DIV");
layers['show'].style.visibility=v;
}
</script>
Form:

Quote: <input type="radio" name="check1" value="1" onclick="showurl('visible')"> View all Links
<div id="show" style="visibility: hidden;">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.myurl.com'
target="_blank">www.myurl.com</a><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://www.someurl.com'
target="_blank">www.someurl.com</a>
</div>

View Replies View Related

ASP And Mac Safari Browser

Anyone ever experience problems with Apples Safari Browser and ASP scripts? I have a user who keeps sending us feedback stating that Safari does not work on our site, but his Internet Explorer works just fine. He kept getting this error:

Microsoft VBScript runtime error '800a000d'

Type mismatch: 'CLng'

Now the code works perfect in all other browsers. I'm curious why Safari isn't working with ASP. Since all of the code is processed on the server, it seems odd that the browser would have specific issues with code.
I'm not looking for help with code, just any input on whether any one has experienced problems viewing ASP scripts using Safari browser.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved