Answer Questions
dlsmith68 how to implement syntax highlighting?
I would like to learn how syntax highlitghing is done and implement an SQL syntax highliter in my own windows app using .net 2.0 Can anyone point me in the right direction Or give me some tips on what to do Thanks all Check out SharpDevelop. It is a open source and that means that you can checkout the code and get what you need ;) ...Show All
yanci1179 Trace Listener
Hi All, I've created a Trace Listener application that streams to a text file. The app is working but now I am at the point where I need to attach it to a certain application running on the target machine. Do I 'HAVE' to attach my Trace Listener to the process in order for it to capture the target app's trace messages Or should the Trace Listeners collection just pick up any trace messages from all applications on the machine... I f ...Show All
kenl1234 TCP Server Design Problem
I am working on a TCP server that needs to be able to handle an average of 500 sustained connections, so having a thread for each client seems a bit crazy. So I wrote one using Async Sockets, but it is raising a strange exception: "The Undo operation encountered a context that is different from what was applied in the corresponding Set operation. The possible cause is that a context was Set on the thread and not reverted(undone).". G ...Show All
Wesamsoftware Getting ID, calling url, search for value, return value
Hello, I am new in developing web services and hope you can help me. I would like to run a web service. A client will send an id. This id should be taken by the web service. After that the webservice should call a url with that id, e.g. www.testit.com/moreinfo.aspx id=[ID ] This website will contain valid xml information. The xml has got a element called <info>. That info should be return first to the web service and then to the clie ...Show All
Vorn Windows application built for Framework 1.1 does not run with Framework 2.0
I have an application developed with VS 2003 for the Framework version 1.1. I do not distribute the framework with my installer for obvious reasons. When people download and install my software, the installer directs the user to the Microsoft site where the framework can be downloaded. Here is the problem: Currently, MS offers version 2.0 for download, but the installer demands version 1.1 of the framework. Can anyone help me how to change the s ...Show All
yush IIS programmatic access and Directory Service Client
Is it safe to install this CSclient and if so where can I find the installer download for XP Pro I'm programming in C# and I read that because of this I must use the System.DirectoryServices namespace to access IIS. I'm trying to figure out how to programmatically access IIS applications and I've come across the MS article in the IIS SDK on " Using System.DirectoryServices to Configure IIS ". It says I will need to install the D ...Show All
OgaNS MSXML 3.0 Programming xml data into Excel 2000
hi i have to show xml data into excel 2000 in a formatted way for that i am using MSXML 3.0 DOM object but i am getting while programming bcz i am not getting any suitable help of programming for that could any on have any idea about it and could send me some link regarding programming help. Thanks hi Umut Alev Thanks for help I have to use Excel 2000 only and yes i have to save back the data i ...Show All
Rahul Kate Socket, detect message boundaries for objects - working code?
Hi, I'm stuck with a problem that is bugging me for days. I'm custom serializing objects and sending them across async TCP sockets. However, I have a problem deserializing messages when the receive is split up in different packet sizes and I just can't figure out how to get it right. The problem is, that all works fine for a couple messages but then the header size is read incorrectly (I'm sending a header for each messages that tells the length ...Show All
pfpgroup Remove a table from xml file using C#
Hi, How can i remove a table from an xml file if the date is old using C# This is how the xml file looks like: <root> <table> <id> 0 </id> <date> 20060404 </date> </table> <table> <id> 1 </id> <date> 20060822 </date> </table> <table> <id> 2 </id> <date> 20060904 </date> </table> </root> What im trying ...Show All
jasalandra Xpath
How can I test for the existence of a element or node in xpath Here is example: XmlDocument doc = new XmlDocument(); doc.Load( @"c:\books.xml" ); XmlNode book = doc.SelectSingleNode( "/bookstore/book[price>35.00]" ); if ( book != null ) { // TODO: Add logic, the XmlNode was found. } else { // TODO: Add logic, the XmlNode was NOT found. } Unfortunately I need this test ...Show All
bp457 TableAdapter Update problem
Hello, i have problem in my application. I create dataset with single table. In MainForm i have 2 texboxes and update button. This is code for update button: [CODE] Klient klient = new Klient(); klient.ShowDialog(); KlientDataSet dataSet = new KlientDataSet(); Serwis.KlientDataSet.KlienciRow klientRow = dataSet.Klienci.NewKlienciRow(); klientRow[0] = Guid.NewGuid(); klientRow[1] = klient.Imie; klientRow[2] = klient.Nazwisko; ...Show All
JustCheckin Using java collections in .net
is there any such dll available that encapsulates the java.collections namespace/package which i can download and use in the .net framework(because i personally feel that .net version 1.0.3705 does not provides its users with a rich and optimized collection framework) Thanks Rohit You want a better collections package... http://www.wintellect.com/powercollections/ David You can use J# . ...Show All
mika adding application path in dill import c#
hi friends, i want to include application path in my dllimport statement when i try to declare a variable in the class it's showing build errors .. Plz help to me .. my code sample is [DllImport(@ "E:\PAVANDV\niitflashinc#\Niitinitialize\SFlash.dll ")] public static extern int ListCardReaders (out int plRDRcount, int pbRDRlist ); [DllImport(@ "E:\PAVANDV\niitflashinc#\Niitinitialize\ ...Show All
Mog0 Grant File Access To Another User
I would like to know how to grant, to a specific user, access to a specific file. My application user would be an administrator on the machine where the file is located. The user I want to grant access to the file is also a user on the machine. How can I do this in C# (.NET 1.1) Thank you Thank you for your reply. I think that your solution is only available in .NET 2.0 as I cannot find it in .NET 1. ...Show All
manuel0081 VS.NET 2005 - MySQL - ODBC problems
I'm having a problem getting Visual Studio .NET to work with a MySQL server. The versions of software I'm using are: VS.NET 2005, MySQL Server 5.0.16, MySQL Connector/ODBC 3.51.12 The MySQL server is configured ok and is accesible from everywhere (even inside VS) In VS, I can create a connection to my database (`test`) in the Server Explorer, the tables are visible, and the data is retrieved and updated ok. The problem arise when I ...Show All
