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

Software Development Network >> .NET Development

.NET Development

New Question

Sending file using sockets.
PInvoke Serialization Error
Error 25015 while installing .NET Framework 2.0
Creating A Helper Thread
i am trying to port the web application made on VS.net 2003 to VS.net 2005 some exceptions are occurred
How to improve web connectivity?
Application Cached HTTP Connections
i want to serialize a file into new structure?
How many ways can process.MainModule.FileName fail?
problem with .Net code running on framework 1.1 stopped working on 2.0

Top Answerers

John.Doe
project2n5e0o1
G_Unit
soheila
Jassim Rahma
Lord Arokh
Graham Hansen
perstam
Ringo21
sooraj
sitemap
Only Title

Answer Questions

  • Leon Bouquiet How to download/Save dialog box a file using vb.net?

    Hi Guys, I am developing an web based application which enables users to upload and download their files. I know how to download it in a specific location via code-behind but Is it possible to make IE opens "save" dialog box and asks user where they would like to save their files any help welcomes tanx Great........ and I just converted Whoops, Well, it should not be tough to convert it to VB.NET... let me try and post for you Hi Ashish, Many tanx for your quick reply. but I need the code in VB.NET ..not good in C# I am afraid :( This forum is not right for your question, you should better post your ASP.N ...Show All

  • pukla Optimizing data transfer and storage when updating a database using DbAdapter

    I have an application (VC++ 2005, mixed /CLR) that needs to write small amounts of data to multiple data tables with high frequency (in some rare cases - thousands of rows per second). SQL Server seems to be limited to around 700 batches/s and obviously I need to optimize my methods to achieve the desired performance. The combination of my being new to ADO.Net and managed coding with the design goal to have my application offer support for generic DB provider use, is giving me trouble in establishing the best approach to do this. I am using the Data::Common classes, which seem to have less options than the specific providers. If this makes my task impossible, I may be forced to commit to SQL client, but I'd first like to hear from the e ...Show All

  • Craig Bye XmlTextReader

    Hello, I am trying to read a hex value from an attribute of an XML tag. Is there a method that exists to do this I have looked at the ReadBinHex method, however it does not appear to apply to attributes. For example given: <test number="&#x0f"/> I was hoping to get an integer value of 15 thanks, Devan Devan, unfortunately the syntax you are using is simply used to refer to a character, not necessarily to a number (the XML refers to this as a character reference, http://www.w3.org/TR/2000/REC-xml-20001006#dt-charref ). If the application really needs this, you could write something like this. StringReader textReader = new StringReader ( "<mytag ...Show All

  • mlwere VS Math.Round

    Hello all, Did you know that Math.Round doesn't use the normal rounding.  The values are slightly incorrect according the the typical 'school' rounding that we learn.  When I say 'school' rounding i mean Asymmetric Arithmetic.  this is the normal rounding of 1.4 = 1, 1.5 = 2, 1.6 = 2   Math.Round uses a type of rounding called 'Bankers' rounding - check it out if you want an explination.  Anyway just use the following code to fix it: Public Shared Function aaRound( ByVal val As Double , ByVal decimals As Integer ) As Double If decimals < 0 Then Throw New ArgumentException( " Number of decimal places must be 0 or greater" , "Val" ) End If Dim ...Show All

  • ar_pad Unable to establish connection.

    My problem is that I can't even open a connection to my database. I stored my connection string in the web.config file under the <connectionStrings>. Data Source contains the name of a server and Initial Catalog has the name of the database(sqlServer 2003). < add name = " cts " connectionString = " Data Source=*******;Initial Catalog=******;user id=*****;pwd=******;Trusted_Connection=false " providerName = " System.Data.SqlClient " /> In my aspx file I have the following: connStr = ConfigurationManager.ConnectionStrings( "cts" ).ConnectionString conn = New SqlConnection(connStr) q = "SELECT * FROM Room;" cmd = New SqlCommand(q, conn) conn. ...Show All

  • MarlAtkins Winsock

    i'm using vb.net but i cant seem to find winsock (i really dont no what it is only that its can use TCP and UDP ). I'm looking off this tutorial here: http://www.pscode.com/vb/scripts/ShowCode.asp txtCodeId=48418&lngWId=1 (sorry dont no if your alowed to post links) well VB.NET or .NET rather doesnt have the winsock component but rather the System.Net namespace having TCPClient/TCPListener/Socket classes to communicate - maybe the same as the WinSock control but better and for .NET http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcpclient.aspx http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx http://msdn2.microsoft.com/en-us/library/system.net.soc ...Show All

  • AIMDBA detailsView and/or tableAdapter data manipulation

    Hi! I have the following problem: Theres a detailsView that I use to let users enter data. This data then gets published on a website (think simple CMS). But the users that enter data are not tech-savvy, therefore I need to replace CR and LF with <br />. This isn't difficult as is, to perform this all I need to do is "string.Replace("\r\n", "<br />")", but the problem lies in the data access. the detailsView is fed from a tableAdapter that gets a whole table from a DB. This code is not written by me, so I'm not into the technical details. All I am looking for is the right moment and way to let my replace do its work. I tried to access the data within the detailsView (programmatically) usin ...Show All

  • Fabrice MARGUERIE Function and argument matching with regular expressions.

    I have strings like: MyFunctionCall(a.b(c.d.f, a).c,a.b.c.d) I would like to have a regular expression that can return if it is a function call, the name of the function and a list of the arguments to the function. I have started with: Regex regex = new Regex ( @"( <function>[A-Za-z]+)\(" + "\r\n" + @" ( >" + "\r\n" + @" [^()]+ " + "\r\n" + @" " + @"| \( ( <arguments>)" + "\r\n" + @" | \) ( <-arguments>)" + "\r\n" + @" " + @" )*" + "\r\n" + @" ( (arguments)( !))" + "\r\n" + @"\) | ( <function>[A-Za-z]+)" + ...Show All

  • Steve1999 OracleClient and TransactionScope Problem

    Hello, does anyone know why the implementation fo the Dispose.() - method for System.Data.OracleClient starts a new thread The MSDN said, that the execution of the Dispose() moethod is synchron! I do have got strange behaviour because of that, because the commit of the DTX has not finished and my code treis to start another transaction. I  get the following exception: System.Data.OracleClient.OracleException: ORA-24776: cannot start a new transaction Please help me, because I have no idea to solve this problem. Is there any possibility so configure the behaviour of the Dispose() - method Johannes I'm more of a SQL Server person, but it sounds like you have open transactions that ar ...Show All

  • upgraders Webclient gets stuck in download

    Im sorry if that hes ben asked befor but i did a seach and found nothing .. wen i use WebClient to download files it makes the app like stop respond to buttons and others while it downloads.. is there a way to make it work normaly while it downloads files . Sorry, I should have sent you straight here . There's nothing messed up here. If you perform a lengthy operation in a single-threaded program, the application has to wait for that operation to finish. It's pretty much like introducing traffic lights in a Formula 1 race. Not here..at the BG worker link u gave me.. its messed up..he add so much stuff it messed up code and makes it h ...Show All

  • FERRAND Framework 2.0

    I updated my system using the 2.0 framework downloads and I am having problems.  I tried to use some of the new library classes such as System.IO.Ports and they do not show up in the IDE or in the help files of my VS.NET.  I checked in my Program Files and it is there along with the documentation but I tried to use some of the new methods and just recieved errors.  Any suggestions   Thanks.  Dustin You can get the express editions for free if you register them in the next 12 months. http://msdn.microsoft.com/vstudio/express/default.aspx Mog0 Hi, Visual Studio 2005 is already available. Check out the following link for purchasing: http://msdn.mic ...Show All

  • wiresfired Can I open an Access database from vb .net if the mdb file is opened.

    if I try to use the following connectstring "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\cse1\src\test.mdb;Mode=Share Deny None;User Id=admin;Password=;" I get the following error "The Microsoft Jet database engine cannot open the file 'test.mdb'. It is already opened exclusively by another user, or you need permission to view its data." I was assuming that mode-Share Deny None would open the database in read-only mode, since I have to just display data and not do any updates. thanks. Did you add a reference to Microsoft Access 11.0 object library I'm trying to do the same thing as you. Currently i'm running into securityerrors. wow thanks that was my problem! :) ...Show All

  • windowsxp168 Problems with SMTP Mail on Port 25

    This is a very strange problem... I have a Windows 2003 Server hosting a C# application, which is scheduled to run on a semi-frequent basis. I want the application to automatically send out emails, containing data collected by the C# application. So I set up the standard IIS SMTP server on the same machine. I use the System.Net.Mail namespace, and the following code to send an email: MailMessage message = new MailMessage(from, to, subject, body); SmptClient client = new SmtpClient("localhost"); client.Send(message); Only it doesn't work. An exception is thrown, with inner exception saying "Unable to connect to the remote server." To simplify matters, I deactivated Windows firewall - and have no other personal firewal ...Show All

  • Khalnayak Delegate Keep alive

    Hi, I have a problem with using delegates with pinvoke. I have a delegate for a reporting function that is required for the lifetime of the application. The callback works for the first time and after that if the dll reports any error I get an access violation exception. This is because the delegates gets collected. Any suggestions on how to avoid this error Thanks! Also, this depends on a reference to a particular instance of the MyClass class between the call to StartUseOfCallback and EndUseOfCallback... After debugging, I found that the callback works and the exception occurs when the dll function returns. For example, wrapper function is: public static extern uint function(int a, ref ...Show All

  • Joshizzle Shared Assembly in GAC

    My question is that why we install assembly in GAC ,if we can't refer to it through IDE thnx for the technical reply.....   Then what is the benifit of installing assembly it in GAC....   There is absolutely no benefit to installing an assembly in the GAC as far as the IDE is concerned. The GAC is strictly a runtime feature of .NET. When you install an assembly in the GAC you are reducing the load time of the assembly, making the assembly safer to use and allowing for multiple versions of the assembly. Only shared assemblies should ever be put in the GAC. When you load an assembly in .NET the loader has to verify the assembly is valid a ...Show All

96979899012345678910111213

©2008 Software Development Network

powered by phorum