Screen Dimensions

This is going to sound like a really basic question, but at the moment my mind is running a total blank and i can't seem to find any reference to how to do it - but how, using VB Script, can I determine the height and width of the screen?

View Replies


ADVERTISEMENT

Acquiring User's Screen Dimensions

Using JavaScript, I'm able to get the user's screen dimensions with screen.availWidth and screen.availHeight. But if I want to store this info in the database using ASP code, how do I go about doing it?

View Replies View Related

Getting Dimensions

how can i EASILY obtain the height and width dimensions of a remote image file? i need a solution that doesn't involve extra components. i've found one or two solutions, and the one i tried works okay, but i can't figure out how to isolate the height and width.

ideally, i'd like to be able to use a function with a web address as a parameter, which returns the height and width of the picture.

View Replies View Related

Getting The Photo Dimensions

I want to get the exact Dimension of the Photo (jpg, jpeg, gif, ...) uploaded on a server by users. I'm using ASP language. do u guys have any idea how I can do that?

View Replies View Related

Calculate Image Dimensions

Is there a simple function in ASP to calculate the dimensions of an image?

View Replies View Related

Determine File Dimensions Of An Uplodaded SWF

I am uploading some banners to my server on an application, I am using ASPUpload.
Everything works fine, I am using the component properties: File.ImageType, File.ImageWidth, and File.ImageHeight.

My problem is that this properties only support file types:GIF, JPEG, BMP and PNG.
I am using also Flash banners on the site (SWF)...

How can I determine the banner dimensions (width and height in pixels) after uploading the .swf file?

View Replies View Related

ASP Upload Fails When Files Dimensions Exceed 3MB. Why ?

I'm experiecing a problem with file uploads from ASP pages.

On a Windows 2000 - IIS 5 server we're running an ASP Classic
application that features an upload form for files of great dimensions
(100+MB). Problem is, when we try to upload a file exceeding 3MB we
retive almost immediatly a message such as 'The page cannot be
displayed'.

We do not even reach the page that contains the code for file
managing; when we click on the submit button in the form with enctype
multipart form data the application ends and the error is visualized.

For files under 3MB there are no problems at all.

The FAQ of our upload third party component (ABCUpload by Websupergoo)
state that we could either have problems with our proxy or we could be
stopped by a wrong URLScan setting: we do not have any proxy nor
URLScan is installed on our server.

I may add that all the configuration of the script timeouts on IIS are
correctly set.

Is there anyone who can suggest us a solution?

View Replies View Related

Screen Capture

In my ASP application, I have a chart that will popup in a
new window. From the opener window, I want to add a button
that will capture the chart to the clipboard and be able
to paste it to other application. I just want the client
area and don't want to include menu bar, address bar and
so forth.

Can I do that with pure asp without a component?

View Replies View Related

Screen Scrape

I want to take the HTML source of a page and validate it and do certain things with it (all for good reasons!) much like W3C validators and such like do.
Trouble is:
* screen scrapes normally require 3rd pary component, and my host will not allow this
* my host does not support .net (which can do screen scrapes without a component)
My host does have cgi/perl support, so I was thinking I could:
* do a screen scrape using a simple perl script (suggestions please!)
* somehow get that to be submitted to an ASP page as form data
After that I can hack about with it as I see fit using the ASP.

View Replies View Related

Screen Resolution

I'm trying to replace a JavaScript that checks screen resolutions with an ASP dito
I've tried the HTTP_UA_PIXELS (servervariables) but it doesn't seem to work. I haven't found how to do this anywhere and I guess it's simple but please tell me how to do this

View Replies View Related

Screen Scraping

I need to write an application (VB script/ASP) that programmatically
operates a web site. In other words I would like to create my own interface
and use data from existing web sites. For example, the application will have
"to","from", "departaure" and "return" date fields that will be filled out by
an end user. The application then searches expedia.com, grabs results, and
displays it on my own screeen. Then a user selects flights and the
application routes the request back to expedia to book flights. The
confirmation number generated by expedia is displayed on my screen, etc.,

View Replies View Related

White Screen

My site seems to preload everything prior to displaying itself. I get a white screen for a couple of seconds and then, bam!, its all loaded and displayed.The same happens when the user navigates around the site. In between each page there is a white screen and a delay.is there anything I can do to minimise this white screen delay?

View Replies View Related

Screen Resolution

Is it possible to determine a user's screen resolution?

View Replies View Related

Screen Resolution

what i need to do is when someone hits my site, it must detect what that person's screen resolution is and according to that include a specific navigation.

View Replies View Related

IE End Up With A White Screen

There is a problem which confused me for a long time. I have a web application built by ASP running on IIS, and most time it's OK.

occasionally when IE send request to IIS and then receive HTML from server it will stop with no reason. IE shows a white-screen and then I check the HTML source and find that only partially received. After I press F5 everything is OK again...

View Replies View Related

Get Screen Size

I'm looking for way to get the users screen size in asp. Including something like

If screensize=800x600 Then
varscreensize = "800x600"

Is this possible with asp?

View Replies View Related

Full Screen Image From DB

I am not sure that asp is a right place for that question, so gurus will move it to proper section. But as soon as I display images using aspupload the solution probably will be also in asp. I do not have problem to show them on asp page, so it is not a problem of aspupload. Its just a general asp question:

