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

How To Insert system.data.DataTable in Excel Work Sheet

How To Insert system.data.DataTable in Excel Work Sheet i don't Want to enter Data Cell by Cell , i want to load At Once 

View Article


Regex - matching world which contain only vowels or consonants

Hi   ,Could any body  help me,I have to check a string either Vowels or Consonants.I got RegExp:  " ^[aeyiuo]*$|^[^aeyiuo]*$"if string contains Either NG or Y then it should not match .How I can add...

View Article


Process.MainModule Access Is Denied

Hi,I'm using the System.Diagnostics.Process.GetProcessByName() to get access to a wcf service host that runs as a windows service.The process hosts multiple services and I'm trying to access the...

View Article

using Peachtree API in C#

Hi, I have Sage Peachtree 2012. I can see the API folder in C:\Program Files (x86)\Sage\Peachtree but there are no documentation available. Anyone tried to work on the integration to read / write into...

View Article

How does a type like uint? get marshalled by default to COM Interop?

Would that be a ulong*?  I have a uint out parameter that I need to be able to pass null to.  Any suggestions?Will Pittenger

View Article


Where can I download the hot fix to resolve the .NET Runtime crash?

Hi,In one of my Windows 7 64 machines I see the below error in the App log file and it is causing our application to crash..NET Runtime version 2.0.50727.5485 - Fatal Execution Engine Error (6DE8FB1E)...

View Article

Server 2012 R2 SMB - The process cannot access the file...

Hi, We are having issues with Server 2012 R2 SMB shares. We have tested the (very simple) code below with different Windows versions (both client and server) and it just works. The problem only arises...

View Article

String/StringBuilder - creating a substring without creating a temp string

Hi all;First off, this is for a .net 2.0 DLL that is usually called by a .NET 4.0+ app. (It is 2.0 because this is a commercial library and many are still on 2.0 - 3.5).We have cases where we have a...

View Article


Html.Helpers or html elements

When we are developing our views, we can set codes as HTML.Helpers or write them as HTML tags.However what's best ?EXAMPLE: CREATING A HYPERLINK1. @Html.ActionLink("About this Website", "About")2....

View Article


Named pipe server remains "waiting for connection" after close and aborting...

I create a thread which creates three new threads with a named pipe server in each thread. serverThread = New Thread(AddressOf enableClientRequests) serverThread.Start() .... Friend Sub...

View Article

Adding a textbox to email sent to outlook

Hi,  I have a situation where i need to add a text-box inside a email, i added a html text-box in to the email.  If i open the mail in the web browser then the text-box is working fine but when i open...

View Article

Using System.Diagnostics.Process inserts line breaks every 80 chars

Hello,i'm using System.Diagnostics.Process to execute a command.When i call p.StandardOutput.ReadToEnd()  i get a string with line breaks every 80 chars.This is especially bad, because the command...

View Article

custom serialization - GetObjectData() not being invoked - framework using...

I'm using VS2013 and am trying to experiment with custom serialization in C# code (C# 5, .NET 4.5, Win7 Pro x64).  Here's what I have so far.First, a test class which implements custom serialization....

View Article


running a program as administrator whitout asking for permission

hello and sorry if i choose wrong place to ask my question!i want to execute a command in Command prompt! (CMD)and i need  permission to run cmd as administrator to execute this command!so , now ....i...

View Article

Is the ordering of BCL collections guaranteed ?

We are considering about using a BCL collection for storing a set of elements. The collection will be manipulated exclusively with IList<T> as the order matters. The order is extremely important...

View Article


In which scenario we can use abstract and interface, can u give the exact...

In which scenario we can use abstract and interface, can u give the exact clarification....plzzzzzWith an Example....I am a beginer in programming.....Can any one help me with real time scenario.....In...

View Article

StringBuilder OutofMemory Exception

Hi,Through web service i try to read large amount of data.HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(Uri);                        request.ContentLength = 0;...

View Article


SerialPort scanner communicat with mvc5

I have mvc5 project and I want to read data from SerialPort (com port) scanner ?

View Article

unable to create a constant value of type

In the first, my project is OK.A few days ago, I add some entity to database (use Entity Framework 6.0, Code First), everystep is OK.And then, it occurred this problem.The Example Code is:class A {...

View Article

Regarding Constructor in Parent Child Relation

Why the base class constructor called before child class constructor and why the child class static constructor called instead...plz give me a clarified answer....

View Article
Browsing all 8156 articles
Browse latest View live


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