Get "Control Panel\Network and Internet\Network Connections" Information in...
I want to display all the information shows in the "Control Panel\Network and Internet\Network Connections" using VB.Net (NetworkName,Status,DeviceName, etc.)This is what i did but i think this is not...
View ArticleSystem.Web.UI.WebControls: Unit.Pixel Method: Why Int16?
Unit.Pixel Method accepts parameter of type Int32. Why then the value is limited toInt16? Yes it's in the docs, I have seen it but what is the reason behind it? It's causing us a significant pain in...
View ArticleWhat happens to the text from Speech which doesn't recognize as command, MS...
Hello All,I am working on some speech enabled application using MS Speech SDK v11. I want to recognize the commands I specify in my SRGS document, at the same time, if some speak something else, I want...
View ArticleAfter saving System.Configuration.Configuration, are changed
hi,strange problem:after caling the Save method all my <value> elements which previously were empty conatin a "\r\n". i changed my code in that way, that i just open and save the configuration...
View ArticleTask Cancellation.Please help.
HI Why task cancellation exception is not thrown in below code. A child task is cancelled . My understanding is if AttachedToParent is used and if parenttask is waited then all the exception from child...
View ArticleICLRRuntimeHost Start / Stop Thread
HiMy context si a Win32 App, which calls some .NET managed classes, through a flat C interface (note that,these .NET managed classes has some thread specific data).So to acheive this, I'm trying to use...
View Articlemscorlib recursive resource lookup bug
Hi all,I have an issue with a WindowsForms application, using .NET 4.0 running under Windows 7 on 32 bits. The application is started automatically at Windows start-up and it crashes with the stack...
View ArticleGenerate spnego token through .net
How can we generate a spnego token using .net.We need to pass this authentication to an API for authentication. Is spnego generation supported in .net?
View ArticleCreate partition from existing drive programatically c#.
hey hi I have been working on the project which needs to create partition from c drive. I could not get an idea how we can achieve this with c#?Does WMI can help me if yes could you pleas suggest a...
View ArticleWhat do I need to do to remove Errors (10023, 10024, 10025) from my Entity...
I needed to downgrade my solution from VS2013 to VS2010 for internal policy reasons. After doing so, the Entity Framework 6 project within the VS2010 solution builds but has three errors. All...
View ArticleHow to add a domain user to local remote desktop users group using C#.
Hi,I am trying to add a domain user to machines local remote desktop users group in the following way, but failed to get the expected result. DirectoryEntry AD = newDirectoryEntry("WinNT://" +...
View ArticleDetermining and implementing classes
There is a crap-load of classes in the .NET Framework Class Library. What is the easiest way to find the right one? For instance, if I wanted to draw a rectangle on the screen? (Just an example, I...
View ArticleCrashing during playback on IE11
My Code UI test is crashing again again just after browser window open. We have VS2010 SP1 Installed. Below is the code line: BrowserWindow bingcomBrowser = BrowserWindow.Launch(new...
View ArticleClickOnce Application cannot read parameters that passed to it in the url
I need to pass some parameters to clickonce application i.e http://localhost/publisher/WindowsFormsApplication1.application?username=joeuser I created simple winform app and publish it with clickonce....
View ArticleHow do I register .net framework assemblies after adding them to the GAC on...
I have at aspx .net website with vb as the code behind that I am using to present a button that when operated runs a SSIS dstx package on a windows 2008 r2 server with MS SQL Server 2008.Originally the...
View ArticleUnable to use Entityframework 6.1 with Prism 4.1
I've a Prism 4.1 Silverlight 5 web Project I want to use EntityFramework 6 with WCF RIA. Its not allowing me to add EF 6.1 from Nuget. Why? and what is the work around...
View ArticleHow to Expose BOL entity class using Façade Design Pattern
Hi,I’m trying to learn the implementation of the Façade design pattern in a demo application. I have spent some time reading articles and watching some videos on YouTube regarding the subject. I...
View ArticlePassing parameters to clickonce via the URL fails to all browsers other than IE
I need to pass some parameters to clickonce application http://localhost/publisher/WindowsFormsApplication1.application?username=joeuserI created simple winform app and publish it with clickonce. When...
View ArticleCustom Session State Provider and SessionStateModule
Hello Everyone,I am trying to develop a web application that users can only log in from one machine at a time. just like XBox live. I have a custom Session state provider using MySQL Database as a Data...
View ArticleFtpWebResponse.Close Exception after large file donwloaded
Hello everyone,Thanks for looking into it.My problem is the following:I donwload backup files from IIS FTP server almost all of them are 500-800 MBytes and one of them 4GBytes in length.500-800 files...
View Article