I am working on a page in ASP where the user takes a quiz and if they score 80% or over they can print a certificate with their name on and some other info from the database.
I have to use a template for the certificate as it will be authentic and credited. (it could be in .doc or .pdf format or any other that you might suggest that can be formatted properly).
is there a way to do this is ASP/vbscript?
Due to the nature of our system, we need to dynamically import certificate files into windows certificates store and access the certificate store from ASP pages, these ASP pages call a VB dll component, which uses the CAPICOM component to manipulate windows certficate store.
Because ASP is running under IWAM account, we got "Access is denied" error when trying to import the certificate files. We registered the VB components under COM+ to get around this security problem. However, recently we are experiencing all sorts of problems with COM+ ( eg. DLLHost.exe hang with 100% CPU after heavy traffic, ActiveX component can not be created out of sudden), we decided to move this VB component out of COM+, which means we are facing the same old "Access is denied" problem again. Code:
We have an existing in-house solution that allows authorized third-parties to make internet requests to our web server. (using the inet / internet transfer control). The communication is established over SSL - TCP:443. We have a typical load-balance scenario where the incoming request is forwarded either to IP.A or IP.B.
We have a total of about 5 requests per minute from various third-parties that have connected with us. For the sake of simplicity, let's assume a third-party to connect with an IP - 10.10.10.5. They hit our load balancer's public ip (e.g. 10.10.10.8) where the request is forwarded either to the primary server (10.10.10.6) or the secondary server (10.10.10.7). Every ALTERNATE request is forwarded accordingly, i.e. Code:
I'm finishing up a site (IIS/ASP/SQL) that has to use an SSL certificate. The certificate's already purchased, and the hosting service *says* it's all set up.Only a handful of internal pages on the site need to use it.
So, though nearly all the internal links are relative, I've used the whole https://www.domainname.com/whatever.asp URL in the links to "secure" pages.And it doesn't work. IE 6 just draws a totally useless error message of something like "Internet Explorer cannot access the page."
i am trying to create an application which will look into the microsoft certificate server database and display all the pending, issued, revoked and rejected certificates to the administrator in the visual basic application.
i have referred to the msdn library and have tried to use the code given there however to no avail, the code doesn't seem to work for me can any one please help me with this.
I've upgraded my web server (W2K, IIS5) to W2K3, IIS6.0 with the web application (ASP, not ASP:NET) that uses client certificates.
Basically, when the user provides the client certificate, the asp page takes the public key and checks in the database for that public key. If it finds the key, it then maps the user to the firm's id.
The code that takes the client cert looks like this: Code:
Is there a way I can put a print button on my asp that will actually print the current Screen opened. My asp has an access backend.On my asp page can I have a button that can actually print a report from the Acesss Database.
Is there a way I can put a print button on my asp that will actually print the current Screen opened. My asp has an access backend.On my asp page can I have a button that can actually print a report from the Acesss Database.ie a button that will go the report section of access DB and print teh report that I want a way to get around with the appropriate codes will be appreciated as I am new to asp programming.
I have written a report in ASP that comes up in .pdf format. It is exactly what I want except I can't control page breaking. The report lines roll over automatically thus I don't have a report title header. Is there a way in ASP to perform that task? I have also read about using .css for this, but can't seem to find a good example.
Is it possible to send a file directly to printer in ASP? I have an ASP page display the list of files associated with the record with hyperlinks to the files. I want to provide a link next to each file to allow people to click the button and send the appriopriate file to the printer. Is it possible to do this in ASP or ASP.Net?
I need to take the report of Ledger of all the customers. I want each customer Ledger to be printed on different page with same page headers and page footers. Only the the Name of the customer and his ledger information would be changed.
One cutomer's Ledger can go for more than one page, In that case it must print the data on the same number of pages and start the next customer page after this customer's ledger finishes.
Infact I am looking for complete reporting system as we can make in Crystal Reports with Classic Visual Studio or .net.Hope someone can help with dumy Sourcecode. Infact I need to know how I'll format in HTML. ASP and Database queries are easy to run.
I have big problem in printing.. I am getting 20 colums of information from my database.
in asp, the width of the page is long. The problem now iam facing is printing, its only printing those information which are visible and the rest on the right side of the browser is not printing..I really dont know what to do.
I have an asp page that displays a recordset from a table in paginated format with header values on each page from another table in the database. To print, one needs to click the print button and a new page properly formatted pops up and opens the print manager in windows.
One must do this for each page. If I have 300 pages that's a lot of work for the end-user.Attached is the code I'm using to print.Does anyone see how I could make it utomatically print ALL the pages, rather than one at a time?
What I want to do is spit recordset variables from the database and place them on a page so they can be printed. The problem I am running into is that it cuts off part of the printed page. Does anyone know of a way to clean produce a page to be printed even if there is multiple pages so that it does not cut off text?
I'm in the middle of a project using ASP pages that access an Access database. I'd like to know how I can print a page without IE putting the Page X of X at the top and the address/ date at the bottom of the page.
I am using a simple printer friendly page the opens up as a new window. I use a DIV TAG called "printReady" in the section I want to print (Printer friendly) then in a javascript function I do this:
var printFriendly = document.getElementById("printReady")
var strHTML = printFriendly.innerHTML
I then open a new window with the Javascript and write the HTML (mostly Text) to the new window.
var printWin = window.open("","printSpecial"); printWin.document.open(); printWin.document.write(html); printWin.document.close();
This works fine, but if the page is to wide using Landscape is fine, but in portrait mode it only prints one page the cut off part is not printed on the second page. Some times the page will print but the text is missing. Only the table outlines print.
Any one experience this before or have any suggestions if this can be overcome.
i gave a print option for a html page. but that is printing the url which i doesnot want. also is there a way that when user prints it should also display page numbers. How to get rid of the URL while printing.
I have a asp page that has a print button. After the page is printed it refreshes the page and give me an error saying that parameter @TRN_CODE has no default value.
What I don't understand is why I don't get that error the first time the page loads. It has no default value then either. It always get that parameter from the request.querystring.... anyone have any ideas? Code:
I am trying to create a popup page to print little cards to Avery labels. I can get the page to work out but it always prints the margins to far over so it doesn't fit in the cells. I was wondering if any one new any resources to give details on how to accomplish this or of another method?I have also tried creating a dynamic word doc but then the user could change the text values which wouldn't work.
IN Windows 98 below script was running fine <SCRIPT ID=clientEventHandlersVB LANGUAGE=vbscript> <!-- function button1_onclick() Const ForReading = 1, ForWriting = 2, ForAppending = 8 Dim fso, f,a Set fso = CreateObject("Scripting.FileSystemObject") Set f = fso.OpenTextFile("c: estfile.txt", ForWriting, True) f.Write txtout.value & vbcrlf f.Close Set a = fso.GetFile("c: estfile.txt") a.Copy ("c:lpt1:") 'msgbox("helo") end function --> </SCRIPT>
but after installing XP giving error ACTIVEX OBJECT CANT CREATE OBJECT.
I know this topic has been flagged to death in this forum and there is always a limited response, but here goes.
I wish to format a html page (which is to be printed) programmatically using asp/javascript/css....whatever. I particularly want to set page layout to landscape and suppress the header and footer crap that IE adds to each and every print out. Now i can basically get page layout to go to landscape by creating a css file and having the following code:
<style type="text/css" media="print">
@page { size: landscape
</style>
However, no matter what i do i cant get rid of the header and footer IE puts on every page. There is a third party app from meadco scripting that permits users to do this but you have to install on each and every client that is going to be printing !! Which we dont want......so if they can do it, it must be able to be done !! But has anyone any inkling on how to do it?
I have been asked to produce a web form that can be completed with various customer and product details, populated where necessary/possible from a database. This form then needs to be printed as an A4 document.
I have never dealt with printing from ASP before, but I know that simply trying to print a page to an A4 document causes you to end up with numerous bits of paper, most with almost nothing on.
I also need to ensure that the URL and other details that are apparent if you directly print from a browser are not there.
I have submit button on my form. I want the ASP page to print the html page when the user click the button. or automatic printing in any way shape or form will be fine. Is that possible?
How would it be possible to print some output before the script is finished, or a line at a time if possible with HTML specs? This is because I'm running a LDAP query that takes some 30-60 seconds to complete after which it prints out the info. I would need some status printed out in the middle or before so that user knows that something ought to be happening in the background I've tried printing the info in between head-tags, but it didn't do the job
there are many ways to make this happend but what is the best way of printing sql records in non divided number of columns-say 5 columns? say you got 10,000 names and you want to print it in 5 columns, that is a poor drawing of 12 records in 5 columns:
1 2 3 4 5 6 7 8 9 10 11 12 ...every one of this 12 is a name
printing a name + checking if is there some ditails reffered to this name in other table column...
When a person clicks on the image it opens up print.asp What i want to do is when a person clicks on the image i want to print the page print.asp i tried window.print but its not working can someone tell me what i am doing wrong