Quantcast
Channel: .NET Framework Class Libraries forum
Browsing all 8156 articles
Browse latest View live

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 Article


How 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 Article


retrieve 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 Article

Query 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 Article

Delete 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 Article


Table 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 Article

LineargradientBrush

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 Article

How 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 Article


IME 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 Article


Merge 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 Article

Class 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 Article

Windbg 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 Article

How 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 Article


register 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 Article

Access 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 Article


build 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 Article

Is 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 Article


i 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 Article

Serial 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 Article

Find 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
Browsing all 8156 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>