c# transform expression tree for untyped entity exposed via odata
I’ve been playing with the untyped/ro example.The example creates a dynamic metadata and the data set is constructed using the same classes i.e.DSPResource and the ResourceSet.So, when the client...
View ArticleCan I disable ASPNET, IUSR_* and/or IWAM_* accounts using SSLF.inf file?
Can I disable ASPNET, IUSR_* and/or IWAM_* accounts using SSLF.inf file, if so what are keys and/or options?
View ArticleSoft calling using .Net
Hi,I need to develop a web application it should display a table with 0-9 numbers and then a call button, end button, answer button.1.If any inbound call came i need to answer that.2.Outbound call i...
View ArticleZip Files
Hi,I was wondering if it's possible to zip multiple files using C# (.NET 3.5/4.0) without using any 3rd part tools/libraries?This post is in reference to this post.Thank you
View Articleprogressbar + background worker + reading a large XML file
I am trying to validate a large XML file against an XSD in C# code. The file is 70MB in size.I would like to have a progress bar so the windows app does not appear to hang.How can I implement the...
View Articlearray VS list
I am writing my on DSP Class, what would be better to usean arraysor enumeration list
View ArticleProposal: new method modifier - keyword
new method modifier 'keyword' enable new features: avoiding (), coma and point when call functionfor example:first, declarationclass SQLSyntax{ public int? keyword between(this int firstNumber, int...
View ArticleLinking a Windows Form to the BLL and DAL to create simple example
Greetings,I'm trying to learn how to write a BLL and DAL to achieve a simple example of returning a user to a form. I believe I have finished 98 % of the code. I need another set of eyes on it to...
View ArticleHow may I get the number of a webpage elements?
Hello guys,Do you know how may I get the number of a webpage elements?Let's say that I need to verify the number of elements contained on a webpage and get its properties. Is it possible to be done in...
View ArticleErro Webservice
falae galera... beleza? estou com um webservice aki q está com um erro muito bizarro...quando eu acesso a pagina do WebService, aparece os métodos tudo certinho...quando eu clico no método para...
View ArticleTrying to remotely lock a computer on my network with C#
I am looking for a way to lock any computer on our network remotely using C# in a program I am building. I have scoured the internet trying to find some piece of code that will allow me to do this....
View ArticleHow do you debug a program which has an error occur 3 times during around 20...
How do you debug a program which has an error occur 3 times during around 20 trials when debug message is unknown error for a network program which is zeromqDesigner
View ArticleDPAPI Usage
Is DPAPI the tool I should use to encrypt asymmetric encryption keys when the private key must be available to and decrypted by a WCF service?thnx
View ArticleWeb Services - Error When Accessing Raw SOAP Messages with Binary Data
I have a class to intercept the SOAP message for a web service call.public partial class MyServiceClass : System.Web.Services.Protocols.SoapHttpClientProtocol { XmlReaderSpy _xmlReaderSpy = null;...
View ArticleWindows Color Scheme change event
Does anybody know how to detect the windows color scheme changing? I am writing a program that uses the AERO glass feature but I need to be able to detect if it has changed while my program is running...
View ArticleDataContractJsonSerializer adding custom parameters to StreamingContext
I'm using DataContractJsonSerializer to do custom deserializing of JSON text.When the JSON deserializes and the OnDeserialized method is called there is a StreamingContext parameter.Is it possible to...
View ArticleGetting state updates from a listbox on a seperate form.
Hello, In my main form, form1, i have an instance of my secondary form, form2. public partial class Form1 : Form { Form2 f2; public Form1(Form2 frm2) { f2 = frm2; int count = f2.lstListBox.Items.Count;...
View ArticleHow to validate a checkbox list, radiobuttonlist controls using javascript or...
I have a web page which have lot of sections that has dropdownlists, checkboxlist, radiobuttonlist.I am looking for a master function where i can pass the id of the current element and check whether it...
View ArticleC# Windows Form Validation
Hello all,I have a dialog that asks the user for a name. Because I don't want to initialize the dialog with a table of preexisting names, I want the code that validates the name isn't duplicated to...
View ArticleWPF Project right click "Add New Item" add WPF Custom Control cause VS to...
I created a new WPF Application. I created a Project folder called "MyTestControl" I right click on this folder and select "Add" > "New Item"I choose a WPF Custom Control, give it the name...
View Article