Quantcast
Browsing all 8156 articles
Browse latest View live

ManagementEventWatcher stops raising EventArrived after running application...

To monitor some application, I am using ManagementEventWatcher class and I have registered EventArrived event.When I run application from .NET IDE it works fine. As I have not finished coding of other...

View Article


How to open files in C#?

I'm just starting out, and i don't know how to d o what i assume would be a simple task-open a file for view in windows.i don't mean to analyse it's contents, but to simply click a button, and a...

View Article


WMI slow on querying installed products

Hi, I want to use WMI to query which programs are installed. Firstly on the local machine, later also on remote machines, that's why i want to use WMI.This is the code: ManagementScope scope = new...

View Article

About Interop Multilanguage DLL

Good Morning,I intend to make a Interop Multilanguage DLL using vb.net, to work with dephi and java.my dll makes connection with SQL server and save data to a DB.my question is if it's possible to use...

View Article

Merge two projects in a single project.

I want to add two of my projects in a single project.How  can i do that?? I have two different  database. How to use two different connectiostring in a single project.amature.

View Article


Static vs Instance to copy stream instances

This might be the newbie question here but I’m trying to copy two Streams using utility method.  In the example below there may be 1000+ instances of the Worker class. And in each worker class copies...

View Article

Memory leak when using Win32_PerfFormattedData_PerfProc_Process with LIKE...

In my monitor application, I need to observe bunch of processes - different exe or same exe running under different start up argument.  In order to be notified by those processes running same exe but...

View Article

Call Dll under different user tokens

Hi,I am using Marshal.GetActiveObject() in windows service template but it gives exception, the code works fine in windows forms application, in order to achieve required task i create a dll and write...

View Article


nic

nicnic

View Article


System.Security.Cryptography.CryptographicException The system cannot find...

Hi All,I am in deep trouble with the below problem.This problem is found on IIS7 windows server 2008. System.Security.Cryptography.CryptographicException  The system cannot find the file...

View Article

SerialPort not receiving bytes

I have an RS-232 to USB adapter that is assigned to COM3.  I can read data from it using Putty with the following configuration:Serial line to connect to: COM3Speed (baud): 10000Data bits: 8Stop bits:...

View Article

to create .zip file in asp.net using C#.

Hi ,I have created a function to create zip file but when I extract the zip in windows the file which was zip does not contains the extension. please let me know how to get the extension.calling of the...

View Article

fixed header working fine for desktop but not for windows phone

I have my website in asp.net with master page. I have used below css for header div of my website to make it fixed..header{ z-index:3001; position:fixed; top:0px;left:0px; background-color: white;...

View Article


WMI Class suport for RAID arrays

I have a need to get the total RAID capacity but I can not find any of the WMI classes are retrieving the RAID capacity, please let me know which WMI classes will given me this information.Thank you in...

View Article

SAML 2.0 Error when signature comes next to AttributeStatement (.Net 4.5)

I am running integration testing with a service that sends request with SAML 2.0 Assertion the ReadAssertion(XmlReader reader) method of System.IdentityModel.Tokens.Saml2SecurityTokenHandler is...

View Article


How to know .net assembly 32 or 64 without load to appdomain ?

How to know .net assembly for 32, 64 or any cpu without loading them into AppDomain ?It's hard to be advanced programmer

View Article

The state information is invalid for this page and might be corrupted.

I am getting this error....The state information is invalid for this page and might be corrupted. please help Thanks in advanceAbdhesh Kr. Mishra Software Developer(.Net(C#, ASP.Net, SQL, Java Script))...

View Article


Remote MSI install using c# and WMI

Hi,I having a problem  whilst trying to install an application on remote machines using WMI. The code im using seems right, but it just isn't working. Can anybody,please, help point me in the right...

View Article

Unicode to Hindi (Devnagari) conversion using vb.net

Hello Friends, i had a text file which contains the unicode data i want to convert that data to Hindi (Devanagari). Here is the example for the sameInput Unicode data is :0928;0940;0932;092E and...

View Article

Unable to load DLL

Unable to load DLL '..\ACR120U.DLL': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))Try To Open Like This [DllImport("ACR120U.DLL")]    public static extern int ACR120_Open(int...

View Article
Browsing all 8156 articles
Browse latest View live


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