Software Development Network Logo
  • Smart Devicet
  • Game Technologies
  • Microsoft ISV
  • Visual C#
  • VS Team System
  • Visual Studio
  • Visual Basic
  • Windows Vista
  • SQL Server
  • .NET Development
  • Visual C++
  • Audio and Video
  • IE Development
  • Windows Forms
  • SharePoint Products

Software Development Network >> .NET Development

.NET Development

New Question

how to format the xml output received by the web service.
Change WSDL on server
IComparer issue
Regular expression to extract two string
Error: Unable to open shim database
Missing Schema Information of Base Tables in SQL 2005 Views
Sessions
How to fill the collection of class with the information from app.config.xml
socket receive question
deleting dataset.table[0] row

Top Answerers

Jim_Cross
waheyluggage
chandrababu
bonni
shyma
TGirgenti
CMU
Gustavo Carrazoni
Delp3
_Quimbly_
sitemap
Only Title

Answer Questions

  • TehOne StringBuilder - octal notation escape sequences

    Hi, I'm having a problem with StringBuilder when I try to append string sequences that contain octal notation escape sequences: e.g.: StringBuilder sb = new StringBuilder (); sb.Append( "ABC" ); sb.Append( "\001DE" ); ... this results in the StringBuilder only containing "ABC". Any idea why it's doing that Thanks, Tom I told you, if you want to insert the character that has the code 1 then you need to write: "\u0001DE" that is \u folowed by 4 hexadecimal digits that make up the code of the character. Thanks a lot for your detailed explanation. Yes, normally I'm using constants, this was just some ...Show All

  • Lenoire77 Using ConfigurationManager & custom configuration sections

    Hi there, I'm trying to use the ConfigurationSection class from the ConfigurationManager because I need to store some repeated custom configuration settings that have multiple properties.   Using C# Express Edition 2005 Beta 2, I've built the example below based on an example I downloaded from the Internet. It compiles OK but when I run it I get the following error message:   An error occurred creating the configuration section handler for systems: Could not load type 'SystemsSection' from assembly 'ConfigConsoleApplication'. (C:\Documents and Settings\Jean\Local Settings\Application Data\Temporary Projects\ConfigConsoleApplication\bin\Debug\ConfigConsoleApplication.EXE.config line 4)   I newbie to C#, I've been hea ...Show All

  • BDev13 Error when calling an Async WebService method multiple times

    Hey folks, I've run into an interesting problem. I'm calling a web service method asynchronously multiple times simultaneously and an error is being thrown despite my calling of the method with unique state objects. The error is: "There was an error during asynchronous processing. Unique state object is required for multiple asynchronous simultaneous operations to be outstanding." In order to make simultaneous asynchronous calls to a web service, one must use a UserState object. In my case, I use Guid.NewGuid.ToString() in each of my asynchronous method calls. After about about 100 - 200 calls, the completion delegate is called, but there is an error. The "AsyncCompletedEventArgs e" argument contains ...Show All

  • StriderIRL Classe Structures vs MultidimensionalArrays

    Consider reading a table that had the following fields and had 3000 records. Point, XCoor,YCoor It could be stored in an array: coordinates(3000, 3000, 3000) Or it could be stored in a structure Structure Coordinates Dim Point As Integer Dim X As Double Dim Y As Double End Structure Now let's assume my app is going to have read through the array or structure several thousand times do some math with each "record" based on different conditions. None of the data elements will actually get changed, just read. Which approach will provide the best performance Any other suggestions. Obviously it could just be stored in the a dataset and reading the records as needed. ...Show All

  • Liquidsnakex How can I get the handles of all active windows I did not create?

    I am using c++ VS express 2005, .net framework. I want to get all window handles for all windows (dialog boxes, ect...) open, which I did not create. Thanx :) Use EnumChildWindows to enumerate the controls. That will give you the HWNDs, you can't get Form or Control objects from a foreign process. Thanx for that answer. I also found that GetTopWindow and GetNExtWindow works. The next problem is how to get all the controls inside a random window, which I did not create. I tried GetDglItem function, but this does not work very well. I could not get the items in a target window, with only knowing the HWND handle. I had numerous buttons, a textbox and a list box in my test app. Is there a function ...Show All

  • dan english DataAdapter.Update is not updating the source database

    Hello all, I have a dataset that contains new rows. But these rows are not been added to the database table when I call the update method. The program runs without any errors but there is no data when I view the table. Thanks. The code is below: public class MemberFileReader { private MemberFileReader() { } // Parse the given positional data file. public static void ParsePositional(string FileName) { Member member = new Member(); int numOfLinesParsed = 0; string fileLine = ""; string[] fileLines = FileReaderUtil.SplitFileByLine(FILE_NAME); bool tableHasData = false; //Determine if there is any d ...Show All

  • F.Costa NetworkStream.Length Property

    Hi All, I want to use this property but in MSDN it says "This property is not currently supported and always throws a NotSupportedException.". When will it be supported Can you suggest any other method or property Ivaylo.Bratoev wrote: Try out this article: http://www.yoda.arachsys.com/csharp/readbinary.html Thank your for link, it gave me some idea... Try out this article: http://www.yoda.arachsys.com/csharp/readbinary.html Hi Rizwan, private void Receive(object sender, DoWorkEventArgs e) { while (true) { dataTransfer.Reset(); clientStream.BeginRead(ReceiveBuffer, 0, (int)clientStream.Length , new AsyncC ...Show All

  • Alexie1668 Which validator should I use?

    I have an array that is populated dynamically. It contains integers. I also have a dropdownlist. How do I make sure that the item that users select does not equal to any of the values in the array ie. each item in dropdownlist has value and text, with value containing an integer. I don't want users to pick the item whose value is any of the integer in the array. I tried using the comparevalidator but the valuetocompare is a fixed value, I can't assign it the array. any suggestions I think you should use Custom Validator and inside the client validation function, you have to implement this logic ! Also you didn't point out whether this array is server side or just a client side, however if it' ...Show All

  • Bob0923409 Syntax Error

    I'm trying to write a database application in Visual Studio 2005 that inserts data into a database from a VB form, the connect and insert code are below: conBooking = New OleDbConnection( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=booking.mdb" ) Dim SQL As String SQL = "INSERT INTO tblBooking (Cust_Name, Telephone_No, Going_From, Going_To, Additional_Requirements, Booking_Date, Booking_Time, No_of_Passengers) VALUES" SQL = SQL & "(" & strName & ", " & strPhone & ", " & strFrom & ", " & strTo & ", " & strRequirements & ", " & strDate & ", " & strTime & ...Show All

  • R Raghu Membership - "Mixed" Windows & SQL Server authentication?

    Hi All, I'm thinking about using membership and role management features in order to control the access to a system we are creating. This system will have some functionalities accessed through internet and some funcionalities from within intranet (internal staff shall have different roles from external users and therefore). Is it possible to use Windows authentication for internal users and SQL Server to authenticate external users Can I use the default providers to do this or I need to develop this provider Thanks a lot! Sergio I believe that you have to build it yourself. Fortunalety the whole system is very extensible. Search in msdn for the full details. Here's a tutorial: http://www.devx.com/asp ...Show All

  • ctsand How to code an NT Service (in C#) so it can be run from the command line as well?

    HI, I'd like to create an NT service that I can also run from a command line. I am using .NET 2.0. I tried the following code, but keep getting "Invalid Handle" exception on Console.Readline... The same code used to work under .NET 1.1!! Any help is much appreciated! public static void Main( string [] args) { if (args.Length > 0 && args[0].Equals( "console" )) { MyService service = new MyService (); service.OnStart(args); Console .ReadLine(); service.OnStop(); return ; } else { ServiceBase [] ServicesToRun; ServicesToRun = new ServiceBase [] { new MyService () }; ServiceBase .Run(ServicesToRun); } } The way you are choosing ...Show All

  • Scionwest Accessing Microsoft Project from .NET

    I don't have much experience using Microsoft Project. Is there a way to read/write from/to Microsoft Project file from a WinForms .NET application Can somebody point me to any article I need to read data from multiple Excel files, consolidate the data and write data to Microsoft Project file. Any ideas Suggestions Thanks Basani Mahesh, Thanks for the reply. It's very good information. Regards Basani Hi, This sample is exactly the opposite than what you need so it can help you to build your application very easily http://www.codeproject.com/csharp/PrjXlsRpt.asp Requirement stuff for your work, more references: Install PIAs for MS Project. Refer t ...Show All

  • demo_b Returning Objects to UI

    Hi, I am developing an application using ASP.NET web services I want to keep web Services as the business logic layer so basically my ASP.NET page will call the webservice and the web service will return appropriate data, in some cases I need to return my own class objects but when I try to return an object of some class i get an error Server Error in '/WebService1' Application. The following methods will add all public properties from all base classes of the type you wish to serialize using the XmlSerializer. Pass the returned XmlAttributeOverrides to the Serialize/Deserialize method. public static XmlAttributeOverrides IgnoreBaseClass( Type type) { if (type == null ) throw new ArgumentNullException ...Show All

  • Jan Meeusen Why does IsInRole return false for WindowsIdentity with TokenImpersonationLevel equals to Delegation?

    Goal: Kerberos Delegation Problem: On the client, for a group that the current user belongs to, CurrentPrinciple.Identity.IsInRole returns true, but on the server it returns false. I checked the Groups collection for the CurrentPrinciple.Identity on the server and I could see all the groups that user blongs to, but as I said IsInRole method returns false. There are two differences between the windows identity on the server and on the client: On Client : TokenImpersonationLevel = None On Server: TokenImpersonationLevel = Delegation and also the Token property is different for both of them, which I think could be the root of the problem. Any idea Thanks I follow up what Alexey ...Show All

  • learneroob SoapHttpClientProtocol slower in .net framework 2.0 than .net framework1.1?

    I have update my web client from .net framework1.1 to .net framework2.0. When i call same service function from same server , i find the 2.0 client version is slower than 1.1 client version. I list the client test code here, it is very sample: public string wsDoTest(int nIn) { object[] results = this.Invoke("wsDoTest", new object[] { nIn}); return ((string)(results[0])); } I run this method 100 times. Both client and server are windowsXP(sp2), server uses Tomcat+axis(write in java), And result is: version1.1 client: about 2 seconds version2.0 client: about 20 seconds Why Can anyone give me some ideas It is possible that proxy is getting into the picture. Then the automatic dectection also could ...Show All

414243444546474849505152535455565758

©2008 Software Development Network

powered by phorum