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

Software Development Network >> .NET Development

.NET Development

New Question

Visual Studio 2005 + ASP.NET + Modules? =D
timer vs thread performance
Xml Documnt error
arrays to sql server table
Enterprise Library 2006 Error when referenced from GAC
Interop troubles with excel
Website
File access across the network, credentials, logonuser, impersonation
Error using WaitHandle.WaitAll() in STA thread.
Is this only possible in XPath 2.0

Top Answerers

D. Choquette
Deefken
Mark Flamer
arpan_1234
Esenthel
sagepe
Hila123
Duane Haas
Dareman
blabus
sitemap
Only Title

Answer Questions

  • Export Need help with my OracleconnectionStringBuilder

    i'm wanting to connect to an Oracle database using the system.data.oracleClient provider and also allows users to be able to authenticate agaisnt the database by passing through textboxes on a login form their username and password.. i've created a AppConfig.config which looks like this < xml version="1.0" encoding="utf-8" > <configuration> <connectionStrings> <add name="partialConnectString" providerName="System.Data.OracleClient" connectionString="Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=Cleopatre)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=Jasp)));" /> </connectionStrings> </configurat ...Show All

  • snowrabbit Accessing settings from a windows control library project

    Here is my problem. i'm using vs2005 to write application for framework 2.0. consider a solution with a windows forms application project and a windows control library project. The problem i have is with this control library project. in the control project i have added an application setting of type connectionString. the studio made everything ok: it created the settings.designer.cs file with the settings wrapper and the app.confing file with the xml representation of the project's settings. Next, in the code of the project i have used the following code to access the value of the setting: string str = projectname.Properties.Settings.Default.ConnectionString; projectname is the name of the project, and ConnectionString is the name ...Show All

  • madshi Performance on MDbg Step and Break function

    Each time I issue a break command on MDbg process, it takes about 120 to 300ms for the operation to complete on my machine. Why it takes that much time to break the debuggee What determine the time for the operation to complete Would it be the number of thread the process has, the context the debuggee is executing, or it is the implementation of MDbg break function Currently, I am trying to design an extension which give the user more control on thread level debugging. These threads do not share any resource so technically stepping though a thread shouldn't affect the other thread. This is done by stopping the debugee process, performs a debug operation, suspends the debugging thread and resume the non-debugging threads. I am h ...Show All

  • Helio D Process crash when using SerialPort or Socket objects and thread.Abort

    The easiest way to demonstrate what this error is all about is to compile and run this code: using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.IO.Ports; namespace ST { public class SerialTest { public static SerialPort m_port; public static void ReadFromPort() { byte []buffer=new byte[10]; try { m_port.Read(buffer, 0, 10); } catch (Exception e) { Console.WriteLine("Read thread exception: "+e.ToString()); } } public static void Main() { m_port = new SerialPort("COM1"); m_port.Open(); m_port.ReadTimeout = 100000; Thread thread = new Thread(new ThreadStart(ReadFromPort)); ...Show All

  • cowboy in VB using ActiveX in WebBrowser

    I wannt to parse the xml document by using javascript in a web page,I use the ActiveXObject to parse it,and then add the Html page to the WebBrowser control which is in a windowsApplication,everything works fine,but when it is used in a plug-in project, at the top of the html page,a security waring is prompted,I HAVE TO cilck the prompted bar and allowed blocked content,then all the data can be displayed, if not ,nothing can be seen on the page, so   Can anyone help me to let the prompt bar not displayed and all the data can be well shown thanks!! Hi tomas! I have saved the promblem,I use the method of the webBrowser named as documentText,The parameter of the method is a string,so I parse the whole page ...Show All

  • Shodin XSLT basics, generic nodes

    From what I understand of this code, a generic node is being matched, and an Excel worksheet cell is written with a string type. How do i test this node to see if its a number, so I can put it in a cell with a Numeric type   < xsl:template match = " /*/*/* " > < Cell > < Data ss:Type = " String " > < xsl:value-of select = " . " /> </ Data > </ Cell > </ xsl:template > Ideally, I want to say something like if "/*/*/*" is a number <cell> <Data ss:Type="Number" <xsl:value-of select "." </data> </cell> else < Cell > < Data ss:Type = " String " > < ...Show All

  • Robin P Error installing dotnetfx3.0

    [10/02/06,09:38:05] WIC Installer: [2] Error code 1603 for this component means "Fatal error during installation. " [10/02/06,09:38:05] WIC Installer: [2] Setup Failed on component WIC Installer [10/02/06,09:38:14] WapUI: [2] DepCheck indicates WIC Installer is not installed. [10/02/06,09:38:14] WapUI: [2] DepCheck indicates Microsoft .NET Framework 3.0 was not attempted to be installed. [10/02/06,09:57:29] WIC Installer: [2] Error code 1603 for this component means "Fatal error during installation. " [10/02/06,09:57:29] WIC Installer: [2] Setup Failed on component WIC Installer [10/02/06,09:57:35] WapUI: [2] DepCheck indicates WIC Installer is not installed. [10/02/06,09:57:35] WapUI: [2] DepCheck indicates Microsoft . ...Show All

  • highNNdry WSDL/XSD/.Net Serialiation Questions

    Ok, I'm hoping someone can clarify some behaviour for me. I'm attempting to start with WSDL & XSD file to perform contract first style development in VS 2005/.NET 2.0. The web service contract is SvcReponseType svcResponse Execute( SvcRequestType svcRequest) The xsd created and referenced by wsdl is: < xml version = " 1.0 " encoding = " utf-8 " > < xs:schema xmlns = " http://www.ipdsolution.com/ultera/ipd/2006/10/xsd " xmlns:xs = " http://www.w3.org/2001/XMLSchema " targetNamespace = " http://www.ipdsolution.com/ultera/ipd/2006/10/xsd " elementFormDefault = " qualified " attributeFormDefault = " unqualified " > ...Show All

  • Leandro Rodrigues .NET Socket implementation

    Hi, I'm new to asp.net web application and also socket programming. I need help on socket programming. I want to create a asp.net web application page that can connect to the server using socket and for the data access part I need to use xml for communication between the server and the client applcation. The server connect to three databases and it acts as a middle man between the client and the database. The server is a program written in java. How am I suppose to do the socket programming inside my web application. Can anyone help me with that I really need help... As I can't find any good example on socket programming. Please help... Snow Ya. Hi the problem of receiving is solved. But now ano ...Show All

  • ti_m Read properties value of Type by reflection

    Hi All, I'd like to get properties values dinamically from an object using reflection. What I'm doin is getting properties by getproperties method of type class. Then I don't know in which way I could set this property to an instance of an object and retrieve the value of property. pseudo code: dim x as new myclass x.mytext="hello" ' mytext is one of the properties 'with reflection I'd like do something like that console.writeline(x.gettype().getproperty("mytext").value) what I'd like to obtain is "hello" on my screen. Any suggestions about that TIA Dario Thanks! It works !! Dario You've nearly got ...Show All

  • Sadie381943 Serialization IntPtr as out parameter

    Hi I have a problem with serializing IntPtr as an out parameter during remote call - If I have a remote object with method that returns IntPtr, then BinaryFormatter can't serialize the return message. I've spent some time to research the problem (thanks .NET reflector) and find out that the BinaryFormatter serializes objects that implement the IMethodReturnMessage in a special way, and if this message has IntPtr in the list of out arguments, then BinarySerializer throws the following exception SerializationException (Invalid type code in stream 'Invalid'.). You can easily reproduce this case with the following code: ReturnMessage message = new ReturnMessage(null, new Object[] { IntPtr.Zero }, 1, null, null); BinaryFormatter formatter = ne ...Show All

  • z-one Regarding Dispose and Finalize methods in Garbage Collection

    can any one help me to know more about Finalize and Dispose methods in Garbage collection I know you're trying to keep it simple here, but it's definitely worth pointing out that finalizers are absolutely not analagous in functionality to C++ destructors. Destructors are deterministic and thus make sense to use for object clean-up whereas finalizers are not, and generally don't. Search engines are your friend: http://www.google.co.uk/search sourceid=navclient-ff&ie=UTF-8&rlz=1B2GGGL_enIE177&q=Finalize+Dispose+Garbage+collection All of the top posts are useful and answer your question. Finalizers are functions that the GC promises to call on seemingly dead objects before it reclaims memory for that object. ...Show All

  • leclerc9 creating ntfs on raw disk

    Hi, Iam trying to format ntfs filesystem on rawdisk. Iam using the following ioctls. 1. IOCTL_DISK_CREATE_DISK // Initialize to a basic disk 2. IOCTL_DISK_SET_DRIVE_LAYOUT_EX // which creates partition. 3. I used IOCTL_DISK_VERIFY // verify partition in the disk. 4. IOCTL_DISK_UPDATE_PROPERTIES // making OS know about the partition. 5. Now to use format I used FormatEx as mentioned in the link http://www.sysinternals.com/SourceCode/fmifs.html ). These steps doesnt work for the first time but it works for secondtime and successfully format on given physical drive \\.\PHYSICALDRIVE4 . Also these ioctls doesnt when more disks were connected to system. Has anyone faced such a problem. Ple ...Show All

  • GiriKrishna Visual Studio 2003.net Databases Connection not working

    I am using Visual Studio 2003.net and trying to get connected to SQL 2005. Is this even possible to do and if not what is the best way to connect to a database with Visual Basic 2003.net. Before I was able to make a connection with VB 2005 express edition and SQL 2005 express edition but this is seeming to be a “no way hosa” kind of thing. . Anyone Anyone Bueller OK, I'm a little confused. Where is your SQL Server Express running Is it a local installation or is it running on a another machine in the network Hi, Have you checked in your configuration manager if the protocols are enabled Maybe this is the reason that you are not being able to connect in ...Show All

  • mvalpreda Convert.ToString(Object,IFormatProvider)

    Hi Guys.. Please help me on this.. What's the difference between Convert.ToString(Object) method and Convert.ToString(Object,IFormatProvider). And how to implement the method Convert.ToString(Object,IFormatProvider) in my code. I get the following error when testing my code with FxCop: " MyClass makes a call to System.Convert. ToInt32 (System.Object) that does not explicitly provide an IFormatProvider. This should be replaced with a call to System.Convert.ToInt32( System.Object,System.IFormatProvider) " Ex: This is how I've implemented my code. Id= Convert.ToInt32(dataRowItem["FlPlnCmpntDefID"]); Thanks in Advance. Yogi Consider it a warning, no ...Show All

202122232425262728293031323334353637

©2008 Software Development Network

powered by phorum