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

Software Development Network >> .NET Development

.NET Development

New Question

Easy Question. How put scroll following abilities in Asp Menu ?
Control of system clock
The constructor to deserialize an object of xx.xx. was not found
exe problem...
Default Credentials not working for Basic Authentication from IIS server to IIS Server
NET Framework written in C++?
Client/server socket application problem - files sent are incomplete
C# Triple DES encrypt, getting long string of AAAAAAA ?
file decompress
Problem of encryption and decryption

Top Answerers

Maaloul
Mr.V.
Mark Dooley
Randy W.
kenniejaydavis
AnnyJacky
Olle SW
Chris Honcoop
progames25
kostrin
Programmers Haven
Only Title

Answer Questions

  • Edward__ Regx Allows for two many periods!!

    ^(\w([-_+.']*\w+)+@( \w(-*\w+)+\.)+[a-zA-Z]{2,4}[,;])*\w([-_+.']*\w+)+@(\w(-*\w+)+\.)+[a-zA-Z]{2,4}$ i have this regular expression that validates multiple e-mails on my form.......but it allows for emails like some..email@hotmail.com .... I know i can just remove the . from the [ ] but then i wont be able to have e-mails like some.email@hotmail.com Is there a way i can still add the . to the first component of the RegX without keeping it in the [ ] Tryin2Bgood i think u'd be interested to follow this thread: http://www.aspmessageboard.com/forum/regularExpressions.asp M=864172&T=864172&F=34&P=1 What is the purpose of this expression ...it seems ov ...Show All

  • Lionel Johnson Strong names for assemblies

    Hello, I'm a new developer (in several senses of the word "new") and I am working on a large-scale internal project requiring testing of code written before I got here. I have already used the CLR profiler successfully on a production release of the product. However, the CLR Profiler is not giving me the information I really need (how long a process takes in real time); so I've written a short assembly that I've attached to certain methods in the project that writes out to an external file with a trace and other information. The problem that has arisen is, in one specific class, this assembly causes a build error, because it is not a "strongly named assembly." How exactly does one name an assembly strongly BTW. ...Show All

  • Ilia Problems with IndexOf

    I have problems with IndexOf in C#. It doesn't work properly. This is the code: string i = "    public MceaString getCHORA()"; int a = i.IndexOf("getC");   The value of int a after executing the code is -1. Anybody knows why this happen Could you help me No, I get 19 in VS2005, as well as the exact versions you have. Dunno where you get the 22 from. If I manually count I get the following: string i = " public MceaString getCHORA()" ; int a = i.IndexOf( "getC" ); // a == 19 a = i.IndexOf( "getCH" ); // a == 19 If I manually count the characters, it is 19 too, I do not see where 22 comes in ...Show All

  • NailSR How to keep a thread running?

    Hi, I have the following issue and the odd part about is that I had it already working however I don't know what I changed that it doesn't anymore. I runtime compile a class, create an instance of it and init it on a different thread. In this init the class subscribes to a couple data dispatchers and should now wait for incoming data. When I first implemented this it kept running after I subscribed to the dispatchers until I aborted the thread. However, now it subscribes and after that exits the thread. Any idea how I can keep it running without putting it in a wait loop Thanks, Tom A while(true) loop in the thread should do it. :) Or a Thread.Sleep() Dont!! Just Kidding. You have to give us more inf ...Show All

  • Robi-Robo Downloading Problem

    this code is working perfectly but when i directed it to our download site, the downloading and my program stop responding when it reach a certain filesize and doesn't show error. please help me.   // The stream of data retrieved from the web server Stream strResponse; // The stream of data that we write to the harddrive Stream strLocal; // The request to the web server for file information HttpWebRequest webRequest; // The response from the web server containing information about the file HttpWebResponse webResponse; using ( WebClient wcDownload = new WebClient ()) { try { // Create a request to the file we are downloading webRequest = ( HttpWebRequest ...Show All

  • Handerson Problem with encoding.

    Hello, Could anybody help me with this problem I'm serializing a huge table of an Oracle database in XML format. The size of the document is around 20 Gb and I have a problem with a node in tha middle of the document (origen of the problem in red): <row><USER_ACCOUNT_ID>2027825</USER_ACCOUNT_ID> <PARENT_USER_ACCOUNT_ID xsi:nil="true" /> <CHILDREN xsi:nil="true" /> <LOGIN><![CDATA[lotuce]]></LOGIN> <USR_TITLE_CODE>30</USR_TITLE_CODE> <FIRST_NAME><![CDATA[Daniel]]></FIRST_NAME> <LAST_NAME><![CDATA[MOMENCEAU MOMENCEAU]]></LAST_NAME> <COMPANY_NAME xsi:nil="true" /> <EMAIL_ADDRESS><![CDATA[]]>& ...Show All

  • priorityversion UDP example code not working

    While looking up UDP references with the C# help facilities I found some example code. I'll be darned if I can find it again, but I think it is somewhere near here: ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/cpref10/html/C_System_Net_Sockets_UdpClient_ctor_1_f865e12f.htm I got there by putting the cursor on UDPClient somewhere in my code and pressing F1. After some searching around, I found the example code. The source code for the listener and talker is below the text of this thread. I copied the code as seen below into a console application for C#. The listener was copied to a second computer that has C# Express installed where it was compiled and run. On that computer I opened Control Panel and the Security option and, ...Show All

  • Kimmers Retrieving the Attribute from an XML document using VB.NET XML DOM

    Hi All, I'm a little new to XML so please excuse me if this is too easy. I've created a simple function that loads a XML document using MSXML.DOMDocument and then reads the data within using MSXML.IXMLDOMNodeList. So far so good. I can return MSXML.DOMNodeType.NODE_ELEMENT and NODE_TEXT but I can’t return NODE_ATTRIBUTE . It just ignores it dispite it being in the XML file. Please can anyone tell me what I should be doing Regards Pete First of all with VB.NET you should not use MSXML at all, you should use the classes in the System.Xml namespace e.g. XmlDocument. Here is a simple example using VB.NET, the XML sample is < xml version =&qu ...Show All

  • Raja Prabu How to insert line break <br /> in the XML text node

    Hi, I am writing a paragraph in the XML node. e.g. <job Title = "Ex1", Desc = "Ex1" /> The Description node spans to multiple lines and I want to add line breaks at appropriate places. How can I do that Use &lt; and &gt; symbols instead of < and >. So it should be possible to write: <job Title = "Ex1", Desc = "Ex1&lt;br&gt;Ex2" /> And you will have Ex1<br>Ex2 in your code. The following XSLT transformation: < xsl:stylesheet version =" 1.0 " xmlns:xsl =" http://www.w3.org/1999/XSL/Transform "> < xsl:template match =" / "> ...Show All

  • daveiso VB.NET 2003 ADO.NET update

    Hi all, i am visual basic.net 2003, and i am having problems using the update function of the ADO.NET I have the following declaired as global variables: Dim conSafeAdd As New OleDb.OleDbConnection Dim daSafeAdd As OleDbDataAdapter Dim dsSafeAdd As New DataSet Dim SQLQueary As String on the form is a text box called txtAmount in which a user types in an amount, and a combo box called cboSelect in which a user selects a text value, User is a variable that is passed to the form from anouther form that calls it. I have a button ...Show All

  • CruzCtrl Problem: 64-bit MFC C++ DLL calling 32-bit C# class library through COM

    Hi, I have a MFC C++ DLL that communicates, through COM, with a C# class library. I'm devlopping under WinXP 64-bit edition, VS2005 Team Suite, and as long as both projects are compiled as win32/x86 apps, everything works fine! The problem appears when I compile the MFC C++ DLL as x64 app, while still compiling the C# class library as x86 app (reason: this class library uses 32-bit only dlls). When I try to create the C# class library as a COM instance, I get a " 0x80040154 Class not registered " error. I know that 32-bit components are registered in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Classes\ and my C# class library is there. So, is it really a registration problem, or it's something else I know that 32 and 64-bit DLL are not compat ...Show All

  • SweptSquash FTP Error: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.

    Hi, I am using a FTP client in my application. This FTP client is a freeware for .NET version1.1. It works fine for all files except two files. But these two files are required to FTP to a mainframe machine. I am able to FTP these two files in command prompt but getting error if I am trying to FTP through my c# application. These two files are giving two different errors mentioned below: 1. Index (zero based) must be greater than or equal to zero and less than the size of the argument list. 2. Input string was not in a correct format. But strangely, if I am trying to FTP these files to a Windows platform then it's getting FTPed successfully. I am also giving right SITE command for mainframe requirement. I am gettin ...Show All

  • Regis Wang Running the application without .NET framework installed??

    Hi, I have an application made in VS2005 and .NET Framework 2.0. I want to make an executeable and run it on machines where .NET Framework and Visual studio is not installed. My application uses System.NET, System, System.NET.Sockets libraries. 1) Is it possible 2) If its not possible, then do i need to install only .NET Framework 2.0 or I also need to install Visual studio 2005 on every machine where I want to run my program. Please guide. Thanks No, that is impossible, however, you don't need to install VS or .NET FW SDK, but you need only to install .NET FW (for about 20 MB). This is (almost) always a VERY BAD IDEA!!!! At the very least, you will end up wasting large amou ...Show All

  • Jerry Ou parameter exception thrown on empty value

    vb.net/sql2005 2 questions for the masses: I get the following exception thrown when executing this code for a new row that has no binary data for the @blob parameter: "parameterized query blah, blah, expects parameter @blob which was not supplied" The attached code works fine if the row has binary data for the @blob parameter. The db column is varbinary(max) and accepts nulls. (1) As the code shows, the @blob parameter is supplied, so why the exception =============================================== 'entry is a class representing the record 'Entries' in the sql2005 db 'which is passed into the function Public Shared Function AddEntry(ByVal entry As Entries) As Boolean Dim insertStatement As String Dim connection As Sql ...Show All

  • Joe Morel - MSFT Evalcom2 Creating a DLL

    From the following post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=276035&SiteID=1 I am trying to understand how to translate the other methods. From http://msdn.microsoft.com/library/default.asp url=/library/en-us/msi/setup/ivalidate_setstatus.asp Any tips or website that give similar examples will be great. I have look at the task schedule dll but I could not find the resource on MSDN [GuidAttribute("6E5E1910-8053-4660-B795-6B612E29BC58")] [ClassInterfaceAttribute(ClassInterfaceType.None)] [ComImportAttribute()] [SecurityPermission(SecurityAction.Demand, UnmanagedCode = true)] class EvalClass { } [InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)] [GuidAttribute("E482E5C6-E31E-4143-A2 ...Show All

262728293031323334353637383940414243

©2008 Software Development Network

powered by phorum