What is the maximum precision of the Timer in .NET?
I'm wondering what the precision of the Timer class is in System.Timers, because it's a double (which would seem to indicate that you can have fractions of milliseconds). What is it? ...
I'm wondering what the precision of the Timer class is in System.Timers, because it's a double (which would seem to indicate that you can have fractions of milliseconds). What is it? ...
Hi, I have a pretty general question here. What is the best + reliable way for two applications running on the same machine to communicate with each other WITHOUT using web services or a web server of any kind. as example: application A: runs at .NET app that with active X controls can access another third party application and receiv...
I implement an xml serialization based on Marc's answer. Should this be part of the class itself, ie Apple.Serialize/Deserialize? Although Deserialize would be static in that case, as you might not have an instance to call it on. Or should I have another class for Serialize/Deserialize? If so, these seem to be generic enough? What sho...
I have a site where a user can download a file. Some files are extremely large (the largest being 323 MB). When I test it to try and download this file I get an out of memory exception. The only way I know to download the file is below. The reason I'm using the code below is because the URL is encoded and I can't let the user link di...
Hi All, I need to place some validation on an asp button to ensure it is clicked at least once. I setup a Custom Validator, set controlToValidate as the button but then found out the Custom Validator can only validate certain controls and a button isn't one of them. I thought about validating an invisible textbox directly next to the ...
Hi, Where can I find information on building a Module Based or Plugin Based (not sure which si correct) application? Example - Say I have a productiion application and and I want to add a shipping module. Basically my users can click "Add Module" from my application and select a CAB or Zipped file and my shipping module can then be adde...
I am building an application that will have web, windows and mobile (iPhone) client, I want to use WCF to implement the service layer and not being familiar with WCF I am a little confused when it comes to security, authentication and authorization. What I would typically like is to re-use as much of the ASP.Net membership components ...
Consider a .NET application that performs lots of configuration changes in IIS such as changing Virtual Directories or enabling compression. With IIS6 everything could be accomplished using the metabase through DirectoryServices. However in IIS7, the Metabase compatiblity is an optional component, so I'm assuming that alternative ways s...
I have 2 comboboxes, each are bound to the the same DataTable like so: channelTypeCB.DataSource = SynergyData.ds.Tables["ChannelTypes"]; channelTypeCB.DisplayMember = "channelType"; channelTypeCB.ValueMember = "channelTypeID"; channelTypeCB.BindingContext = new BindingContext(); newSKChanTypeCB.DataSource = SynergyD...
I didn't know what else to title this post, so if you have a better title, feel free to edit. I have two classes: Form and Field. Form has a property called Fields that is a List of Field objects. Form has a property called Prefix. Field has a method that needs to use the Prefix property of the Form that contains it. Here is what I...
I have a class library that stores several XSD files. When creating an XmlSchema class in the same library, I would like to know how to get the URI to the XSD file. The library is being deployed with a web application. Is there a way to get the URI from the web application as well? Thanks. ...
Application db connection in web service. i haveto connect the db using that web service. can u help ...
i need to integrate the yahoo login in my application using api . ...
Hi, I have a listview with checkbox property set to true, and I also allow column reordering. The problem is that when someone moves the first column to some other position, the checkboxes remain in that column and move with it to the new position - so eg. they can be in the middle of the listview. I would like to have the checkboxes A...
We have developed an application in C# .NET WPF Office which we are about to Open Source. I'd be interested in the objective factors that we can address to increase the likelihood of success. It's a domain application on top of the MS stack, so we would be particularly interested in any experience of groups doing this (as opposed to writ...
When deserializing, DataContractSerializer requires not only that an element name matches, but also that it is in a certain order with respect to the other elements. My application is such that every field can be uniquely identified by its name. I would therefore like it to be possible for the XML file to contain the elements in any ord...
Having read Data Contract Versioning we concluded that it's not really the whole story. For example, what happens if you used to have ValueA, and in the new version it's now called ValueB and is of a different type, and you need to convert ValueA to ValueB? There are some callbacks I could use to help with this, but it doesn't look like...
I'm reading up on .NET things again after a brief (and occasionally ongoing) stint with Ruby on Rails. I'm wondering if LINQ is still a choice when choosing an ORM for new applications, or if I should learn something like NHibernate instead which seems to still be going strong. I know that Linq has basically been subsumed by the Entity...
encrypt and decrypt passwords in c#.net ...
pls help to convert .bmp image to pixel data Bitmap.FromFile(XYZ.bmp) gives System.OutOfMemoryException thank you ...