Answer Questions
Phildotnet RegEx
Hi there, i need some help on RegEx. i know them well from coding PERL, but the syntax Iguess, must be different. Does anybody know where to get a list of possible "signs" and their meaning For example: ^[a-z] at the beginning of an expression means, that the string to check MUST start with an alpha-numeric sign. In C# (i believe) it means that the string should start with anything BESIDES an alpha-numeric sign. So a list of signs and their mean ...Show All
craig kelly-soens XpectWorld How to write back changed datarow automatically to the database ?
I display a SQL Server database table in a datagridview. Whenever a row in the grid gets changed, it should be updated automatically in the database table. I tried to do this in several events, so far with no luck: 1) DataGridView (this would be the natural choice) Has no usefull event 2) BindingSource_CurrentItemChanged I tried it like this: private void userTableBindingSource_CurrentItemChanged( object sender, EventArg ...Show All
addor button once click? [Resolved]
Hi. I've raided the internet alot today to try and find a solution but was not successful. What I want is that if a user clicks on a button, I want to disable it from the user BUT still allow a postback to the Server to do its job, then I would like to enable the button once again incase if anything goes wrong, such as the Server method returning false or whatever. The closest one I got to was this: this .cmdSubtmit.A ...Show All
pajaroblanco consuming Java MTOM web service using WSE3
Dear all, I have a developed a java web service to transfer a file using MTOM, and also developed a client using WSE3+VCS 2005 Express edition, but the client could not resolve the returned message. Here are my code snippet: ImageService service=new ImageService();//ImageService is the generated proxy service.RequireMtom=true; String[] list = service.listFiles(); //here the exception occured String[] operators = ser ...Show All
Sameer Chachad Returning a dataset containing a datarelation fails...
Hi A web service that returns a dataset fails with the following error: System.InvalidOperationException: There is an error in XML document (1, 45360). ---> System.IndexOutOfRangeException: The rowOrder value=0 has been found twice for table named 'MyChildTable'. The dataset contains 2 tables, and I've defined a datarelation between the two. When I remove the datarelation from the dataset everything works just fine. So I guess that t ...Show All
Kaiser28 Need help getting DWord Values from Registry - BitConverter?
I'd like to manipulate some video decoder settings with my C#.NET app. The author of this decoder just dumps his floats to the reg as DWORD like this in C++ key.SetDWORDValue(_T("Brightness"), *(DWORD*)&m_bright); therefore typecasting them to unsigned long. The resulting key looks like: Brightness=1065353216 his own config has a slider like this: m_procamp_slider[0].SetRange(0, 2*128); m_procamp_slider[0].SetTic(128); m_pro ...Show All
KrazyKiwi AccessViolationException when client is terminated
Hi, We have just migrated our client/server application to .Net 2.0. After that we constant get an unhandled AccessViolationException in the server program when the client program is terminated! The only stack trace I can get is: at System.Net.UnsafeNclNativeMethods.OSSOCK.WSAGetOverlappedResult(SafeCloseSocket socketHandle, IntPtr overlapped, UInt32& bytesTransferred, Boolean wait, IntPtr ignored) at System.Net.Sockets.BaseOve ...Show All
Faisal Mohamood Re XML and sorting question
Hello i was reading a microsoft documentation which explains sorting XML data using Xpath and AddSort. and here is the XML file: < xml version='1.0' > <Books> <Book> <Title>Advanced XML</Title> <Publisher>Lucerne Publishing</Publisher> </Book> <Book> <Title>Learn XML Today</Title> <Publisher>MSPress</Publisher> </Book> <Book> <Title>XML fo ...Show All
Tom_ Very slow debugging
I have the 2.0 framework on one computer and haven't tested it anywhere else, but I'm experiencing very slow debugging. I have a Windows Form app with about 60 classes/forms. Sometimes after making a few character change in code it takes 30 seconds before I can continue in the editor. Opening a form with a lot of controls on it can take almost a minute. The hard-drive runs almost continuously during these "wait" times. The computer is ...Show All
dwight silverman XslCompiledTransform Caching
On a project i'm working, we use lots of XSLT for XML tranformation. Because XsltCompiledTransform has a very slow load, we are trying to reach the best "caching" method, in a way that all xsl files be loaded in a object we can use once the web application starts. The idea we're trying to implement is to have an outsider application(or not) which will browse all xsl files, load them using XslCompile ...Show All
lcsantos85 Repeater + Extended control not working
Alright this is in my aspx file in the ItemTemplate section of the repeater <td><cwc:DataDropDownList runat="server" DataSourceID="rolesDataSource" SelectedValue=<%# Eval("Role") %> DataTextField="Description" DataValueField="id" AutoPostBack=true OnSelectedIndexChanged=dropDownList_SelectedIndexChanged ExtraData=<%# Eval("FirstName") %> ...Show All
Big_Al MMC 3.0 SDK
From the MSDN site there are several samples and documentation about the new managed MMC 3.0 extensions. I tryied to look in the april platform SDK (the last one I found) but there isn't any MMC 3.0 sdk. Does somebody knows where can I get it Thanks, Pierre The new managed MMC SDK has not yet been released. The documentation is available online but the SDK itself containing the Microsoft.ManagementConsole assembly is not publicly availab ...Show All
Martin Sb Can 1.1 and 2.0 framework coexist on the same box?
I'm trying to get my legacy asp.net (1.1/C#) apps to play nice with future 2.0 development. I can get either the 1.1 stuff to run or the 2.0, but not at the same time. If the 1.1 apps are working the 2.0 work returns errors that tell me that the frameworks are trying to use the same process and that this can't work. If the 2.0 app works then the 1.1 error out. I suspect that this is an IIS configuration issue, but being weak in iis I can ...Show All
dpuccio update datetime problem even with parameters ...! please help!
I try to update or insert a record to a table with a dateTime type column DOB, my code is in below: DateTime dob = new DateTime(1980,11,21); string updateText ="UPDATE Patients SET FName =@FirstName , LName=@Surname , DOB=@DOB WHERE PatientID = " + lbID; this.UpdateComm.CommandText = updateText; this.UpdateComm.Param ...Show All
CJ_Barnhart System.ComponentModel.Component.Process is NotInheritable?
Obviously no, because this code is allowed: Public NotInheritable Class MyProcess Inherits Process End Class But, when I try this: Dim p As MyProcess = CType (Process.GetCurrentProcess, MyProcess) Allways produces this error: 'System.InvalidCastException' , casting not valid Could some one explain Why Thanks a lot! flashdata Process.GetCurren ...Show All
