I am working on a web application where i allow users to download text file , the content for this file will be retreived from the database and is passed to the ADODB.stream and is read into Response.binarywrite
I am using the following code which i have got from a forum Code:
I created a VB6 ActiveX control, created the CAB file using "Package & Deployment Wizard", sign the CAB file with Verisign, and copy the CAB file to a website.
I am able to download older CAB files, but recent CAB file that I created I can not download them. It prompts me to download the control, and I said yes to download, but it did not get downloaded. I un-register MSVBVM60.DLL and rename the file, but when downloading the CAB file, it did not prompt me to download the VBRUN60.CAB. What can I check to see whey the control did not get downloaded ?
I prompt the user to enter a path where he wants to download a particular file but when the user enters the path on which to download the files, the file gets downloaded on the computer on which asp pages are created not on the users computer. So how to download the file on the machine on which the user runs the site.
i have created a page that will enable users download mp3 files that are saved in a folder. All this works fine in Internet explorer, however if i download a mp3 file using firefox, it download the file but without recognizing it as an mp3 file, which automatically makes the file unusable: Code:
i m working on an ecommerce project. as the user click on "buy" button , i charge that customer with the price of that product and then from asp page i redirect it to the page response.redirect.(http://domainname/abc.zip)
now if due to some communication problem , download of this product did not complete successfully ,that customer should not charge for this.how i can know that product has been successfully completed so that i can charge the customer after that.
how can i create a graphic report based on database information. I have an asp page where i asked some questions to users on my intranet, and i have that data on a database, so i want to make a graphical report (i.e. a pie) where i can see the results.
Is it possible to validate whether a graphic is corrupt? I have roughly 500 graphics being pulled out of a database, and I need to check whether they are corrupt and flag them if so. Unfortunately, I do not have any CRC or a Hash of the physical files, before they were uploaded.
I am currently testing ImageMagick, but it will cause IIS stop responding for certain command with wrong parameter. It's seems unreliable in ASP environment.
How to flip a graphic image horizontally, vertically or at a specified angle. e.g. I have an arrow that points left and I want to use the same image (save download time) at another place that should point to right (horizontal flip) and so on.
I was wondering if the seasoned pros on the asp and db forums including (Bob, Ray, Aaron, Curt and others) would mind offering advice on ideal laptop requrements for web development requirements.
I currently use an IBM Thinkpad G40 with 2.99 Ghz processor Pentium IV and 1 Gig of Ram.
I currently work withing these technologies:
1. Asp 3.0 2. Sql server 3. Dreamweaver MX 4. Flash MX 5. Photoshop 7.0
However, I am increasingly finding that I am being sucked intot he broadband arena with the release of Studio 8 and increasing calls for video related promotions.
Would anyone be able to offer their thoughts on which manufacturer, version, OS, Graphic Card and other system ratios I should aim for.
Addtiionally, have any of you perhaps experimented with these new split screen montiors designed for what appears createive packages like adobe premier?
I have a requirement to display Html text to Image (any format).
Let say i have text as "TEST", this value i need to convert to Image and display. Please let me know if there is any tool or code sample to resolve my purpose.
I don't know what they're called, but you know the form: The page displays a "code", usually on a similar color background (dark gray), and the text is all squiggly.
It's an attempt to foil the bots that go out and process forms. The user has to type in the code they see, when the graphic itself should be unreadable by character recognition engines.
So, how are the graphics generated, and how do you implement this?
OK I'm just starting out in asp, and the site will be mostly asp, which will be based around a shopping cart.
I would like to pull in a header and/or a footer into all of those pages.
Should I look into an ASP solution, or are there compatible ways such as CCS, or similar.
I only have experience with PHP server side includes, this is what I would like to emulate. I know there is normal SSI, but the pages need to be named .shtml, mine will be .aspx
Many of you interested about the way how to convert images (for example yours Jpegs) into ASCII graphics HTML. Well, in WDK6 that coming soon we have added new component WDK.Img2Html that will do the work for you on fly.
Is there a way for asp to know what url is in the address window? I have a function that is included in every one of my pages and I want it to write out different things depending on the page the visitor is on.
Can anyone tell me how to detect a ip address behind a router? I know that using ASP, we can detect the actual ip and the proxy ip, but what if the visitor is using a router that dynamically assigns a ip.
I'm working on an app to upload pictures to my Web page. As part of it, I need to know the dimensions of the images - how many pixels wide by how many pixels high. Is there any way, as part of the upload or immediately after, that I can detect that?
Also, though the solution isn't exactly appropriate to this NG, I would also accept a client-side solution to this problem.
Normally I would do something like if request.form("submitbutton.x") <"" then .... end if
But I found a problem when the browser uses the 'alt text' instead of the image (when the image is not found, or if the browser is not displaying graphics, etc. How do you detect that? or should I?
I am working with a bunch of old code so I can really restructure the includes, otherwise I guess I could change all the #include statements to #include-once. Anyway, If I have a file with a class like this:
Class myClass end class
I get a "name redefined" error. I've been seeing these and indeed from goolge searches, it's because the file is somehow included more than once. This problem doesn't occur for functions and the old code bases just used functions whereas I would like to add some classes. In C you used to be able to detect that at the top of the file and not included the rest of the file if it is allready included. I just want to at least detect it so I don't redeclare the class.
How can I get the url of a page in asp and detect if there are no variables appended to the end? Would I somehow get the address and do an instr for the ? character? Code:
Could anyone show me a tutorial or like show me a script in asp that can detect to see if the mysql backend is working? And if it isn't then to display a message that says something like "out of luck."
Is there a way whereby i can detect where the user came from?
For example:
if this user came from www.mywebsite.com/a.asp theni will redirect him to c.asp but if he came from www.mywebsite.com/b.asp then i will redirect him to d.asp
I need to add in some specific browser detection in my ASP to identify Mac IE5 running OSX - is there any wahy of identifying this config alone - and not just identifying all Mac IE5s? If you have OSX Mac IE 5, please visit this page which will give your User Agent string.
The delete method of the FileSystemObject.FileObject does not return a result. If permissions disallow deletion, it will not raise an error. Conversely, if the delete method does succeed, a call to FileExists directly afterward may return true because the system hasn't updated yet (or whatever actually goes on). Is there any way to accurately check the result of a deletion?
I searched around everywhere on the net, but could not find a simple example of detecting if cookies are enabled - on server side, and without moving from one page to another.
This should be a very basic functionality, so I am reluctant to believe that there's no way to simply test it in a server-side script.
I've been working on this wysiwyg web editor. The editor lets you upload images. Only .jpg, .gif and .png files are allowed. Now I should be able to detect if the uploaded .jpg image is in RGB or CMYK mode. Only RGB images should be allowed. Can this be done with ASP?