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

Software Development Network >> .NET Development

.NET Development

New Question

Connection Pooling randomly throwing COM exceptions
Reading data from networkstream
.Net Framework 2.0 Install Error
MS FingerPrint Reader dll
serializing IMethodCallMessage with SoapFormatter returns method not supported exception
HELP ME!!! Need to update database from dataset bound to a datagridview!!
Button Server control OnClick Event opens a new IE
(URGENT, PLEASE HELP!!) Opening a file in windows
ASP.NET/SQL Server/IIS - Not preserving sort on resultsets
.NET 1.1 vs .NET 2.0 behaviour with Image fields

Top Answerers

dobauer
M. Nicholas
jortiz
CLOlds
Bryant Likes
Cool Screen Name
Dennis Clark
de2
KoryS
PQSIK
sitemap
Only Title

Answer Questions

  • Paul A. Mestemaker II - MSFT fast ping

       Hi,    I need to write a fast ping program to ping class C & D IP addresses. I have written a piece of code to open a socket, connect to it and receive data from it with a timeout. This is fast enough for a few IP addresses but  I would need to ping 255x255 IP's. I have put this code on a separate thread which calls an asynchronous method to loop over the IPs. This is taking a minute for each set of class D IP's. How do I make it run faster Thanks  PS: I am using the 1.1 framework Of course it must run faster because it doesnot need to connect to DNS server to resolve the IP Address because you already know the IP Address in string for ...Show All

  • Bron G using with try-catch or try-catch-finally ?

    What do you use using statetment or try-finallly With the using statement... what is the best way to catch a exception Now, i'm using a try-catch-finally for the connection and using for the commands, dataadapters, datareaders ... etc.., but i don't know if is the best way. Regards. OK! Thansk to both for yours usefull answers again, really. Regards. Hi, To my opinion, when using connections and stuff, I still prefer the try catch blocks and dispose everything in the finally block. How can you otherwise get detailed error information since using is only for disposing objects  The using statement is good if you have a single object that needs to be disposed after using it. I think it has a lot to do with personal ...Show All

  • lordJapheth new to .Net - diconnected Data

    Hello everyone... I am mostly a web developer, however I have been approached with the task of creating a windows application that can work disconnected and then syncronize with the main database at a later time. (a bit like a PDA) I am looking to write the application in C#.Net and I assume I should be able to achieve this task utilizing ADO.NET, however I was wondering if anyone has a good book, tutorial, or article (web or non-web) that might help that would be much appreciated! Givens: .Net 2.0 Framework, Windows OS on clients, MSSQL 2005 Thanks! You will want to spend some time over in the Patterns and Practices Area looking at their software factories and application blocks that help you write smart client ( sometime ...Show All

  • New-Bee how to open and close connection using sqlconnectionstringbuilder

    hi, im trying to do some experiment using sqlconnectionstring and sqlconnectionstringbuilder. how do i close the connection using sqlconnectionstringbuilder U cannot open or close a SqlConnection using SqlConnectionStringBuilder. SqlConnectionStringBuilder provides functionality to create error free connection string which can be later use by any connection object. The SqlConnectionStringBuilder, only allows to you to generate a SQL Server compliant Connection-String, to open or close a Connection you need to create a new SqlConnection and adding the generated Connection String. For example: SqlStringBuilder sb = new SqlStringBuilder(); // Sets the respective properties using (SqlConne ...Show All

  • mate6666 TableAdapter insert/update/delete order

    I have a typed-dataset with a dozen or so tables which are hooked together with typical on-to-many and many-to-many relationships. I'm using table adapters to do the CRUD actions. For updates I was using: //Update parent tableadapter_parent.Update(dataset.parenttable); //Update child tableadapter_child.Update(dataset.childtable); But I am getting foreign key reference errors when deleting records because the adapter is trying to delete a row from a parent table but it can't because there is a FK refrence to it in a child table.  But if I reverse the order of the table adapter update calls so child tables are updated before parent tables then the deletes work but the inserts fail because it can't insert a FK reference into ...Show All

  • Avner Kashtan Delayed Datareader column error

    In a live application which i created, i noticed that after a day or two, i get a datareader error, specifically the error which returns a column name as it's message. i.e if i had written reader["col_name"] i get col_name as the error message. The problem is that i read 5 column names in a single read, and the messages vary, it not always the same column name. However, whenever i restart the server, the problem goes away for another day or two. Recently i increased my max pool size because i was having pooling issues, this had an effect on the datareader error in that it now occurs every 2-3 hours instead of the 1-2 days. pls i need help on this one Thanks I don't see anything wrong ...Show All

  • flash.tato Identifying Subnet Mask

    I need to be able to identify the subnet mask that the local computer is on. Thanks thanks, i'll check it out http://blogs.msdn.com/dgorti/archive/2005/10/04/477078.aspx shows how to do this using the .net framework 2.0. I'm sorry, I needed to clarify a bit more, I need a way to get it using commands in the .NET framework. Perfect! works like a charm, thank you! On the computer in question: Go to "Start | Run" Type "cmd" Click "OK" In the Command Prompt, type "ipconfig /all" Press "Enter" The subnet mask will be listed in the output. Good luck! ...Show All

  • Fred3000gt How to respond or resend the soap message received from the server?

    Hi I am Using VB.Net or (VB)VS 2005 I am using the below code to send xml file and receiving the reply from the server.IT WORKS FINE But How do I respond for the message I received from the server See the below Scenario <Poll server> --- With the code below <Acknowledgement>Received With < CorrelationID > from the server(look at replied xml file below) <Poll> again with( < CorrelationID > from the first reply receved from the server> <Acknowledgement> again with unchanged < CorrelationID > <Poll>...... Until I get the required result Code in the form Public C ...Show All

  • b-man WebClient File Download Problem

    Hi, I am trying to download files from the web using System.Net.WebClient. The program works fine and I am able to download the files for the first time. But, when I try to run again I get "An exception occurred during a WebClient request". This behavior alternates for each run. In one of the threads, I read that it was because of keepalive property being set to ON on the webserver. Is there anyway I can fix the problem by some code changes. Here is my code sample. WebClient wc = new WebClient(); wc.DownloadFile("http://someurl/file1.ext", "C:/myfile1.ext"); wc.DownloadFile("http://someurl/file2.ext", "C:/myfile2.ext"); wc.Dispose(); Any help would be appreciated. Thanks, pravi Thank you Durgaprasad. I ...Show All

  • Bill Partridge Connecting to MS Sql Server 2005 with ODBC

    Hi there, I have just made a switch from sql server 2000 to sql server 2005 - that went without major problems... My server is located in Denmark. We have an office located in the US which are also connecting to our server - that goes without problems except for one machine connecting through ODBC directly (the others use remote desktop). The machine also connected through ODBC when I was using the old server - and there never seemed to be any problems. At first I could not see the machine by name, but I could ping it by ip-number. I added it to the hosts file - and now I can ping it by name as well. My problem is this: - When I try to correct the ODBC settings I do not get my new aerver on the sql-server list. D ...Show All

  • Heinz Krug XmlElement.SelectSingleNode Issue

    All, I have the following xml file, this was generated by the .NET disco.exe utility. < xml version="1.0" encoding="utf-8" > < discovery xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns:xsi =" http://www.w3.org/2001/XMLSchema-instance " xmlns =" http://schemas.xmlsoap.org/disco/ "> < contractRef ref =" http://sps2003:81/Services/AdGroupsList/AdGroupsList.asmx wsdl " docRef =" http://sps2003:81/Services/AdGroupsList/AdGroupsList.asmx " xmlns =" http://schemas.xmlsoap.org/disco/scl/ " /> < soap address =" http://sps2003:81/Services/AdGroupsList/AdGroupsList.asmx " xmlns:q1 =" http://tempuri.org/ " binding ...Show All

  • glenrm Asynchronous Vs Threading

    Hi, I want to know what are the differences between Asynchronous invocation and threading.Does Asynchronous invocation creates a new thread Thanks, Suresh Hi, There are many differences, actually delegate async invoke (use a thread from the pool (async invocations may use threads or fibers) to execute (like queuing a task on the Threadpool object), so they can not be compared, one uses the other one. Threads are independent execution flow with its own stack. Imagine them as they are a different program running "at the same time" as your main program. When you want a specific task to be exceuted but as soon as you call it you want your program to continue the asynchronic invocation is ...Show All

  • megoo80 How do I know what framework I need?

    I have Windows XP Windows Media Center and .NET Framework 1.1 Configuration (version 1.1.4322.573). I see downloads for 2.0, 3.0. Do I need these and how do I know if you have version 2.0 that installed, do you also need 1.1 anyway Forgetting about manifest.xml files that can dictate what version of a .NET installation this program "thinks" it needs to execute, the better question is the following: Will the .NET 3.0 framework run an application that was written using .NET 1.0, 1.1, etc. The ultimate question is, do I need to install all 4 .NET frameworks (1.0, 1.1SP1, 2.0, and 3.0) to be safe (e.g. an application dictates that it must have .NET 1.1 ...Show All

  • patio87 How to find the last occurence of <p> within a textblock tiltled <h2>??

    I have html files with the following structure: <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <p>paragraph 3 - bladiblah di blahblah</p> <p>paragraph 4 - bladiblah di blahblah</p> <p>paragraph 5 - bladiblah di blahblah</p> <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <h2>article title</h2> <p>paragraph 1 - bladiblah di blahblah</p> <p>paragraph 2 - bladiblah di blahblah</p> <p>paragraph 3 - bladiblah di blahblah& ...Show All

  • Sc0tty I have a new problem.Help me please!

    I am working on a message system based on remoting.I met a strange problem totay. The message system includes three part: 1,the server side which holds the remoting object 2,the message sending side which call the remoting object to send message. 3.the message receiving side which call the remoting object method and was called by the remoting object through a MBR object passed from client. Here is my problem: the message receiving side work well ,it could always call the remoting object method successfully. but the message sending side can't always work well.Sometimes it's ok,but sometimes it would throw this exeption: System.Runtime.Remoting.RemotingException: Requested Service not found An ...Show All

67891011121314151617181920212223

©2008 Software Development Network

powered by phorum