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

Software Development Network >> .NET Development

.NET Development

New Question

Add or change attribute to a property in runtime, is it possible ?
Error checking in compression xml document ?
Microsoft.net framework,version 1.1 service pack 1 (KB886903)
Problem with encoding.
Any performance gain by compiling to x64 instead of Any CPU?
pooling large objects
How to bulk insert in .net 1.1
How to send a msg on connect (vb.net)
Help request on How to draw a vertical upward string?
About the retry mechanism of Remoting

Top Answerers

polymorphicx
Idanz
BD_Elektrona
tee_user5
Tb2006
elittle27
Shauliz
Bracken1
dcosoccerdude
sunny123
sitemap
Only Title

Answer Questions

  • daydreamsy2k State stateinfo error.

    I am trying to use ManualResetEvent class. I took a sample from this post by Camoz: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=69213&SiteID=1 I get a compilation error on the last statement: State stateinfo . All references he is using are included in my file. I think they are also in the reference section of the object browser. What am I missing It is a snipped piece of code: using System; using System.IO; using System.Security.Permissions; using System.Threading; class Test { static void Main() { ManualResetEvent[] manualEvents = new ManualResetEvent[numberOfFiles]; State stateInfo ; The error message is: Error 2 The type or namespace name 'State' could not be found (are you missing a using d ...Show All

  • kevinj Zip the file in C# .net 2.0 windows application

    I want's to zip the file by the help of framework libraries [no third party library,no interop.Shell] Can I do that I have already use it in some of my old project. Now In my new project it is the restriction that i can't use any third party dll. That's why i am trying to find the best solution to zip the file/also unziping with the help of framework class libraries have you looked at #ZipLib http://www.icsharpcode.net/OpenSource/SharpZipLib/ As in web project I can use both vb.net page as well as C# page. Could Some how I can add/make a J# class in my C# windows application and call its function I presume the reason is that you're adding the entry using the fu ...Show All

  • LukeR_ XmlSerialize a System.Drawing.Font

    Hi, I haven't used the XmlSerializer with any built-in types before, so maybe this is a common restriction... But are System.Drawing types possible to serialize When I try to serialize any System.Drawing type, I get a runtime error: Could not load file or assembly 'System.Drawing.XmlSerializers' I can't find any references to this assembly anywhere on the net. Is it something that hasn't been implemented in .NET yet.. Thanks, Jonas Jonas, You get this error because the type you're trying to serialize is not XmlSerializable (maybe some IDictionary is there or something like that).... so it won't be possible to serialize it as xml. The error message you receive is telling you that the frame ...Show All

  • Jay K Automatically detect a CD and read CD contents

    Hello all, I am trying to make a module which will do two jobs: 1. Automatically runs when a CD is inserted into the cd rom drive. 2.copies the contents on CD to any location on hard disk. I am usng C#.net 2003. Anyone please help me! Thanks you could use the DriveInfo[] class and get the collection of drives on the system. Then iterate through each one, check if it is of a CDRom, if it is, check if it is ready and finally if it is, access the drive and copy files.   DriveInfo[] theCollectionOfDrives = DriveInfo.GetDrives(); foreach (DriveInfo curDrive in theCollectionOfDrives) {    if (curDrive.DriveType == DriveType.CDRom)    {       if (curDrive.Is ...Show All

  • kminear SqlDependency object inside AppDomain

    I wrote a class which had a SqlDependency object inside. It can receive the notifications when the results changed for an associated SqlCommand object.   This class worked great when the class object was hosted by an application directly (default AppDomain).   However, if the class object was hosted by an AppDomain other than the default AppDomain, the object stopped receiving the data changing notification from SQL Server after five minutes.   (To make this class can be hosted by an AppDomain, I made it derived from MarshalByRefType class. Additionally, I renewed enough long the ILease object which controlled the lifetime policy of the object inside the AppDomain).   Any ideas on thi ...Show All

  • Ronan Jordan axWebBrowser control accepting security certificates problem

    Hi   I am using a axWebBrowser control to access HTML elements (from a https site) via a document model. I’ve got my head around the DOM side of things and I’m very happy with the way the elements are being presented to me. The problem is that I need to manually accept the security certificate via the security alert dialog.   Can I do this programmally Thanks in advance. If you have just one certificate, you can select form the internet options. Security - Custom Level – and look for “ Don't prompt for client certificate” and change it to enable The axWebBrowser control you are speaking of is not owned by the team that manages this forum.& ...Show All

  • 2006 Who's using .Net?

    I am just starting using VB.Net and loving it. But can anyone point to an example of an application created using .Net It seems as if Microsoft doesn't make many apps with it. I am trying to show coworkers some examples. Thanks, Chris Sql Reporting Services for SQl Server is written in .Net. Sharepoint is .net. Some Microsoft products are written in .Net, but its true they don't advertise it. Our company is using it to create Excel VSTO C# .Net 2 addins which allow our employees to access the differing databases and have the data supplied in Excel which is what the non developers use for the most part around here. A good example of a VSTO application can be found ...Show All

  • bes7252 problem in running 2 threads

    I have a function which connects to the server (it is a synchronous connection) and returns bool value based on whether the connection got successful or not. While connecting to the server I would like to show progress bar on the UI. I have used separate thread for connecting to the sserver and I showed the progress bar in the main thread. I am starting the progressbar once “connect button clicked” and I will stop the progressbar run after “connect to the server function” returns. Once the “Connect” button clicked I started the “ProgressBar” running and also I started the Thread for connection to the server. Since the connection to the server is synchronous the whole application got hanged while connecting. Even the progress bar running ...Show All

  • Vipul123 how to programmatically detect the .NET Framework

    Please some one help me to detect the .NET Framework programmatically.i am writting a application where i want to detect .NET framework before i install the application.I dont konw how to do this. Please can you help thanks. Instalation programs built with VS have launch conditions exactly for smth like this. Check under the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP As discussed here: http://blogs.msdn.com/astebner/archive/2004/09/14/229574.aspx since .NET 1.1 keys are added to tell you which versions of .NET are installed. There will be a key for each available version. Why should you do this Disk Sizes c ...Show All

  • Salman Maredia howto AppendPrivatePath in 2.0

    yet another migration question from me (I'm on a theme here). in 1.1 (in 2.0 too but with a compiler warning) I can append the private path of the default app domain using the AppendPrivatePath method. the 2.0 compiler compliains that I should use the private bin path of the appdomain setup info, but the problem with this is, that thats not accessible for the default app domain. I suppose the answer would be to specify that in the app config and I suppose thats what I'll end up doing (even though thats a lot of stuff I then have to change), but wanted to look stupid by asking if there was an alternative similar to AppendPrivatePath. Steve Whitley wrote: The app I'm working declares ...Show All

  • mjhoagland Update a access db's with VB express

    I have an access 2003 db's  but no of the methods of the help index can insert an element to the database. I've tried with data adapters. The dataset of the db's try to update but no can do. help   following the code Dim lect As IDataReader = Me .SistemasDataSet1.CreateDataReader sistemasDataSet.EstadisticasDataTable.Item(1).Rows.Add( "otros" ) 'sistemasdataset.tables("nombretabla o el indice de la tabla).row(i).colum("importe").tostring() + suma Me .EstadisticasTableAdapter.Insert( "joya" , "no ug" , "12 / 12 / 2006" , "tigre" ) other code on other button   Dim dt As New DataTable( "tblDemo" ) Dim coche As DataRow Dim i As Integer Dim j As Int ...Show All

  • TonyP19389 NULL Properties in DirectoryServices.SearchResult

    In a WebService i'm trying to get a list of user details from active directory. I get a list of search results: Dim deSearch As DirectorySearcher = New DirectorySearcher() deSearch.Filter = "(sn=sm*)" deSearch.PropertiesToLoad.Add( "cn" ) deSearch.PropertiesToLoad.Add( "co" ) deSearch.PropertiesToLoad.Add( "mail" ) deSearch.PropertiesToLoad.Add( "mobile" ) deSearch.PropertiesToLoad.Add( "streetAddress" ) deSearch.PropertiesToLoad.Add( "telephoneNumber" ) Dim results As SearchResultCollection = deSearch.FindAll() Dim seres As System.DirectoryServices.SearchResult For Each seres In results Then I want to use each prop ...Show All

  • Mr_White Aliasing table names in DataSet read from XML

    Hello. I want to read into same dataset from two XMLs which has different 1st level elements but the same 2nd level elements: <root1> <obj1 attr1='111'> <properties> <property id='1'/> </properties> </obj1> <obj1 attr1='222'> <properties/> </obj1> </root1> and <root2> <obj2 attr='aaa'> <properties> <property id='2'/> </properties> </obj2> <obj2 attr='bbb'> <properties/> </obj2> </root2> I want to build one Dataset where either 3 tables obj1, obj2 and property which references either obj1 or obj2 table. Another possibility is to create 4 tables: obj1, property_for_obj1, obj2 and property_for_ ...Show All

  • chamsoft datarow array to excel what am I doing wrong?

    Dim XL As Microsoft.Office.Interop.Excel.Application Dim xlwb As Microsoft.Office.Interop.Excel.Workbook Dim xlsheet As Microsoft.Office.Interop.Excel.Worksheet XL = New Microsoft.Office.Interop.Excel.Application xlwb = XL.Workbooks.Open( "C:\tryout.xls" ) xlsheet = xlwb.Worksheets(1) XL.Visible = True Dim pPK As DataColumn = RcsDataSet.Tables( "Customers" ).Columns( "CustomerID" ) Dim cFK As DataColumn = RcsDataSet.Tables( "InvoiceDetails" ).Columns( "CustomerID" ) Dim rel As New DataRelation( "CustomerInvoiceDetails" , pPK, cFK) RcsDataSet.Relations.Add(rel) Dim myArray() As DataRow For Each dr As Dat ...Show All

  • icarous gridview style problem

    hello there; i am trying to modify some properties of the gridview, such as arranging rows and columns heights and widths, since my data from source is not regular.Can anyone show me the way how to do, thanks Sorry, and thanks for replying, the problem is that; have a design made by a designer and i am sure he has no idea about what a gridview is:) and what i am trying to do is to be loyal his design, what i mean is he made a html design, includes pictures,tables...i am trying to display exactly same design, but gridview, as you specified, already sizes itself which something i dont want to, i need to change some properties of it, how can do that thanks thanks so much for your help, i am just trying something yo ...Show All

575859606162636465666768697071727374

©2008 Software Development Network

powered by phorum