Answer Questions
kula howto convert xml to html using xsl and display result in WebBrowser control
Hi, I'm trying to display some html in a WebBrowser control. The html should be built by transforming an xml string using an xsl file. This is the code I use: System.Xml.Xsl.XslCompiledTransform transformer = new System.Xml.Xsl.XslCompiledTransform(); transformer.Load("C:\\XSL\\" + xsl + ".xsl"); System.IO.MemoryStream ms = new System.IO.MemoryStream(); // reader is an XMLReader that is filled using a stored procedure transf ...Show All
Scott Berry Memory issue
Hi buddies, I am facing serious issues on memmory release. Issue is after disposing the objects also the memory is not releasing. It may be my code issue. I am using IDisposable to dispose and using, [System.Runtime.InteropServices.DllImport("Kernel32")] private extern static Boolean CloseHandle( object ClientList) to release the objects to memory, but still the app is holdin the allocated memory. Please help&nbs ...Show All
trianta99 An economical way of filling a listbox?
An economical way of filling a listbox I fill an authors listbox using the table adapter. It's one thing with a lookup table with 30 or so rows, but I have hundreds of authors. Above the listbox the user has a choice of adding another author(s). When that form closes the AddAuthors button refills the table adapter. Is there a more economical way of doing this I don't need to move among the authors or delete them. I have ...Show All
firstspirit Need your opinion!
I need someone’s opinion on an issue im having. I just started working at a new company a couple of months ago. A project manager and I are looking at things a little differently about development of a certain project. Here is the problem and or argument. Calls are made to the database to retrieve data in a dataset. Now does it make any sense to take the data in a data ...Show All
Thomas Freudenberg Is there any way to register a MMC Extended property sheet that I created in C# using C# code?
IS there any way to register a MMC(2.0) Extended property sheet that I created in C#(with a com wraper) using C# code If not, how can I register this new extended property sheet for MMC 2.0 in the .net environment Thanks, Alpha There are two things you have to register for a property sheet extension. The first is your extension class implementing IExtendPropertySheet interface. You can use regasm to register your COM (wrapper in ...Show All
高? IEquatable, IComparable, operators and Object overrides
Framework Design Guidelines provides example implementations of IEquatable, IComparable, suggested operators and Object overrides as roughly: public struct MyValue : IComparable<MyValue>, IEquatable<MyValue> { int theValue; public int CompareTo ( MyValue other ) { return theValue - other.theValue; } public bool Equals ( MyValue other ) { return CompareTo(other) == 0; } public override bool Equals ( object obj ...Show All
Namedetails Avoid Repetition of primary tables's record
hi all, can you tell me how to avoid repetition of main records when one main(Primary table) record have more than one child(secondry table) records. I am using DataList to show records. For example I want to show the following Tools & Equipment http://www.mobmasti.com MobMasti Mobile Portal Manufactures http://www.manu.com Manufacturer desc manufactur Rental Companies http://www.rentit.com ...Show All
Streetkeeper ViewState
I am getting a "The viewstate is invalid for this page and might be corrupted". This error only occurs occasionally. It seems to be when the viewstate is particularly large. It occurs more with datagrids than anything else. One more thing, it does not occur on port 93, but does on 80 I have seen lots of posts on this problem, but none fit my scenario and none have commented that it works on one port and not on another. Mark ...Show All
mangelp Just curious if asp.net can do what google does?
Hello, I just saw google's personalized front page and I think they way you can move/add modules around on the page is a fabulous idea in real time. I was just curious if asp.net had some type of functionality like this where you can have web controls layout on a page and allow the user to move them. Are there were any samples out there. Thanks in advance. John cgraus, Thanks for the quick r ...Show All
lvandiest regex performance problem
Hi, I have this string, ",(None Active),1.0.0,1074005504,AL2000000,1_271005132951,ALLTEL,ripItem_271005132951,BREW Application,Operater Managed Item,27-OCT-2005 13:30:00;" and I run this regex against it, "([\w\s]+)*,([\w\s]+)*,1\.0\.0,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*,([\w\s]+)*" When ever I run my code, or run the expression in Expresso, the regex engine freezes up or something and doesn't stop searching. Is the ...Show All
asitkk SSL socket connection
Hi How to make connection to a SSL server (ex: POP server) using System.Net.Sockets or any thing else (whitout using third party). thanks You can check: www.mentalis.org, they have a free SSL implementation in C#. There is not SSL implemenation in .NET 1.x as far as i know. In .NET 2.x you can use the Secure Sockets. ...Show All
dee-u Advice on Parameter problem with Odbc call returning multiple result sets
Hi all, I need some help with a problem regarding parameters to a stored proc please. To set the scene, I have a C# app that gets data from a database. To do this it calls a stored proc "getData". getData is called through a Microsoft.Data.Odbc.OdbcCommand object that I have. The stored proc returns two result sets, I read all of the data in the first one by using IDataReader results While (results.Read()) and I move on ...Show All
nelson br Reinstall MDAC on XP SP2
Hi, how reinstaller or to update the MDAC on Windows XP service pack 2. Thank you in advance I have the MDAC 2.8 SP1 installed but when that I want to reinstall them with the setup microsoft it do not want to install it Hi, Check which version of MDAC you have first: http://www.microsoft.com/downloads/details.aspx FamilyID=8F0A8DF6-4A21-4B43-BF53-14332EF092C9&displaylang=en You can then download the appropriate late ...Show All
RumWarden SQL no connect
I can look in server explorer and see my Server along with the database i am wanting to use but when i run the program it will not connect and tell me i do not have sql. I am trying to run one of the quick start samples. Public Class frmMain Inherits Form ' AssignsData will hold order information that is returned from ' SQL Server. Protected AssignsData As New DataSet ' Used to reference the table containing pro ...Show All
Anne Taussig_MSFT Tcp buffer
Hi, Client applications for my application are sending about 1500 short messages/second via Tcp sockets (local sockets, I mean on local host). Besides, my application is running on more than 60 PC, routing commands also via Tcp sockets. I fight againt my colleagues (programmers of these client applications) asking for using ACK but they did'nt want. So, I rely on the Tcp buffer and read (and handle commands) as fast as I can this Tcp stream. Wh ...Show All
