The following code is used to show installed printers on a computer,it works on server machine,however, if use a client machine to browse, it also shows the intalled printers on the server machine.Actaully, what i want to do is to show what printers installed on your own machine (that means show it on client-side)...
I have a strange problem. I have to show demo presentation in CD. In this presentation record will be show from database. But we dont have to install the database. any body can see the cd and can search the data. how it is possible because the databse will not be installed in CD and computer also.
I have VBS code that will Enumerate all the Printers in the AD and Add the Printer Connection to the client... I'm just not a web developer so I need some example code or hand-holding on the web integration portion.
"Aaron_TekRecycle.com" <aaron_NAME@DOMAIN_tekrecycle.com> wrote in message news:eNuYPY#TDHA.2260@TK2MSFTNGP12.phx.gbl...[color=blue] > Does anyone know of an ASP page that will query the AD and list all the > printers so the users can "click to add" printer mappings to their[/color] profile?[color=blue]
I would like to get more info regarding how to print barcode from ASP page to the default printer on the network(based on IP)? Been trying to google for related info but couldn't find any that helps as most of them are .NET related.
Maybe someone here can tell me where can I find more info regarding the question above?
I have a VB6 ActiveX DLL that we use for printing. It iterates through the printers collection to set the printer to the one the user requested. This is called from ASP (VB Script) pages, and from a VB Web Class application. The problem is, sometimes the printers collection is empty, so it fails to print.
The COM+ package is configured to run as a known user. This user has printers configured. If we logon to the Web Server as the known user, and restart component services, then the printers appear and it all works. if we leave the console logged on, it keeps working. If we log the console off, then at some point (overnight), it 'forgets' the printers.
We now have a customer where leaving the console logged on is not an option. And they do not want to logon to 'kick start' it. The first users come in early in the morning, before IT is at work to resolve teh porblem.
This is occuring on Windows 2000 Server, and on Windows 2003 server.
I have tried:
- Searching the web. - Using EnumPrinters instead. This gives the local pronters, but not the network pronters. - (I am trying) using OpenPrinter first. - I have tried to find a way to force the DLL to initialise the security, without success.
Problem is, when there is a fire we need to check who is out and who is burning. I have been trying to think of how to go about this, perhaps the only way is by having an 'emergency print' button that quickly prints thedocument to one, or even better all printers on the network. That way when everyone is leaving they can grab the print from the printer.
Probably the only other way is to make it email a list of all the people who are not signed out and send it to someone with a PDA phone I guess.
So my question is, how do I get it to have a button you click which will print the page to a printer without needing any further input. Also, is it possible to make it print to a certain printer on the network, and can I make it print to a list of printers (or even just any printer it can find).
How do I programmatically check whether ASP and Server Side Includes sub-components of the World Wide Web service are installed on a Windows 2003 Box? I want to do these checks as pre-install checks for a software.
I just installed IIS in my W2k machine.. have hardly ever done any asp. first thing I need to know is how do you change the port once it's intalled (since http://localhost is address for my Tomcat (JSP server..)) I see no read-me or config instructions with this install.
I have my asp successfully creating excel file viewable through IE using the header:
Response.ContentType = "application/vnd.ms-excel"
If the user does not have excel installed they get a IE pop up that downloads the asp page in question. My question is there anyway to interrupt this and tell them that they don't have EXCEL installed, rather than showing this download pop up.
I need to detect if a users browser is Java enabled for a certain function on my site. If it's not enabled I need to direct them to a page telling the member that, else continue and load the applet. I don't dabble in ASP at all but I've exhausted all other methods.I've tried the following code (as a test) which loads up the redirect regardless of Java status.
If Len(Session("AppletFileArchive")) = 0 Then Response.Redirect "somewhere.php" End If
I was searching for a code that allows me to know when anyone installs a script I made. This code sends me an email including the URL of the installed script.
lots of acronyms in that title! Anyway, this is probably a stupid question because it seems as if you do but could someone confirm? I keep getting 500 errors when attempting to run the pages.
I have an ASP project that uses websheet component for calculation. All the users now are upgrading to office2007 which does not install the Office Web Component by default.
I want to add code to my project that will check if OWC is installed on the client machine and if not prompts him to download. Does anyone know how to do that or where I can read about it.
If i am using ASP to extract data from an excel file, does excel definitely have to be installed on the web server? The file will be located on a separate folder away from the web server.
I ran some script and confirmed tht CDONTS exists on the server...which runs on Win2k and has IIS 5.0 When i run my email script,no error is displayed ,but i NEVER get the emails im trying to send. What could be the problem.
I need no send birthday emails every day. I need something to check everyday on my database for birthdays, but I don't have any components to do that and I dont have rights to install it on my webserver.
Is there a way to do it without installing anything? Only through asp?
Since I want to be able to send a confirmation e-mail (containing user name/pwd etc.) to every visitor that enters some info in a form on my web page I wonder how that is done.
I have heard about SMTP and CDO but don't know the differences or which one is applicable in my case
I'm running xp-pro and use my computer as a web server but don't know if I have SMTP installed (or how to use it if it actually is there).
I'm building an Intranet for my company and would like to retrieve the computer name of the users PC which they're using to access the Intranet. Is this possible? If so how?
I need to get the computer name of the computer that is accessing my page.I have a web app on an Intranet (server) that is getting the name "INTRANET" if I use the " Wscript.Network " code. If I access this web app, I need the name of my computer, the one accessing the web app, not the name of the Intranet server.
I use Sql Server.I want to back up a database on server over network to my computer.I do not have Sql server on my computer.It will be kept as a file. The questions come to my mind:Should I first back up database from Sql server to server which Sql Server resides? or Is there any possibility to back up database from Sql server directly to my computer over network?If it is not, how should I accomplish this? Using Vbscript?First Create "Scheduled tasks" then using ".vbs" file which I will create to automatically send file to my computer over network.
we have 7 computers can access our web application.Is there a way I can use their computer names to identify which computer login?I use asp and javascript.
Is there a way to request the computer name (ie. Request.ServerVariables ("REMOTE_ADDR"))? I want to be able to pull the computer name and enter it directly into a form, but I'm not sure how to pull the name.
Does anyone know where the cookies are stored in the computer. I guess depending on the brower the client uses, they are stored in diff places.
But when i make a search for cookies, i can find few txt files inside the cookie folder with names userid@websitename[1].txt but i cannot see the any cookies with the domain name iam working ....
I have a network. Let's say the ASP pages are on computer 1. I try to open the pages from an other computer, let's say computer 2, in the network. How can I realize this? I tried to make a drive (M:) on computer 2 which referes to the (shared) map on computer 1 where the ASP pages are. The pages are shown, but the asp-code isn't used in the displayed page. Only all the html-content is shown. Is there any (other) way to show the ASP pages on computer 2?Computer 2 is not connected to the internet, so over the internet is not an option.