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

Software Development Network >> .NET Development

.NET Development

New Question

String and numbers
Looking for a explanation of basic Streams
Regex on Stream
Signing and sending email with S/MIME (X509)
Managed application startup time too long
Calling webservice method passing an array list of instances of user-defined classes
Confused about authentication via certificates
Timer doesn't seem to last forever
Retrieving Images From SQL & Display On Web Page
tcplistener and winxp service

Top Answerers

Stevo Zilik
Joker TKE 550
Yogesh Kumar
Dave27
kitnos
Equis
RSHORE
Ray Dyce
Andy Jarvis
michael412
sitemap
Only Title

Answer Questions

  • Reindeer Win Form Memory Usage

    Dear All, I am running win form application based on C#. The problem here is that I notice something that once I exit my program and when I look at my task manager under the processes tab I can still find my application is in it. That means I have not actually exited my application or even closed it. What is the problem because I am worried is eating up memory Can somebody pls guide me on this. It sounds like Philip is on the right track. If the login form is your app's startup form, you must be hiding it before displaying your MDI parent form. If the user then closes the MDI form, your app is still running with the login form instance still alive but hidden. There are several solutions to thi ...Show All

  • OmegaMan Same Problem on using System.Transactions

    Good Day Everyone! I also have been using the System.Transactions on my application which I also uses Factory. The Codes inside the transaction scope is executed normally when it calls a single SP in it. But when i tried to implement a dual round trips in the database i get the error on MSDTC. My Question is..is it really impossible for now to have a 2 different sql connections inside the transaction scope Because as told by our project manager..he had tested this kind of scenario in his machine and for my surprise he told me that it works just fine. he just enabled the DTC with full access..restarted the database and the nUnit and retested it and works just fine. Is this possible for the current version of Visual Studio ...Show All

  • enric vives XPath finds no nodes

    Hello again, I'm still having trouble getting XPath to work in my C# program. Here's my code: XMLquery = "/df:xtvd/df:schedules/df:schedule[@df:program='EP7079270103']" ; XPathDocument document = new XPathDocument ( @"..\..\zap2itxml.xml" ); XPathNavigator xpn = document.CreateNavigator(); XPathExpression query = xpn.Compile(XMLquery); XmlNamespaceManager manager = new XmlNamespaceManager (xpn.NameTable); manager.AddNamespace( "df" , "urn:TMSWebServices" ); query.SetContext(manager); XPathNodeIterator nodes = xpn.Select(query); while (nodes.MoveNext()) { XPathNavigator Nav2 = nodes.Current.Clone(); Nav2.MoveToFirstAttribute(); txtSelect. ...Show All

  • Bt1982 Problem with connecting to HttpListener

    Hi there I am facing a strange problem. I have a dial-up connection and I developed a webpage that recevies the incoming httprequests. Then I used HttpListener to make like a Web server. however, when I try to connect to my server from the same machine (using localhost) it receives but when I try this from outside it fails. The code is shown below: (I put a break point at the beginning of the second method and no connection is going there) private void button5_Click_1( object sender, EventArgs e) { HttpListener listener = new HttpListener (); listener.Prefixes.Add( "http://213.166.151.30:8081/WebSite/Default.aspx/" ); listener.Start(); listener.BeginGetContext( new AsyncCallback (OnGet ...Show All

  • NicoR VS2005 Webbrowser Control

    Hi All, I created an user control that contains a webbrowser control. The user control basically creates a XM file using a stylesheet from an xslt file. After the XML file is created, the user control simply call the Navigate() function to display the page. The following code works this.webBrowser1.Navigate(rptPath,true); // Display the page on a new window But the following code does not work (blank - no page title, nothing displays) this .webBrowser1.Navigate(rptPath); // Display the page on the current form Do I have to do any extra work (set up some properties or something) in order for the webbrowser displays the page on the current form Thanks Wild guess: the ...Show All

  • Thennavan Ramalingam .ASMX page design view

    I got a WebServices project on VS2005, modified the generated class name from Service1 to Service, run it and got the following error: Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not create type 'CabWebService.Service1'. Source Error: Line 1: Source File: /Service.asmx Line: 1 I need need to view the .ASMX page to change the class above to 'CLASS="CabWebService.Service", on 'design view' I got a blank page on 'view code'I got the .cs display. How can I change the above line in .ASMX page Thanks, Ben ...Show All

  • Jo Ann Anthony read xml from internet

    Hi, I want to read an xml file from the internet. The file is provided by a web site and is a result of a query. More precisely, this link http://www.localcallingguide.com/xmlprefix.php npa=250&nxx=423 produce an xml file. How can i get it in .net I have tried a webrequest and I always get a timeout exception. Thanks Thread moved to the appropriate forum Actually Sergey, if you don't mind, what would the difference be between doing it your way and the way I posted I just want to know for my reference and improve my own knowledge and skills as well - does it do the same thing or something else, if I understand correctly Thanks :-) I can actually read it fine using the WebRequest/Response classes ...Show All

  • WXS123 Solution: Com Object in .Net on an x64 machine.

    Ok So I have written MANY Com objects in .net that are used in vbscript and elsewhere with no real hitch on x86 platforms. I have run into a perplexing problem when writing a trivial COM object and trying to invoke it from wscript or cscript on an x64 box. Here is what I have done: Write a tiny com object in VS2005. Mark the Class ComVisible(true) and set the Project properties 'Make assembly Com-visible' to true. using System; using System.Collections.Generic; using System.Text; using System.Runtime.InteropServices; namespace Comtest { [ComVisible(true)] public class MyClass { public MyClass() { } public string GetDate() { return DateTime.Now.ToString(); } } } Build the class (Mar ...Show All

  • Kharkov Alexander I am facing "Item has already been added"

    I have an appliction created in .Net 2003 using SortedList. And it is working fine with .Net framework 1.1 Now we are analysing the impact of migrating the application to 2005. There we are facing this problem SortedList mySL = new SortedList (); mySL.Add( "First" , "Hello" ); mySL.Add( "Second". , "World" ); mySL.Add( "First" , "!" ); Error message: Item has already been added. Key in dictionary: 'First' Key being added: 'First' IS it only because of Duplicate entry Please any one kindly clarify this. Thanks Moi Thanks SalvaPatuel . Hi, Yes, it is because "First" already exists as a key, the sortedlist obje ...Show All

  • Gurpreet Singh Gill How can I remove ASPNET account when it is not used

    Hi I recently installed .NET framework SDK 2.0 to learn VB. Whenever I run the SDK tutorial, it seems to define the ASPNET account in the system and the accont remains there even after the tutorial is finished. I can remove it only by re-booting the PC. I'd like to remove the ASPNET account as soon as I finish using the SDK tutorial because my company's audit scan doesn't like the extra account on my pc. Is there any command available to do that Strangely the account appears only in the audit report but not on the user account in the control panel. I am an absolute beginner and don't know about how it works. TIA you have to change just the line that says: <processModel autoConfig="true" /& ...Show All

  • Umesh_DB2 Unable to convert input xml file content to a DataSet from DataSet Designer

    First of all, here's the error: Error 1 Unable to convert input xml file content to a DataSet. 0 is not a valid value for Int32. Input string was not in a correct format. C:\Documents and Settings\dolan\My Documents\Visual Studio 2005\WebSites\ReproProject\App_Code\DataSet1.xsd 1 Second: I didn't do anything other than drag a table from server explorer into the designer. Immediately I save it and try to build the website as a test and get the error displayed above. The server is a SQL 2000 server, because I was hoping I could use ASP.NET 2.0 to replace our production site without having to bring up a SQL 2005 server. I'm not sure if that affects anything or not, but it's not working, for sure. I also see a bunch of attributes that are ...Show All

  • Sweeps78 System.UnauthorizedAccessException: Access to the path xxx is denied

    Here is the error --------------------------- See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Armas Elektronik\Alkolmetre\data\ars_ozl.dll' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, F ...Show All

  • James. L. How can I make multiple regex check with string values?

    I am using VS 2003 and Regex. I wanted to spilt the text from richtextbox if it matches newlines or semicolon or "/" or "\n\x20*\n" etc few sequences. If any of these matches, I need a split For single sequences, I use this Regex* regxterm = __gc new Regex(S"\n\x20*\n"); // very good \20=space, \u0020=unicode space String* array[] = regxterm->Split( this ->richTextBox1->Text); for ( int i=0;i<array->Length;i++) {MessageBox::Show( this ,array ,S"Test"); } How can I make multiple regex check with string values Thanks, I got the solution from http://www.dotnetcoders.com/web/Learning/Regex/regexobject.aspx Here is the code: private : vo ...Show All

  • biscuithead Add Web reference through coding

    Hi, I have created one Windows service and Web service.I want to add the web reference in Windows service.Can i add the web reference through C# coding.Please Reply me. Thanks. justin(Navya) first u mast add web ref.then add code in the form, it looks some thing like this, Dim service as New WS.webservice() where WS is the web ref. Name and webservice is the name of the service. add this code; service.url = "(complet web add.)" any problem send email to jasonperez_1@msn.com if you are using VS IDE, you just right click on References in the solution explorer, then choose Add Reference HIi, Thanks for ur reply.I want to add the webreference through coding. ...Show All

  • wja19512003 XSLT generated JavaScript not executed in IE

    My problem is the following: I generate JavaScript Code in XSLT that should be excecuted in the IE (V. 6.0). I create a <select> box with some <option> in it. Instead of using <xsl:choose><xsl:when> repeatly I thought I just create a Function that get's called afterwards and sets the right option. The XML: <root> <element>2</element> <element>1</element> </root> The XSLT: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output version="1.0" encoding="utf-8" omit-xml-declaration="yes" media-type="text/html" /> <!-- main template --> <xsl:template match ...Show All

555657585960616263646566676869707172

©2008 Software Development Network

powered by phorum