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

Software Development Network >> .NET Development

.NET Development

New Question

Security Exception on socket connection
Common Resource for a .NET and a VC++ Application
errors adding a web service with sockets to a C++ project
Is there a way to Redirect STDOUT/STDERR during AppDomain.ExecuteAssembly like Process.Start's redirection streams
ASP.net web service project configuration
Padding in C#
How to find the last occurence of <p> within a textblock tiltled <h2>??
Server can known client ip.
Using OLE Automation (GetObject method) in a web service.
insert, delete, update in a datagrid and the permanent table? through VB.NET

Top Answerers

figuerres
ceedee
cisco0407
EGutierrez91
Umeshgopal
kfsoft
stoney77
AlxJ
The Markus
Flip597
Topix: Electronics
Only Title

Answer Questions

  • Jeff Levinson Managed Debugging Assistant 'LoaderLock' has detected a problem

    Hi All, I have ported my VB.Net project from VS2003 to VS2005. I am facing the following issue Issue1: I am calling some managed dlls (developed in C#) from my Vb .net . When I debug the code, I am getting the following Error message. "Managed Debugging Assistant 'LoaderLock' has detected a problem in 'F:\VBSource\bin\Debug\TekRobo.exe'. Additional Information: DLL 'F:\VBSource\bin\Debug\Tekspyhook.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang." Can any one please tell me that how to resolve this Thanks, Mohan It is probably a false alarm. If it weren't, ...Show All

  • U m A i R Web Service Input Always 0

    Ok, i am basically just trying to create a very simple web service in C# and consume it with an application written in Delphi. The problem is that for some reason, the web service always receives a 0 for the integer input no matter what i send it. I have accessed services on the net correctly, but mine seems to not want to work. Here is an example: using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [WebService(Namespace = "tony")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class Service : System.Web.Services.WebService { public Service () { //Uncomment the following line if using designed components //InitializeComponent(); } [WebMethod(Descripti ...Show All

  • ares_l Limit the number of entry in a database

    Hey everyone, I want to make a demo disk of the program I just built, how would I limit the number of entries one could place on the database. Thanks When doing your inserts, count the number of rows and throw an exception if 10. If you are using Stored Procs, this is very easy and can all be done with one call to the DB. If you are using inline SQL, you will need to make multiple calls to the DB. ...Show All

  • m&amp;#35; c# to x86 code

    Hi Mike, how do you generated the x86 code in one of your following blog http://blogs.msdn.com/jmstall/archive/2005/09/08/il_vs_native_offset_0.aspx Thank you for your help, Visual Studio will show you the native code for jitted C# methods. (It won't however show you the IL). ICorDebug exposes the native addresses of jitted code, so any managed debugger could show that information. Vance Morrison has an excellent blog with further details and a walkthrough: http://blogs.msdn.com/vancem/archive/2006/02/20/535807.aspx ...Show All

  • 22DoorsDown SQL UPDATE - "No value given for one or more required parameters"

    I've used this structure in several other C# database programs with success, until this app.  Now I'm receiving this: "No value given for one or more required parameters." The key is SAMS_ID. The data is text, no numeric fields.  The code I used is below.  I've tried removing the single quotes from around the date field and also from around any fields that contain numbers but still receive the same error. Anyone know what I am forgetting private void buttonEdit_Click ( object sender , System . EventArgs e ) {     string strEditConnect = "" ;     if ( buttonEdit . Text == "&Edit" )     {         textBoxFir ...Show All

  • i3tech Referencing DLL's in the GAC

    I have a dll listed in the GAC on both windows 2000 sp4 and windows xp sp2 but it does not appear under the .NET list when I select 'Add Reference' from within Visual Studio 2005. If I try to browse to the c:\WINNT\assembly directory and add the dll from there it won't let me. Can anyone tell me how to include dll's from the GAC to my references. The only dll I have is the one that is registered in the GAC, but this doesn't show up under the .NET list when I try to Add Reference. Since I can't copy the file elsewhere, or specify the GAC directory in the registry I can't use the supplied solutions in the link. Could this be an installation problem where the dll just hasn't registered p ...Show All

  • WineNCheese DataSet or DataReader

    I'm in the process of creating a database consisting of a number of tables in SQL 2005.  The 3 main tables being tblAddress, tblContact, tblTransaction, all 3 contain Primary/foreign keys. The database is designed as the address details at the top of a form and a datagrid at the bottom showing all contacts within that address.  The last row of the datagrid contains a button and when pressed brings up another form that shows all the items that a contact has requested. When i started designing this i was using dataAdapters and datasets and using the binding navigator to navigate through records.  I attended the 2541-Core Data Access workshop and showed the lecturer what i was worki ...Show All

  • Alessandro Ferreira Unknown Publisher

    I am having trouble installing .NET Framework 1.1 Service Pack 1. I keep getting a security warning that the certificate is invalid (Unknown Publisher). I have tried viewing the certificate and installing it, but no luck. This is what it says under Certificate Details - Critical Extensions Only...... Digital Signature, Non-Repudiation (c0) I am at a loss and have tried all that I know, which is little. I need this service pack in order to run new software I just purchased. The serial number for the certificate is 61 0e 7d a7 00 00 00 00 00 48. Please help. Any suggestions would be appreciated. we fixed the problem. we had to repair the .NET framework using this file in the .NET directory. repair ...Show All

  • Linda Call sharing of textfile (FileShare method not working)

    Hi guys, I'm working on application with multiple instances running in the same machine. In this application I'm accessing file "test.txt" and the other instances also needs this file. But the first application who will get to open the "test.txt" will have the write access and the other instances will only have read access. Below is my code snippet: if (singleInstance) {FileStream fs = File .Open( @"C:\test.txt" , FileMode .Open, FileAccess .ReadWrite, FileShare .Read);} else {FileStream fs = File .Open( @"C:\test.txt" , FileMode .Open, FileAccess .Read ) } When I tried running my application, I open the test.txt in the notepad and I can open it but can't do any mo ...Show All

  • pjs.net COM object handling

    Hi,I am neew to .Net and want to know that if we use any object that reprsent a COM class hen after using it should we explicitly distroy it or .Net framework does it automatically.If .Net does not do that than what method or statments should i use to destroy. The CLR will do it automatically. But just like any managed object, you don't know exactly when the garbage collector will clean it up. If you want to deterministically release a COM object, call System.Runtime.InteropServices.Marshal.ReleaseComObject. ...Show All

  • Kostas Pantos How to read and display MS Word and MS Excel Xml files programmatically

    Hi all, I'm wondering how to read and display the WordML format word Xml file and Excel SpreadsheetML xml file programmatically using c#. Thanks forum. To transform XML to HTML in .Net you can use XslCompiledTransform. If you want access data in the document value by value you can read it with XmlReader or load it to cache XPathDocument (or XmlDocument). hey, best bet is to use xslt to turn the documents into html, then display it using the web browser control. I downloaded a stylesheet that turned WordML to HTML but its at home, I am positive it was part of the Office XML Schema Reference, have a look here and maybe you can find something that will help.... http://msdn.microsoft.co ...Show All

  • Bernd Omenitsch Abortable thread with return value

    Hello, There are two possible solutions that would work for me here... Requirements are as follows: I want to run a task in the background. The task returns a value, which I need to collect. I also need to be able to abort the task. I can use Thread.Start, and then Thread.Abort if I need to stop it, but I can't find a way to get a return value by this method. Alternatively, I can use BeginInvoke, which makes it easy to get a return value using EndInvoke, but then I can't seem to find a way to abort the thread. Either method would be fine. Any suggestions Thanks, Nick I'm running into a similar issue, on Sybase ASE 12.x. Calls to OleDbCommand.ExecuteScalar() occasionally never return - t ...Show All

  • patforna SelectSingleNode for .NET Compact Framework 1.0

    Hi, I want to use SelectSingleNode from .NET CF 1.0, it is available with .NET CF 2.0. IS there any wayout to use it in.NET CF 1.0 As far as I know, no, neither SelectNodes nor SelectSingleNode as methods of XmlNode are available in the .NET compact framework 1.0. ...Show All

  • Aaron Silverwatch Is there a tool for sending SOAP?

    Hi Forum I really like the SOAP trace utility in the SOAP tool kit. It is great I can see both the SOAP request and the response. I'm missing one feature in the SOAP trace utility. I would like to be able to send a request manually. I could live with just a textbox where I could put in SOAP and press a send button and see the response. Does anyone know a tool like that I believe it would help me faster understand versioning and XML deserialization issues. have you tried Fiddler It is not just for SOAP.... it is a http debugger proxy in where you can see the data sent and received in any format. Rgds Rodrigo Hi Rodrigo No I have not tried t ...Show All

  • mpco in C# 2.0, how to create a new folder?

    Example, i would like to create a new folder, say, "MyFolder" in C:\temp using a button click in my Windows Application You could just use code below as if the directory already exists, no error is returned System.IO. Directory .CreateDirectory( @"c:\temp" );   Thanks a lot Karthik Krishnaswami :) if (! Directory .Exists( "c:\\temp\\myfolder" )) { Directory .CreateDirectory( "c:\\temp\\myfolder" ); } Thanks a lot Jeff.. ...Show All

656667686970717273747576777879808182

©2008 Software Development Network

powered by phorum