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

cannot implicitly convert type string to double

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Currency {    class Program    {        static void Main(string[] args)...

View Article


how to use reflection to find the data type of a class property

I have a C# class called "equipment" with several defined properties with different data types; such as int, bool, string.  I use Reflection to with a variable name to find the property and set its...

View Article


Using SerialPort class to communicate with USB CDC device

I'm using the SerialPort class to communicate with a USB CDC class device. I'm using the Write method to send a message and ReadByte to read the response one byte at the time (response is usually 2...

View Article

what is the best and optimised way to load controls dynamically in winforms C#?

I am building a winform Application. I have to create buttons dynamically based on data fetched from database. I followed following stepsCreated UserControlOn UserControl_Load event I fetched data from...

View Article

How to Convert a WPF Windows Application to dll

Hi All,How to Convert a WPF Windows Application to dllRegards,Nidheesh

View Article


misteremanone@hotmail.com

What is .NET Framework and do I need it on my PC?

View Article

C++/CLI - How to translate ?

Hey folks. I got a Plugin Host whicht expects a DLL that is TypeOf(iPlugin) Internface. This Host is written under VB.NET Framework 4.5.However: How do I write a Plugin under C++/CLI that is exporting...

View Article

fps too slow when using direct draw (WEC7 on i.MX53)

I'm using a freescale i.MX53 with all the freescale codec installed under WEC7. I need to use an USB camera to viualize a video and to record a video. I use the USB WebCam driver from codepkex (...

View Article


Windows service getting stopped abruptly

Hi,I have a windows service application which pings server continuously every 10 secs and downloads files from the server.Recently, I have faced an issue where suddenly service is getting stopped and I...

View Article


How garbage collector can identify which objects are unused

How garbage collector can identify which objects are unused , i read in some websites about the garbage collector but its not clear for me.when garbage collector walk through the heap how garbage...

View Article

RequestValidationMode change from 2.0 to 4.5

My current application is using RequestValidationMode=2.0 for now and planning to move to RequestValidationMode=4.5.We are currently using .Net Framework 4.5.There are any specific things to be taken...

View Article

Duplicate keys in appSettings in App.Config

If I have the following xml in my App.Config  <appSettings>    <add key="Key" value="Value1" />    <add key="Key" value="Value2" />  </appSettings>then calling...

View Article

Check if a dll is registered or not?

Hi all, I am trying to verify if a dll is registered or not? I am trying to write a function which will check if a dll is registered and return me T/F accordingly !!Please advise.Thanks. 

View Article


StreamWriter Class Question: How do you know if the writer is open?

In the following c# example, is there a way to determine if the writer is open.  I want to know if the writer is open before I do something with it.writer = new...

View Article

Linq confusion - Nube question

HiI'm just starting to look at LINQ to XML to access information from a web service. I have the code below:var z = from c in xdoc.Descendants("content") where c.Value == "Asbestos" &&...

View Article


Open RTF file in MS Word & WordPad

I want to know how can I open an existing license.rtf (located in my application folder) in Microsoft Word and in WordPad? Jassim Rahma

View Article

The request was aborted: Could not create SSL/TLS secure channel..

I am getting this exception intermittently when posting to Twitter. It works sometimes. Other times, specifically when our nightly build runs at 2AM PST, we get this error.I have turned on network...

View Article


An online free FTPS server?

Hi, is there a free online FTPS server, which I can try my FTP code?

View Article

Updated Dll not being called

Hi,I have a C# project, it consist of multiple projects which are referencing each other,I have a file ab.cs which is generating html page dynamically,I changed the look of html page by adding some of...

View Article

NamedPipeServerStream calls Async callback when disposed

Hallo!I've got a strange behaviour of the NamedPipeServerStream class.It calls async callback function, when disposing. 1. I start async wait for connectionpipeServer =...

View Article
Browsing all 8156 articles
Browse latest View live


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