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

Software Development Network >> .NET Development

.NET Development

New Question

Object List in C#
XSLT 2.0 supported in .NET 2.0?
FileNotFoundException while calling web service from web service
how to add more than one namespace reference to root?
What's the different between 64-bit and 32-bit ?
Convert.ToString(Object,IFormatProvider)
Getting contents from bind Controls
.NET Runtime 2.0 Error Reporting
The best practice of using DataSet
Does Net framework have to be used with visual studio?

Top Answerers

dtlinker
Shalin Dalal
pfh
dreameR.78
DKB
Dédé
ims.com
oasisman
Evan_3
chukky
GNU Scientific Library
Only Title

Answer Questions

  • OmegaMan 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

  • Ram Tangutur WSE 3.0 Client + WCF STS + WCF Service

    I am trying to integrate a WSE 3.0 client with our completed WCF STS and a WCF Sample Service. The WSE 3.0 client is able to retrieve the SAML token from the STS OK but when it tries to generate a secure conversation with the WCF Sample Service there is a failure on the WCF SampleService end. The 1st error seemed to be because of DerivedKey tokens ('There was an error deserializing the security token XML. Please see the inner exception for more details.') in the SOAP message so I turned that to 'false'. Then the WCF SampleService gave an error about the primary signature ('The primary signature must be encrypted.') - updating the message protection order from SignBeforeEncryptAndEncryptSignature to SignBeforeEncrypt resolved that iss ...Show All

  • Davids Learning Is there a global setting for AllowDBNull?

    Hello, Is there a way to set a global default for AllowDBNull when designing datasets Thanks for your help! Bob Very doubtful. I'll move your post to the Framework Data Access forum for a better answer. ...Show All

  • DETNYRE Validate xml through the embedded resource DTD

    Hello, is it possible to validate an XML file through the DTD that is the embedded resource in my project Just a guess, an UTF-16 encoded XML document has a BOM (byte order mark) at the beginning, an UTF-8 encoded XML document can have one. Not sure however why the XML parser would fall over a BOM, unless there is something wrong with that. Can you upload the XML to a HTTP server and post the URL so that we can check it Thank you, Priya, for your reply. According to your answer and keeping in mind that XmlValidatingReader class is obsolete in the .NET Framework 2.0 I realized your solution through the following code: // Describing DTD info. NameTable nameTable = new NameTable(); XmlParserContext parserCont ...Show All

  • RAED KASSAWAT Network Speed Question

    Does a Wired LAN connection ever drop below 100Mbps Does a Wireless LAN ever go above 11Mbps Thanks, I am working on a Speed Progress Bar. The metrics noted above are absolute maximums for the given network technology. It is important to note that applications, protocols and other factors (congestion, etc) directly affect the throughput and thus one should not assume all data will move between host A and host B at the maximum rate as noted above. With wired LAN, the speed is dependant upon the hardware, but once it's been determined it shouldn't change. It is possible to have a wired LAN at 10MBps using older ethernet equipment, and even slower with other wired networking technologies (and perhaps even ancient ethernet v ...Show All

  • Patch77 Code access Security- when to use and when not to

    Hi All, Can somebody please explain as in what types of application do we use Code access security and How CAS is generally used e.g do we add RequestRefuse for registry in every internet application. I want this classification for 4 types of applications broadly: 1. stand alone application 2. enterprise application 3. B2C application 4. B2B application I am new to architecture so just want to know as in which scenarios do we generally use CAS.Any broad guidelines Regards As I mentioned before, it's not generally necessary to "use" CAS explicitly. Aside from a few "special" cases, the only scenarios in which one would need to make CAS permission demands explici ...Show All

  • seco Create virtual com port in C#?

    I'm working on a project where I am reading from a com port to receive data from a GPS receiver. I can do this without any problems except for one. There is also another application that wants to read from the com port at the same time. I know there are com port splitters that I could use but I'd rather not have to use any 3rd party software. Is anyone aware of any way of emulating a com port so that I can point the other application to this port and have it read the data that I am spitting it Thanks, Brady Thanks for the information BurgerKing. Please keep me informed on your findings. I'm still trying to figure this out. I don’t believe that this is possible to emula ...Show All

  • UlliDK I'm new in Crypto and need help in TripleDES

    I need to communicate with a third party server. It will provide us a key to encrypt a password. It adopts 3DES-CBC and PKCS5 padding. Firstly in .NET, there is only PKCS7 padding and I found that using CBC need to using initial vector but I just have the key ONLY. So how can I meet the requirements using .NET 2.0 Thanks in advance. As I understand it, PKCS5 and PKCS7 padding are essentially the same -- basically the padding bytes are all filled with the number of bytes being padded. The only potential difference between the two is how to pad if the amount of padding is greater than 255 bytes, which isn't an issue since the TripleDESCryptoServiceProvider block size is 8 bytes. So you should be safe us ...Show All

  • Franky Uray How to call Page.Validate() using javascript

    Hi I need some help :) How to call Page.Validate() using javascript can anybody help me Hey ken Thanks for ur kind !!!! But I also got one more solution for this situation..... we can actually call the asp.net validation script by calling Page_Validate() function in our javascript...... Thanks !!!! Hey ken Thanks for ur kind help !!!! But I also got one more solution for this situation..... we can actually call the asp.net validation script by calling Page_Validate() function in our javascript...... Thanks !!!! It's name is Page_ClientValidate and I have read some code that you should check if it's a function using typeof(Page_ClientValidate) == 'function ...Show All

  • hula_samvaad IIS 6 connection to SQL Server 2005

    Hi, I have an aspx page with a connection to SQL Server 2005 which works fine on the local VS2005 setting. When I deployed it to an IIS 6 box it could not establish the connection. Could someone help shed some light Scenarios, Local to sql 2000 -- OK Local to sql 2005 -- OK IIS box to sql 2000 -- OK IIS box to sql 2005 -- Error The connection string is, "Data Source=DBServer;Initial Catalog=DB;User ID=uid;Password=pwd;Pooling=true;Max Pool Size=50;Min Pool Size=10;" I get the error message SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a conne ction to SQL Server) If connection string is, "Network=DBMSSOCN;Data Source=10.10.1 ...Show All

  • Stephen Lim HTTP POST using tcpclient

    Hello, can anybody show me how to request an HTTP POST using tcpclient I need to use only tcpclient ... thanks for any help What have you tried so far An HTTP request isn't more than writing a couple of lines (request line and eventual headers)... The exact content requirements are described here: http://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5 There are a lot of examples availble on the internet to do with. I would recomend you giving it a try to search it using google. Best Regards, Rizwan aka RizwanSharp Hello thank you for your answers... I tried many samples but unfortunately without success... it is the first time i do this kind of thing if anybody can provide me an URL or ...Show All

  • Mystagogue ReOrganising xml

    Hi, In my project the database output from Oracle Store Procedure returns huge xml of data without any proper groupings.I have to convert this xml into another rather complicated format by grouping certain xml nodes. Is it a better way to use a dataset with datatables related according to my xml format and fill the data from the database xml into these datatables and return the xml to the client using dataset.getxml() , or through xml manipulations. Can anyone please suggest me a proper way. Regards, Irene I think the number one argument against using datasets is performance / resource usage. If possible, just stay away from them. You might consider doing a test case of tying ...Show All

  • Brad Joss SetClientCredential && SetPolicy are inaccessible

    I created a simple web service within VS2005, like follows: public class MyService : System.Web.Services. WebService { .. } and call it from my test harness web project, using the following code: TestProject.MyService proxy = TestProject.MyService(); // proxy.SetClientCredential(token); // proxy.SetPolicy("usernameTokenSecurity"); proxy.DoSomething(); Somehow I can't call neither SetClientCredential, nor SetPolicy, for the instance of my proxy, as those methods don’t' exist. When I checked the auto generated proxy class, using built-in reflector, I found that it's inherited from SoapHttpClientProtocol , thus providing no support for those two methods. Is there anything I'm doing wrong thanks ...Show All

  • Gamaliel Isaac 'Over-the-air' ActiveSync issue with CDOEx coded appointments

    Hi, I'm using CDOEx on Exchange 2003 to add an appointment to a users calendar from a VS2005 C# project. That's working fine. However when I sync the calendar to my Windows Mobile 5 Pocket PC Phone 'over the air' I have a problem. It's taking 2 syncs for the device to be happy with the appointment. The second sync seems to be initiated by Exchange as the schedule is set to 'As Items Arrive'. If I open the appointment in Outlook before initiating a sync (schedule = 'Every 5 Minutes'), and close it, (I make no changes so I'm not promped to save anything) the appointment will sync the first time and no second sync is necessary. Appointments that I add in Outlook sync the first time and no second sync is necessary. I've compared al ...Show All

  • JeffS23 ".NET Runtime Optimization Service has encountered a problem and needs to close" V. 2.0

    Hi, having lots of problems installing vs 2005 proff on Win Server 2003. After going through the process of installing and uninstalling vs 2005 a couple of times with varying degrees of failure, I decided to try just installing .net framework 2.0. After uninstalling all VS components and all .net Frameworks I downloaded .net Framework 2.0. While going through the install process I get: ".NET Runtime Optimization Service has encountered a problem and needs to close. We are sorry for the inconvenience." This occurs while: Installing native images Executing: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ngen.exe install "System.Drawing.Design, Version=2.0.0.0., Culture=neutral, PublicKeyToken=b03f5f7f11d50a3 ...Show All

676869707172737475767778798081828384

©2008 Software Development Network

powered by phorum