Software Development Network Logo
  • Windows Vista
  • Architecture
  • Visual C++
  • Visual C#
  • Visual Basic
  • VS Express Editions
  • VS Team System
  • Smart Device
  • Microsoft ISV
  • Windows Forms
  • SQL Server
  • Visual Studio
  • Game Technologies
  • Visual FoxPro
  • Visual J#

Software Development Network >> .NET Development

.NET Development

New Question

Error when using Process.Start() under SYSTEM account
The partner transaction manager has disabled its support for remote/network transactions
Code conversion: asp VB ->asp.net 2.0 C#
A Question on GC
Multi-threading with UdpClient
StackFrame - who invoked the current function?
Retrieve images from Access database
Web services and Delegation
Problem using SSL with httpWebRequest
Issue with threading

Top Answerers

Kawarjit
captain paul
milller4
Brian Laws
SRIKANTHPRAGADA
MarTim
jketola
YoungjaeKim
Bob Morris
Gary Harrison
Tangra -
Only Title

Answer Questions

  • Derek Haskin active application handle

    I am trying to transport a vb6 program to vb2005.  In vb6 I could use API's to do things like get a handle for the active application (enumWindows), get the location of the active application ( GetWindowPlacement ) , and the title text of the active application ( GetWindowText).  I have spent several days looking but have not been able to find anyway to duplicate thes functions in vb2005.  The API's don't want to wo ...Show All

  • erMayank GetHostEntry return my loopback address

    Hi, I have a server with to network adapter cards  (two different subnets).  I'm trying to start a listner on both, but the GetHostEntry return only one adapter and it's the loopback one !  This is the code used to get IPaddress:  (lbxResult is a listbox) -------------------------------------------------------------------------- Dim InterfaceId As Integer Dim IpHostInfo As IPHostEntry IPHostEntry = Dns.GetHos ...Show All

  • cg_oz8 DataReader? Problem

    Hi I have a weird problem I have encountered with an application I am developing. I have looked on the forums but I cannot find anyone with a similar problem. My application simply takes data from one database does some conversions and inserts it into another database. I should probably note that both databases are in Oracle. Anyways I have a section of code (see code below) that runs, but when I check the DataReader it shows "HasRows&q ...Show All

  • AllUltima1 New System.Threading.Thread vs BeginInvoke

    Hi! I'm having the following dilemma on how to handle multi threaded operations. I have to handle the case of multiple of calls per second that must be executed asynchronously. Creating a new Threading.Thread object is a simple solution, however I dont think its the best choise, since thread creation and destruction overhead would be too much. Creating a delegate sub and calling BeginInvoke also creates a new thread. My Question: 1) Is there a ...Show All

  • Tim Wong how to find the files which are infected by the virus in ASP.NET

    hello.. i want to find all the files which are infected by the virus in all the computers which are attached in the LAN. using ASP.NET how can i find those files This is a very involved question and likely will not be fully answered in this forum. This forum is dedicated to questions relating to the system.net namespace. Asp.net questions should be directed to www.asp.net forums. Although this is much more than an ASP.N ...Show All

  • danielpitz selecting network interfaces

    Hello everyone, I have been trying to find a way to activate/inactivate network cards in .NET, kinda like ifconfig up and ifconfig down on Linux. The reason is that I simply don't want Windows to automatically choose one interface over the other and use this, but to decide for myself. Is there any good way to do this in .NET I found that IP Helper API can list all interfaces, but it does not seem to be able to manage them. Thanks a lot for any t ...Show All

  • fred369 How to specify DTD

    I nee helpt to include this two elemnts on top of the resulting xml file. < xml version="1.0" encoding="ISO-8859-1" > <!DOCTYPE channel SYSTEM "C:\Bond Hub\hub.dtd"> using System; using System.IO; using System.Xml; using System.Xml.Xsl; using System.Xml.XPath; using System.Xml.Schema; using System.Collections.Generic; using System.Text; public class XmlTransformUtil { public static ...Show All

  • subtile Very slow data loading into DataTable from Oracle

    I'm a newbie to VS2005 and .NET and trying to load about 20,000 records from an Oracle table into a datatable. I've tried the design-time methods like TableAdapters and it is so slooww. I've also tried a couple of programmatic methods like OracleDataAdapters and and OracleDataReaders. The result is the same - about 10-12 seconds to load 20,000 records. That can't be right, surely As a comparison I tried the same function within a Delphi 2005 ...Show All

  • D-S Serialization framework improvements in .Net 2.0?

    I have re-implemented an IFormatter for the project NGrid . The code can be seen on this page . I have found such tasks very tedious with the current design of the serialization framework in .Net 1.1. Here below, the list of the hard points. IMessage serialization (and the derived classes) is pure hell. As the consequence even the BinaryFormatter fails when it tries to serialize an IMessage containing itself an other IMessage. IMO, the IRemo ...Show All

  • Kurt888 Randomly GNE "General Network Error" after upgrade MSDE 2000 to Sql2005 Express

    I wish nice day, we have many, many bugs ( arround 10 errors messages from every user per week --- today 300 users using our application and up to end of May, 2006 we reinstal Sql 2000 MSDE -> 2005 Express next 750 users) from our application ( .NET 1.1, localDB on Sql2005 Express ) with exception bellow: ----------------------------------------------- General network error. Check your network documentation. -> ExecuteReader [.Net SqlCl ...Show All

  • rich-75 connection string with password in sql....

    how to protect the server information and password of the server if you want to use connection string property to save the connection......as password and other info are saved as plain text in .net any body can access them through disassemble     i have studied the enterprise examples those are really good but i have one question.... DPAPI has threem encryption states 1-Machine Mode 2-User Mode 3-None First two are machine ...Show All

  • Torpedo Loading FK relationships into datasets from database?

    Hi, I have a database that contains about 20 tables that contain various primary keys, and unique and foreign key relationships, and would like to read the whole lot into a dataset so that I can have the protection of the relationships while modifying my datasets and datatables in memory. I know that I can get the constraints into my dataset if I (1) use VS to create a strongly typed dataset, and (2) use VS to drag the dataset on to my form, ...Show All

  • amckern putting attributes into existing assemblies

    Hello Everybody, Iam new to C#. Is there a way to put custom attributes into already existing assemblies The source code for that assembly is not available. Can I use any tools or hooks or does Reflection.Emit support this Thank You. Yes, this is possible. You can use IlDasm.exe to provide a text file of your assembly. You can then edit this file and use the utility IlAsm.exe to compile your ...Show All

  • Bhagvat Memory Leak when used SmtpMail class

    I have the function which consists code below. Every 50 mails the memory of application raises up 100k. Sometimes is more. Does someone know why and what I have to do to solve this problem. for ( int emailNum = 0; emailNum < int .Parse(txtMailsAmount.Text); emailNum++) { MailMessage tmp = new MailMessage(); SmtpMail.SmtpServer = mail.SmtpServer; tmp.BodyFormat = mail.BodyFormat; tmp.Body = mail.Body; tmp.Subject = ...Show All

  • DarkFader How do you find a "First Chance Exception" recorded in Debug Output

    I am getting the following line "A first chance exception of type 'System.ArgumentException' occurred in mscorlib.dll" in my debug output I do not know what is causing it (break points on every try/catch I could think of didn't provide any hints). The program runs and performs as expected How do you go about finding out what is causing these There is a rather lot of them occuring, and I'd rather not have them if possible ...Show All

454647484950515253545556575859606162

©2008 Software Development Network

powered by phorum