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?
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?
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.
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?
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?
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.
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.
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.
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
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.,
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?
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.
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...
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.
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 ?
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.
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:
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:
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 ...
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 ...
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?
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?
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?
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!