Web Forms :: Get Client Machines Installed Printers Name?
Jun 6, 2013
I am developing a web application in vs.net 2010 using asp.net 4.0 in c# and using IIS. Application is running success fully in local host and server. when run application without IIS in local host then I get all printer name ( installed and also not installed).
but the problem is that when I run application with IIS in server then application running successfully but I am not able to add printer name in drop down list of client computer.
How to open Excell file if client machines does not excell installed? My code is writtenusing Microsoft.Office.Interop and Excel in code behind. I know how to export grid data using Application type as xls etc, but the issue is the whole grid data with id columns also will be exported and i don't want to export id's. How i can acheive this?
I have a website that uses the ajax control toolkit targeting 3.5. We use tabs control on a few pages. On some client computers the tab control is not displayed. It doesn't collapse the are like it has a placeholder for the control but nothing shows up. No error message is given. Has anyone experienced similar problems.
Initially after deploying SSRS 2005 report on server, the client machine could not avail print functionality because of the error "Unable to load client print control". Inspite of allowing ActiveX installation, the print functionality was not working. Googling on this issue I found that rsclientprint.dll needs to be registered in C:Windowssystem32.successfully registering this dll, print functionality started working on some machines. However on some machines it started giving the error 'Error loading resource library.(0x8007007E)'.
And we deploy it onto customer machines. The application calls various .exe files on the the machine. We sometimes get permissions issues and we were wondering what the reccomendations are for deploying web apps in this way. Should we be telling our customers to leave the app out of the domain until we install our software and have it all up and running?Are there any articles that would go over permissions and how c# and asp.net interract with the machine?
I need to develope on web page using asp.net 2.0, on page load i need to check that particular software installed or not on client computer, i have develope one page for same using following code,but when i upload this application on server page give me details of server machine,while i want details of client machine on which user will browse our application,please help me short out this problem.
We have a Citrix .ica file icon that will be placed on a web page. Is there a way to detect if a pc has the Citrix client installed?
Our end goal is to display a message at the bottom of the page with a link to install the Citrix client from our network share. But we only want to the message to display if the client pc doesn't have the Citrix client installed.
IIS 6.0 hosting ASP.NET 3.5. From the Visual Studio 2008 aspx code behind (aspx.cs) running on the server I need to determine if Silverlight is installed on the client and if so which version. I know from Java on the client this can be done. That is not what I need. I know I can put in a control that will render if Silverlight is installed. That is not what I need.
I have a c# website that allows a client to connect directly to a remote SQL Server database from their PC, bypassing the web server, by using a 3rd party ActiveX control. I was originally using the SQLOLEDB provider and it was working fine. The clients are in an internal network (using Windows machines and Internet Explorer) and the website is not intended for exposure to the general internet.
I had to upgrade from using the SQLOLEDB provider to the SQLNCLI10 provider to cater for the new datatypes in SQL Server 2008. It worked on my PC, but broke in production. What I didn't realise is that it worked because the SQLOLEDB provider is part of the Windows OS (MDAC/WDAC) so already exists on the client's PC. The SQLNCLI10 provider is included as part of SQL Server 2008 and has to be installed separately on the client machine (because most of them won't have SQL Server installed, but I do).
I can provide a link for them to download a standalone Microsoft SQL Server 2008 Native Client provider from, but how do I check if they already have it installed?
Does the client require the .NET framework to be installed to run an ASP.NET application that is using the report viewer control? It is my understanding that all ASP.NET web applications can be run from any machine and that the .NET framework only needs to be installed on the server where IIS is running. Is this correct?
I am devloping asp.net application.I am devloping in network so i have installed AJAX toolkit on server but the problem is its not running on client.its perfactly running on Server
I'm developing a web application for my office, i'll be storing floor images of my office in the database, i now need to show users on that web page the FLOOR map of my office building and printer icons where all printers are located. when user clicks on any printer icon, i need to invoke printer drivers to install.
I am trying to find an easy way to add network printers to clients when they click a buttong. I am trying to do it with the shell command however it is working on the machine I am building the site on with visual web developer, hoewever it does not run when I publish the application. I am using asp.net VB
I need to show printers installed in network. I used the below code to show printers but locally it shows network printers, but when hosted in IIS it doesn't show network printer.(shows only local printers).
[Code]....
Here if ((bool)mo["Network"]) is used to show only Network printers.
Is there any way to get network printers in ASP.NET?
I need one web application where User can select one of all attached Printers in Network.I am getting idea how to start.Is there any API or any ActiveX Control that I can use for that.
i have a forms application which pings all the network machines. this works fine and also returns the status of each machine i.e. sucess, timeout etc. however i also want to get the name of the remote machines so i use this code:
[Code]....
the above code works fine however any exception is given when the remote machine is a mac. the exception is:
[Code]....
how can i counter the exception so that it simply ignores the exception and carries on the for loop for the other machines.
I have tweaked some button colors on a webform after updating those pages on server where iis is.From my local machine i can see the updated colors of button.But in some of the other users machines they still see the old webform.even though they refresh there IE.but when they use firefox they can see the new changes.What is wrong with IE, even after deleting cache still it is showing old webform.
i made website on c# and font used is "Myriad Web Pro", On my system it looks fine. but when i browse my website on another machine its font changed and looks different, how to sort this problem.
I have application..its runnning on my localhost.. i need one more machine to access that application.. but when in tht link i type my IP address instead of localhost.. it showing cannot find server.. in orderr to access appplication to other machine.. as such there is no UAT server as of now...
I'm having a problem when I deploy my web application in different servers. There seems to be an inconsistency in some DateTimeFormat patterns, like ShortDatePattern, using the same culture (pt-BR).
In my development machine (Windows 7, .NET 4 installed, application targeting .NET 3.5) and a Windows Server 2008 R2 (with the application targeting .NET 4) server the ShortDatePattern is "dd/MM/yyyy" - which is the correct, I guess.
In the production server (Windows Server 2003, using .NET 3.5) it is "d/M/yyyy". It is causing me tons of trouble.
I could solve the issue by setting the patterns by hand, but I'd really like to avoid doing this every time I need to output a date. Specially since this will be non-trivial in many places (like where I use MVC's Html.TextBoxFor) and will require a good amount of rewriting.
If there's a way of changing the patterns for the entire web application in one place it would be great. I've tried the following approach in the Global.asax.cs file, with no success:
CultureInfo info = new CultureInfo(System.Threading.Thread.CurrentThread.CurrentCulture.ToString()); info.DateTimeFormat.ShortDatePattern = "dd/MM/yyyy"; System.Threading.Thread.CurrentThread.CurrentCulture = info;