Do you know any techniques how to display full screen images without using popup window?

I would like image to take all the full screen without any browser menues or explorer menu bars. Something like you see when screensaver turn on.

View Replies View Related

Screen Resolution In Global.asa

I use a little asp script to get some site statistics ... essentially logging each session into a database using global.asa.

How do I capture the screen resolution in this setup ?

I know how to get the screen resolution in JavaScript ... but how do I combine javascript and asp within global.asa ? Or is there another way in asp to get the screen resolution ?

View Replies View Related

Writing   To The Screen

How do I write " " to the screen? Here's my code:

string(right_array.count, "     ")
It keeps printing like this: &

I've even tried this:

server.htmlencode(string(right_array.count, "     "))
I just can't get it to work.

View Replies View Related

Auto Screen Scraping

I was wondering if there is any possible way to do this:

I would like some application on my server go out to a certain page at specific time intervals and scrape some data from it.

I imagine it would work similar to grabbing an updated RSS feed...except without the RSS. I would then like the scraped data to be stored in a database, or a text file, or an html page so the data can be pulled into another page.

View Replies View Related

Split Screen Options

I have 10 athletes i will be testing and displaying their information

so there will be two split screens the bottom screen where the user enters the data and the top screen where the data will be sorted to show the ranking of the athletes Code:

View Replies View Related

Get A Screen Size Without A Component Using ASP!

Ive been looking for ways on how to do this for a long time. But ive never found a way to do it without a component! So i made a combo of asp and javascript to do it, heres how you do it: Code:

View Replies View Related

Screen Resolution Strategy...

I'd like to hear your opinions about screen resolution strategy...

Actually, we have sites which consist a set of pages...

If I decide to use code for detection screen resolution like this:

<script type="text/javascript">
var wid = screen.width; //Get the screen width
var hite = screen.height; //Get the screen height

var qs = "?width="+wid+"&height="+hite; //Create a querystring

self.location.href = "yourASPpage.asp"+qs; //Redirect to the ASP page with the Width and Height as querystring values
</script> Code:

View Replies View Related

Screen Resolution Assign To Asp

I'm retrieving the screen resoltion with javascript code, but i can't assign the correct value to asp. the response.write is displaying zero (0) for screen res., although when i do a document.write in the javascript part, then my screen res. is 1004 ...

View Replies View Related

Refresh Just Part Of The Screen?

I can come up with a page that displays some information. The information will always be displayed on specific part of the page, with auto refresh. But he doesn't want the whole page to be refreshed so that buttons and images around the information do not get
reloaded each time. Is this really possible?

Other pages on this site don't use frames, so this page can't use frams too. Creating an ActiveX control is also not an option of us ...

View Replies View Related

Screen Flow Design

My coding experience comes from mostly application development instead of web coding. In the application world, if the user receives a system error, a new form would display the error, with any helpful information for the user and the application administer. This way there is a systematic way to handle errors. In the web world, how is this done?

For example, if I have a form where the user is entering data to be inserted into a DB. Is this the correct flow of pages?

-On submit of Entry form, an ASP page is called to insert the data -If insert successful, take the user to the next logical page -If insert not successful, display an error.htm page.

Basically, the entry page does not have the insert SQL and if there is an error in the insert (not because of missing fields because those are handled with JavaScript before submit), the error is displayed on a completely different page. Is this correct flow?

View Replies View Related

How Do I Command A Browser Screen To Front From Asp?

Our application launches a webbrowser window with a command to (more than
one) asp's on the host. The window is reused for subsequent commands.
Unfortunately, the old window is usually underneath some other window and
unaccessable from the application.

Is there (preferably) a browser-independant method to command the window to
front from the asp?

View Replies View Related

Setting The Value Of A Form From A Parent Screen

I have a screen, screenA, from which I call another screen, screenB, with a form on it. ScreenA has an ID that is captured in a variable called strShortName. (That variable is defined in another file called into ScreenA via an include.) I want to write that name as the value in a hidden field in the form on screenB. How can I do that?

View Replies View Related

Creating Picture Box For Print Screen

How could I create a input area where a user could paste a printscreen into the area or press a button to grab the item from the clipboard?

View Replies View Related

Detect Screen Size & Redirect

is there any asp that detects the screen size and then redirects to another page depending on the size of screen that they have?

View Replies View Related

EMULATE THE PRINT SCREEN COPY BUTTON

I would like use the Print Screen Button to copy a part of page using ASP.

En fact, I use a data access page of a chart (pivot)created by access. And I would like copy only the chart.

I think the easiest way is to use a Print Screen Button of keyboard.

Some body could help me to found a solution to control this button using ASP.

View Replies View Related

Selecting Tables From A Drop Down Box With No Fixed Position On Screen?

i am designing a search engine, you select the search options from five choices in a drop down box, each option reveals a table, but the tables have fixed positions on the html page.

i need it so that if only one option is picked to search and it is the last option on the drop down list, that it will appear at the top of the page? i dont have a clue what type of function to write to do this or what techniques will be involved!

View Replies View Related

How Can I Pass JavaScript "screen.width" Variable Into ASP

How can i store the JavaScript "screen.width" variable as an ASP variable?
Or is there a VBScript ASP equivalent of:

<script language="JavaScript1.2">
var mywidth = screen.width;
document.write (mywidth);
</script>

?

View Replies View Related







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