Quantcast
Channel: Visual C# forum
Browsing all 31927 articles
Browse latest View live

reading & comparing dicom images in c#

hii am develop a small app for medical line in which compare one dicom image to another for similarity. can any one idea how it is possible in c# using CDA or svm standards.ThanksHello To All

View Article


catch and return

What is the difference between catch(DivideByZeroException) { Console.WriteLine("Cannot divide by zero"); return; }andcatch(DivideByZeroException) { Console.WriteLine("Cannot divide by zero"); } that...

View Article


Append characters to excel file in C#

Hi I am trying to copy string data from a TextBox (which is in a tool) to a cell in Excel using C#, the problem i am facing is that,  i am able to copy only the last character within the string. How do...

View Article

Layout C#

Olá, estou terminando o técnico de informatica com ênfase em programação, Tenho 2 semanas para a entrega do TCC, que já está pronto (uffa), Meu curso foi muito focado na codificação e a parte gráfica...

View Article

Old VB6 Encryption using c# to Decrypt

So we have a VB6 serialization library that we use to encrypt a string and save the string do a .dat file. We read this file for licensing. We are writing the libraries in c# now and I put all the same...

View Article


add a RIL.dll to my project c#

Hi everyone,I have a Windows 7 , x 64 bits.my issue is how to add the RIL.dll in Visual Studio 2010.because when I wanted to add it, the system show a message error that it'is impossibly the add it...

View Article

Suggest a Name

I have to develope one  Retail  Sales Management Software in .NET, I would like to add a name for my Software will you please help me give me some standard name for my softwareRegards, Nithin Varghese

View Article

How do i get the PDF/Image from HTML output?

Hi,   I'm using VS2008 with WinXP OS. I need a solution to generate either an image or a PDF document from the HTML output. In my C# function, I'm doing this task....StringBuilder htmlText =...

View Article


Support C# code base written in non English langauage

Hi, As we know C# allows developers to declare identifiers in Local languages but language constructs remain in English.  I have a code base which is written in C# Portuguese using VS2010 and now non...

View Article


I need to create a pdf document from an html string?

HiI have created a print function in Sharepoint where I take all the needed info, create a string with a stringbuilder including the html and display in a new window for printing. The reason for this...

View Article

Why does a throw sentence execute more than one time?

Hi All,I am working on a wpf project which uses MVVM. the output type is class library(DLL). In this DLL I handle unhandledexception like this:AppDomain.CurrentDomain.UnhandledException +=...

View Article

How to get text/control values from WebBrowser control?

I have developed an application, which helps me generating reference letters for students, (C#, DocX, VS 2010). There are a dozen fields that need to be set (mainly text boxes) so that I then press...

View Article

How to convert 10 to a half byte

How to convert 10 to a half bytewhen convert with convert.tobyteit is 0001 0000, is it possible to 1010Designer

View Article


Parameter is not valid.

hi:I receive this error when i try to load image from ms(memorystream object)i use this code dr=com2.ExecuteReader();            if (dr.Read())            {                byte[] pic_arr...

View Article

How to upload files in wcf(web application)

Hi, I need to upload a file in wcf(web application). Can you please share codes. Thanks in advance

View Article


Calling Unmanaged Code in C#

I have the following declaration in my C++ dllunsignedmoduleDescription (unsignedmodulnumber,char*constname,LPSAFEARRAY*constppsainputs,LPSAFEARRAY*constppsaoutputs,LPSAFEARRAY*constppsaintern);I am...

View Article

Visual Studio - System.Data.Common.DbConnection issue

Hi,I am building a Windows 8 app. My app supposedly connect to my MySql server at home. Unfortunately, when I compile it shows "system.data.common.dbconnection" issue. I already installed MySql ODBC...

View Article


Freeing Handle To a Directory Opened In Windows Explorer

Hi,I need an example C# code to free handles to a directory opened in Windows Explorer. The directory can be opened on local computer or on a computer on a local network.Thanks

View Article

Catching multiple Classes exception in single classes.

I have three different classes Class A ,Class B,Class C  with different methods inside the classesnow i want to handle exception in such a way that i don't have to write Try/Catch in every classinstead...

View Article

How enumerable collection works?

Below show's error Cannot implicitly convert type 'object[]' to 'System.Collections.Generic.List<object>'    List<object> objectList = new List<object>();            objectList = new...

View Article
Browsing all 31927 articles
Browse latest View live


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