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

Image may be NSFW.
Clik here to view.

Multiple Buttons displaying a pin in a listbox

I am working on a project where I have to create a six Button pin pad.I want to create a code that will link the clicks of the buttons next to each other in the list box, so that the user can see the...

View Article


Working with Certificate Revocation List

I need to load CRL file (or Byte array) and retrieve the Serial numbers in.I notice that System.Security.Cryptography.X509Certificates namespace is for certificates (and I'll use it) but what namespace...

View Article


Change the default behaviour of Internet Explorer using C#

I want to make a small web application. The details are given below. Three tabs will be opened in an Internet Explorer. Each tab will go to our client's website i.e. www.xyz.com The client's website...

View Article

Code stops executing at DataAdapter.Fill line??

hey guys, cant work out why the following code is stopping on the marked line (marked with ***)...namespace Keystore { publicpartialclass FindKey : Form { public FindKey() { InitializeComponent(); }...

View Article

offline mode for my app using MSMQ: some transactions are removed and are not...

I use MSMQ instead of SQL Server CE for offline, but some of our clients are experiencing their transactions to be missing. This is the situation:They have a server in another location and the client...

View Article


What is the recovery path for TransactionInDoubtException ?

Can somebody tell me what is the proper way to handle TransactionInDoubtExceptionand roll back partial commits?var option = new TransactionOptions(); option.IsolationLevel =...

View Article

Prevent C# console from closing on exception

Hi,i am writing a console timer job to send automated email. every has being successfully.. but for any code, there might be some exception being surface due to unforeseen circumstances. therefore i...

View Article

remove all the members of a group

can i remove all members(i don't the exact counts) of a certain group by using DirectoryEntry.invoke or some other methods?i think it's not  a good way to get all members of this group and then remove...

View Article


Is there any reason behind Convert.ToIntXX(string) not accepting number group...

According to the Culture-Specific Formatting Information part of Remarks in the Convert Class description, and Remarks of Convert.ToInt16(string), Convert.ToInt32(string) and Convert.ToInt64(string),...

View Article


Using SHDocVW, unable to retrieve the Open IES

My application in VS2010 is running as administrator(that is the requirement). My application launches a few Internet Explorers.When i try to retrive them from SHDocVW.Shell Windows() am getting a...

View Article

How to disable a Next button for a particular step wihtin a ASP Web Wizard

Hi,I am new to .Net and trying to use ASP wizard on my page. Within the ASP wizard steps I wanted to customise a particular Wizard setp: I have a wizard with follwing stepsWizard:Step 1Step 2Step 3Step...

View Article

how to test performance such as delay in real time web with webclient in c#

how to see whether have delay in real time of web using xsocket subscribe data from winform which using xsocketwinform publish continuously in real time to web if create 1,000,000 web client, can i see...

View Article

how do i resolve this

hi friends, Cannot implicitly convert type "java.util.List" to system.collection.generic.list<org.apache.pdfbox.pdmode.pdpage>implicit exist </org.apache.pdfbox.pdmode.pdpage>

View Article


Representing JSON Groups in an C# Object

I'm playing around with MongoDB and trying to write some JSON documents to MongoDB.  Currently, I am hard coding the values and outputting to the screen.  The end goal is to migrate data from SQL...

View Article

need excel in our application

I try to integrate excel in winform application .I follow the below...

View Article


need help with some coding please

hello to allwhat I am trying to do is setting the selecteditem of a combobox to an item that is in a XML setting file.I got 3 comboboxes  country, states, cityI populate this comboboxes from another...

View Article

Image may be NSFW.
Clik here to view.

C# dynamic data - find the side that hit

Hi guys,i am trying to build a program that calculates the temperature of two water tanks that receives constant water inflow.The program constantly gets feeds from the water tanks.  We have two tanks,...

View Article


How to marshal two parameters from a C function in a C# delegate method?

Hello all,The following work on a 32-bit machine:The signature of a C call back function is      foreign_t (f)(term_t t0, int a))  // with foreign_t, term_t is int on 32-bit in C# I have:public...

View Article

Simulate Key press in C# Console

Hi, I am using a simulator software and while the simulation is running I need to provide some keyboard input. These are the steps:1) I need to run the simulator first. 2) Wait for 60s. 3) Simulate the...

View Article

File.Copy - System.IO.FileNotFoundException occured: Could not find file

Hello All,I am having issues with copy File. Below is the method.When trying to copy the file from the source path to the destination path, it throws the error Could not find file ''. But the file...

View Article
Browsing all 31927 articles
Browse latest View live


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