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

Updating datagridview from listbox and compact database? Takes two exits!

Hi All,This is for visual studio 2010 and .net 4 (windows 7)I have a program that gets stock information from the web and saves it to a compact database. The database has two tables. One with just the...

View Article


Get Pixel Color on Mouse Click

Hello , I am trying to write a little program that gets the pixel color where ever the mouse is on the screen...which I did successfully...  when I find the color at the mouse position I have the code...

View Article


WUA API - Retrieve Windows Update history using WUAPILib from a remote machine

Hi All,Is it possible to view/update Windows Update history on a remote machine using the WUAPI 2.0 Type Library. I search for any answer r sample , fund a some samples in stack  but they not...

View Article

ReaderWriterLockSlim.EnterWriteLock() seems to automattically releases the...

Hi,I call myLocker.EnterWriteLock() and then somewhere after that I need to do an io operation which forces me to use an await. This is part of the code I have to execute before I get to the point...

View Article

Argument exception Unhandled error need help !

Hi guys i need help in my program, here is the line who has the problem '2 Rellenar la fila con la informacion        nuevaFila("Nombre") = CajaNombre.Text    -> this has the error...

View Article


where can i download visual studio 2010 documentation???

where can i download visual studio 2010 documentation??? farooq.hnf

View Article

convert Datarow column algorithim to XmlNode or XML Reader from xml File in c#

Dear sir, the below algorithm  is working fine. for the XML File as below. but according to requirement no use dataset.so i have created the above algorithm as follows but looping not...

View Article

i cant use person table name in ado.net

i just create a table name 'person' in c# and i use ado.net entity data model and the name turns to peopleany body can give me a reason why?

View Article


Modbus c# and

I am writing a program in C# to send information over Modbus..does anyone one understand the form in with a master sends data to a slave in Modbus?I think the master sends  the slave id then the...

View Article


Help with Assembly.GetManifestResourceStream

So ive added a file.exe to my project as a Embedded resource. And i wan't it to drop/write the file.exe into the same folder that my program is. Here is my code so far (having problems with...

View Article

Stream input resource

namespace Project{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { string path =...

View Article

SecurityRules .Net inheritance between assemblies MarshalByRefObject

Hello, I've got 2 assemblies (A and B) and 1 console application. The console application creates an app domain with a restrictive permission set. Assembly A defines a class cA that inherits from...

View Article

CSharp Handling and Holding Empty Data using Visual Studio 2008 SP1

Dear All,I am facing issue for handling and holding empty data using the following data types1. datetime 1. DateTime DateTime inDT = ; // here is empty date time DateTime dt = inDT; // Here I would...

View Article


how to make sure no reference to an instance?

there is no pointer in c#, how do it know which is being reference if i declare another variable and assign bloomberg message to this variable and this variable it put in a list and send through tcp...

View Article

The name 'CultureInfo' does not exist in the current context

Hi, To this line, if (!DateTime.TryParseExact(tb_birth.Text, formats, CultureInfo.InvariantCulture, DateTimeStyles.None, out birth_dt)) ... I've got Error    5    The name 'CultureInfo' does not exist...

View Article


Get file under ASP.NET web application

sample1.pdf is under my web application. I ran the code below, and then it gave a error "Could not find file...".Please suggest me How to make my code can work.     protected void Button1_Click(object...

View Article

How to control an application on another computer?

Hi,I need write two applications. The first application one accepts users inputs that will be the parameters for the second application. After a user press OK button, the first application launches the...

View Article


Httpwebrequest with SSL

I have a asp.net web api application and that controller class uses httpwebrequest to send "https" web requests to ssl enabled iis web server. The  certificate of website is selfsigned.My web request :...

View Article

Media Player along with FM player

I am planning to create a media player that also has the facility to play FM. I have already created the media player using wpf application in c#.The additional feature i.e. playing FM is yet to be...

View Article

How to insert more than multiple records (1500) in sql server using asp.net?

Hi,We have a web-app where some check-boxes are used to select the number of records to be inserted. I am currently passing the records as xml string to back-end stored proc to insert the multiple...

View Article
Browsing all 31927 articles
Browse latest View live


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