On cleanuing up COM object when using Microsoft.Office.Interop.Excel
When using Microsoft.Office.Interop.Excel the COM objects that are created by the code must be released using System.Runtime.InteropServices.Marshal.ReleaseComObject().Most of the time it's pretty...
View ArticleHow can I view the mode of my network adapter
How can I view the mode of my network adapter is whether in promiscuous or in normal? Thanks.
View Articleretrieve Deleted User from active directory c#.net
Hi,I am doing application on active directoryI want to recover deleted user account in active directory (tomb stone) with all data using c#netPl z Help
View ArticleQuery deleted objects In AD only for a particular OU?
Is there any way to query the deleted objects in AD only for a particular OU rather than for the entire domain?
View ArticleDelete RSA key from machine key store from Web Forms
Hi,I have some keys I am storing in the machine key store. Occasionally there is a need to dump the old key and create a new one. I have provided a web form for that purpose, however when I set the...
View ArticleTable Attribute not working with MVC5 and EF6
Hello, Having an issue with a project I am working on. I have a web project and portable classes. I am using Entity Framework 6, and MVC 5. Everything was working when I had all the classes in...
View ArticleLineargradientBrush
lineargradientBrush has Transform Property.Which is matrix ,using this we can identify scaling,rotation and skew.I convert the lineargradient from powerpoint to EMF.Identifying the type of...
View ArticleHow can I figure out what config files are being used?
We have 1 user where on their machine, in the machine.config file (both .NET 2.0 & 4.0) it has:<system.data><DbProviderFactories><add name="Odbc Data Provider"...
View ArticleIME Installation using Windows Update Agent (WUA) APIs
Hi All,We all know that IMEs are are not installed by default in Windows OS. We need to update/install them manually using Windows Update feature. I believe we can install the required IMEs...
View ArticleMerge properties of anonymous type object
Hi, I have two lists:List<T> elementsList<T> contentsBoth have common property called ID. Other properties are different. I want to merge both the above lists into single list. I want to...
View ArticleClass instances creation using MEF
Hi,I have class implementing one interface e.g.interface IFoo{}Class Foo : IFoo{}Using ServiceLocator, I want to create multiple instances of class in following manner: -1. instance CommonFoo2....
View ArticleWindbg for cpp
Hi Guys,Lately I got to know about the windbg tool and currently am working on application hung issue so to understand the tool i wrote sample piece of code like below #include "stdafx.h" #include...
View ArticleHow does the function "Graphics.Save()" work in save as mef?
I search a way to save the graphics in a "EMF" file.I got the following code. It really work. I can get a vector graphics file. but i cannot understand how the function work. can someone help me?...
View Articleregister dll with several versions for interop
Hi,for the following explanations and questions note this first: I know .net is able to do that but the question is whether interop registration can handle that.I have an c# project where I implement...
View ArticleAccess to remote folder
Hi,I have an app which must read, change and save (update) files on remote PC.I have a special user/password to access the remote computer.Is there any way to loging to remote computer from inside the...
View Articlebuild tools language resources - amd64 ”packages missing“ Installation stuck
I am installing the VS2015 Enterprise RC, the first installation went well, but after the second one, the installation pauses asking, package missing, download from internet or search in this address?...
View ArticleIs it possible to create natural language processing project in vb.net? as it...
I have a project in natural language processing, my supervisor suggested me to use python, but i dont want to use python........is it possible that i can do same work in vb.net...??please help..regards..
View Articlei want to fill combo box in c# and i use oracle 10 g database in backends it...
public void Fillcombo_product() { string oradb = " Data Source=xe;User Id=sohail_ss;Password=sohail; "; string query = "select * from company";...
View ArticleSerial Scanner listener
Hi,I have scenario like below.1. Serial Scanner have a data received event, listening from com port.2. Serial scanner expose one event when data received from com port.3. WPF application gets events...
View ArticleFind a Sub Process Executed as part of a Main Process
Hi Experts,My Requirement is to Create a .Net Application which constantly monitors if a POPUP Window of a Third Party Application is Open or Closed. As Soon as the Popup window is closed (There is an...
View Article