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

Image may be NSFW.
Clik here to view.

Make Double quotes " " as CSV Columns

Hi, let straight to the point,I have table like this (in datagridview) - Read CSV file and load into datagridviewI want the output like in CSV file like"Column 0","Column 1","Column 2",Column...

View Article


code in c# to send C code entered in richtextbox to an external compiler and...

i have been using Turbo C as a compiler embedded with DosBox..i want to compile the code entered in richtextbox keeping the compiler window hidden and show the output back on my windows app.can anybody...

View Article


Bayesian Networks Implementation

Hi all,I want to Implement a Bayesian Network in .NET using C#. Is there any inbuilt library that would help us to do it in dotnet? or Kindly direct me on how to go about it.I found this link but the...

View Article

Outlook Plugin - Issue with Outlook 2010 - Showing Non-recurrent Meetings as...

Hi All,We have created a Outlook Plugin which retrieves Meeting details when we click on that meeting.We have a condition to check for recurrency:AppointmentItem appointment_ =...

View Article

C# Video Game Launcher

Hello All,I'm working on a launcher for Arma 3 - that allows the users to launch the game with or with out mods, I have it mostly hard coded right now for the mods, but I am trying to change that.This...

View Article


Help with DllImport

I am trying to make a C++ native dll, then link that to a dll in C#. So from my understanding to do this, I have put in my C++ dll this:// dllmain.cpp : Defines the entry point for the DLL application....

View Article

Get property values without using reflection

I have a list which contains thousands of objects. I want to get the values of specific properties in each iteration, but I don't want to use reflection because of performance penalty. What other...

View Article

Image may be NSFW.
Clik here to view.

'Object reference not set to an instance of an object" when assigning variables

Hi guys, I'm in need of some help here. I'm working on a music player in which I have a listView that populates with all the MP3 files in a certain directory. However, my goal now is to write this to...

View Article


Deep cloning vs Deep copy

What is more efficient, deep cloning an object or a deep copy?Anonymous

View Article


retrieving a datetime value from sql using the select statement

i wanted to get the Sign_in and Date columns from the database using the select query but when i run the following code i get an error at the while(dr.Read()).......n the error is "Conversion failed...

View Article

how to prevent a deadlock

hello guys i have a database method for ExecuteNonQuery, can you please help me how to modified my method to prevent deadlock while executing some query in database?public int DBexecuteNonQuery(string...

View Article

Where to process data? Db or locally?

We are working on a solution which fires many search requests torwards three different public databases placed in three different countries. For example a search fetches data from one db and passes...

View Article

Web Application slowness

 We have a custom built web application that is running on windows 2003 Server x64 (Hyper V- VM), IIS 6.0, .Net Framework 2.0. The application uses NHibernate to communicate to a SQL Server Database,...

View Article


Windows service huge Virtual Memory Consumption causing production server...

We have a Windows Service which is consuming very huge Virtual Memory. This service is a thread based TCP Socket Listener. we are seeing 32GB virtual memory consumption out of 35GB these days. so we...

View Article

How to take picture Using webcam and load it into picturebox in C#

Hi, I have developed a simple windows application. In that i need to take customer picture using webcam  and save it into database through my application. I don't have any idea about this. Could you...

View Article


SFTP download using C#

Hi Guys,I have a very weird SFTP Server. This belongs to a client of mine. We are in need of downloading the files from it.The files they post everyday has the same name. To make it even difficult the...

View Article

Entity Framework Mapping

Hopefully just a quick question.  I'm working on a library that needs to handle object to SqlDB interactions (insert, update records primarily).  The DB that I'm going to be working against has really...

View Article


Framework for SQL string Concatenation?

I am curious... is there a framework that has tackled all possible SQL concatenations making it very simple for the developer? For example, Can I make a form with three combo boxes. Can I then all any...

View Article

The value from the dropdownlist doesn't appear in the textbox C#

Hi,I have a dropDownList in my web form and I on selecting a certain value from the dropdownlist I want the values from the database for that value to apper in the textboxes.I have this code: String...

View Article

How to use Win32_NTLogEvent (WMI) to capture Event ID 4199 IP Duplicate using c#

HiI try to get Events using Win32_NTLogEvent of WMI using c# but I couldn't. Maybe I should use EvenLog class. Which of these two option is the better?Someone can help me.Thanks in advance

View Article
Browsing all 31927 articles
Browse latest View live


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