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

why control class has SynchronizationContext ?

Hi,I am looking multithread part , I heard few buzz words say SynchronizationContext, ExecutionContext and CallContext. what this class ?Can any one tell me what this all and why control class only can...

View Article


ComboBox SelectedIndexChanged fire for every INotifyPropertyChanged

.Net 4.5 Windows FormsI have a strange problem.I inherit from a BindingList and the items support the INotifyPropertyChanged interface.I assign the list to a combo box DataSource property.I assign a...

View Article


DLL corrupted after sending it by mail

I am writing external libriaries to account program.I am sending them by mail to customer, every time I send them by mail customer gets corrupted DLL. If I copy DLL to flash drive and then copy DLL to...

View Article

set a text in DataGridViewTextBoxColumn

Hi allim using a datagridview which is populated with DataGridViewTextBoxColumns. How can i put a text in a specific cell in the data grid view.here is how i populate the datagridview-- private void...

View Article

add checkbox to a specific cell in data grid view c#

I have a data grid view witch is populated with DataGridViewTextBoxColumns. How can i add a checkbox to a specific cell.this is how i populate my datagridview --privatevoid...

View Article


Compress file in a splitted zip file with .net 4.5.2 without using a other...

Hi Guy,I would have a splitted zip file when I create a too big zip file with .net 4.5.2.Is there a way to do it without using a third party library ?thanks

View Article

error when addind a DataGridViewCheckBoxCell to data grid view

Hi all I have a data grid view witch is populated with DataGridViewTextBoxColumns. when i add the DataGridViewCheckBoxCell as shown here:DataGridViewCheckBoxCell c = new DataGridViewCheckBoxCell();...

View Article

Where to find the performance counter information?

Code: class Program { static void Main(string[] args) { if(CreatePerformanceCounters()) { Console.WriteLine("Created performance counters"); Console.WriteLine("Please restart application");...

View Article


Retrieving the COM class factory for component with CLSID {} failed due to...

Hi,One of my windows service is using a third party component. I have an Interop.myobject.dll generated from the .tlb file from the third party client. It is working fine in my development machine, but...

View Article


System.Diagnostics.EventLog - A device attached to the system is not functioning

I was getting an error ....System.ComponentModel.Win32Exception was caught  ErrorCode=-2147467259  HResult=-2147467259  Message=A device attached to the system is not functioning  NativeErrorCode=31...

View Article

JSessionID WebRequest

I have the following problem, I have a webrequest to an external page that give me a CAPTCHA (this page have a JSESSIONID) so the user fill my text box with the CAPTCHA and I do another webrequest to...

View Article

Getting a "An error occurred while saving values to the app.config file."...

The content of the title is just part of the message I get. The second line of the message is: "The file might be corrupted or contain invalid XML." I work with a lot of usercontrol libraries, and each...

View Article

Surface tablet logical resolution

I am working on a project that requires me to get the resolution of the screen of the primary screen. I am using C# .NET 3.5 framework in Windows. For all laptops I am able to get the resolution using...

View Article


Flight simulator will not run because it needs 2010 C++

I have 2010 C++ but apparently it is deactivated due to a newer version installed. I had 2013 visual studio, so I took it off but that did not solve my problem. What can possible be hanging me up? I...

View Article

ManagementObjectCollection

Below code is working fine in Window 2003 32 bit. but i am using code in window 2008 R2 and above OS. It takes lot of time Please any help me. Is there any setting related...

View Article


Writing to multiple PackagePart streams causes deadlock. Is this fixed? kb951731

We are trying to use OpenXML to create Excel spreadsheets from a database and we are running into this documented problem (kb951731) when excels are above a certain size.What is the status of this bug?...

View Article

why control class has SynchronizationContext ?

Hi,I am looking multithread part , I heard few buzz words say SynchronizationContext, ExecutionContext and CallContext. what this class ?Can any one tell me what this all and why control class only can...

View Article


WebRequest.Create Hangs in Client system with Windows 8.1 with Fmrk 4.5

Hi,We are hosting a Windows Form in IE builded with .Net Target Framework 3.5 and running in ASP.Net website's run time .Net Framework 2.0.Till now, this is working in Windows 7 and IE11 combination....

View Article

Not getting a setting from the config file

Hi all;We have a situation where on one person't computer, it is not reading a value set in the config file. Works fine elsewhere. This is an add-in to Word so the file is winword.exe.config and is as...

View Article

The process was terminated due to an internal error in the .NET Runtime at IP...

Hi,Occasionally I am getting "The process was terminated due to an internal error in the .NET Runtime at IP 00007FF84F1C1726 (00007FF84F1B0000) with exit code 80131506". Application event viewer shows...

View Article
Browsing all 8156 articles
Browse latest View live


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