Print HTML page in WinForms without using IE
Is there any way to print HTML page in WinForms without using IE? Some our customers have problems with IE8 at Windows XP and I want to implement printing without dependence on IE. ...
Is there any way to print HTML page in WinForms without using IE? Some our customers have problems with IE8 at Windows XP and I want to implement printing without dependence on IE. ...
Hi, I have a graph created with MS Chart like the following picture. As you can see the vertical lines are messed up with value of the top of each bar. Here's the mark-up for the graph: <asp:Chart ID="chtNBAChampionships" runat="server"> <Series> <asp:Series Name="Championships" YValueType="Int32" ChartType="Column...
I have bunch of COM dependencies and my build script emits tons of following warnings: c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning : The type library importer could not convert the signature for the member 'DISPPARAMS.rgvarg'. c:\WINDOWS\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets :...
Is there any way we can host .NET (.asmx) web service on web logic? Thanks Paresh ...
Is it possible to disable all authentication in a subfolder of a web site that is Forms Authenticated? How do you accomplish this? ...
Hello all I need to call from my code for some other program . And I need to wait till it finishes (synchronous call). How I can do so ? Thanks, a lot. ...
I am quite new to WPF. I have a page that displays data from a SQL database using L2S. The L2S returns a DataTable that contains all the available options to choose from for a specific area. Every row it returns from the DataBase needs to be a checkbox and I want to put those checkboxes in a stackpanel. Am I looking at databinding to...
How do I get the current line and column numbers in a RichTextBox in a Winforms application? NOTE Folks, I just want a simple solution, if it's available by someone and he's willing to share it with us, and not links to do research! Just give me some code please! Otherwise, I'll have to buy a control... ...
i am searching in a while loop for a particular character to check whether it reached the end of file. Which character which i can search for ?? Eg: Indexof('/n') end of line Indexof(' ') end of word ???? ---------- end of file?? ...
Woo, I have a doozy of a problem (might even be one for the Daily WTF) and I'm hoping there's a solution. (My apologies for the long post...) I have been working on a website that I inherited about a month ago. One of the parts I have been working on is fixing one of the controls (essentially a dynamic header bar) so that it displays ...
An application I use, Mozy Backup, adds its own "drive" to Windows Explorer that I can browse and view all the files I've backed up. Windows knows it's not a physical drive - it's shows up under "Other" if my drive list is divided by type. How is a "drive" like this registered with explorer? I'd like to do this with a current .NET appli...
I am using the WPF Calendar that is part of the WPF Toolkit. I have two different calendars on a control. When I attempt to choose a date from one calendar and then from the second calendar, I have to click on the second calendar twice to get it to choose a date. Has anyone else had this issue and know of a solution? ...
Hi, Just to ask if anyone knows of an open source alternative to RedGate's Reflector? I'm interested in checking out how a tool similar to Reflector actually works. Thanks, MagicAndi. ...
How to (i) read the html contents of the web browser control (ii) modify it and (iii) redisplay it on the screen? (simular to firebug, http://getfirebug.com/ where you can load a webpage, change the html tag value and it would display the change on the screen) ...
Hello! Have you been doing some ASP.NET MVC developement involving Spring.NET and NHibernate both? I would like to see an informative example of such setup, so I could build my own project off that. I tried googling, found some pretty things like S#arp Architecture, an article about regular ASP.NET (WebForms) integrated with the framew...
What are the differences between a Just-in-Time-Compiler and an Interpreter, and are there differences between the .NET and the JAVA JIT compiler? ...
I need to validate the username and password set in SmtpClient object before sending mail. Here is the code sample: SmtpClient client=new SmtpClient(host); client.Credentials=new NetworkdCredentials(username,password); client.UseDefaultCredentials=false; //Here I need to verify the credentials(i.e. username and password) client.Send(m...
Hi, I'm implementing a simple update mechanism for an application I'm writing the last part of the update process consist in renaming the current application executable file from something like myApp.exe to myApp.old.exe and then renaming the freshly downloaded and updated file from myApp.new.exe to myApp.exe. I'd like to find a way fo...
I'm trying to subclass the .NET 2.0 Gridview control and implement a custom Update to perform when "edit" is clicked; however I get the following cryptic error message: "An unexpected error has occurred." I'm trying to access our db logs to see if its failing there, but until i get access, i cannot debug the issue. Here are snippets of...
I'm wondering whether I'm receiving the 403 errors because there are too many attempted connections being made to the webservice. If this is the case how do I get around it? I've tried creating a new instance of InternalWebService each time and disposing of the old one but I get the same problem. I've disabled the firewall and the webser...