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'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
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.
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 ...
While coding in VBA,I had been receiving script errors when attempting to utilize the online help from within the VBA IDE. After fiddling with security settings and much searching for KB Articles as well as Googling newsgroups archives all to no avail, I finally discovered the resolution to this issue.
From within Internet Explorer, under "Tools" and "Internet Options" and "General", run the "Delete Files" under the "Temporary Internet Files" section.
For those of you who have ever experienced the Internet Explorer problem whereby "View" and "Source" does nothing, the above should resolve that issue as well.
I am using the File System Object to get a list of photo through a specified path :
Dim fso, ffolder, ffile, fc, fproperity, strOut, strPic Set fso = CreateObject("Scripting.FileSystemObject") Set ffolder = fso.GetFolder(folderspec) Set fc = ffolder.Files
For Each ffile in fc intCount = intCount + 1 strPic = strPhotoPath & ffile.name Set fproperity = fso.GetFile(strPic) ..... Next
I can display all photos without any problem, but I cannot get the resolution(height and width) property of each of the photo. Is there any way in doing this?
I have a page with a pop up window for a 800x600 resolution. But people using a different resolution will not benefit. So is there an asp script to detect what resolution people are using. And by detecting this it will alter the pop up screen size. Get what i mean?
how to auto adjust resolution of web page so that it gets adjusted on every resolution . like my website gets open perfectly on my pc but when I tried it on some other pc which had changed resolution the web page was very such shifted to left side which was looking bad. how to auto adjust resolution of web page?
Can anyone advise the best way for me to check a screen resolution using any of the above technologies, i am creating a dropdown menu which is populated by a database with rollovers and suchlike, and i was planning on using showhide layer function with javascript however when i resize the browser at a certain point the layer get at most 30 pixels to small, which looks bad. Code:
I have one application folder containing all ASP code files. I want host multiple sites pointing to same code. Can I do this ? If YES then how I can assign diffrent global.asa to each application...
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 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.,
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?
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?
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 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 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?
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?