Answer Questions
DanScan Reading BitMap Text
Hi, I need to read text (numbers) information from a bitmap Image. Does anybody know how to do that in C# and Windows Forms I'm using VS 2003. Thanks Well kind of, See I have this image with mesurements and I need to calculate coordenates. In the Dataabse I have ainformation from 8500 to 10200 points and those numbers are in sets of 5 and placed in the image. So I want the user to click with the mouse and get ...Show All
CBrosto get/set
Hi, would be great if you could help me! Any ideas why the access modifier "private" doesn't work with the following code public string Name { get { return name; } private set { name = value ; } } namespace ConsoleApplication8 { class Sucka { private string name; public string Name { get { return name; } pr ...Show All
smileshalini Splitting a string using multiple delimiter error
Hi guys, I am using C# express august edition, i get this error when trying to do this string t = "Once,Upon:A/Time\\In\'America" ; char[] seps = new char[]{ '/', '\'}; foreach ( string ss in t.Split(sep2)) Console.WriteLine(ss); it says too many character in character litral what do i do The rule that \ is an escape character also applies to char, so that it's valid to write char newline = '\n'; You need to write: char[] sep ...Show All
NET Guru Probleme whith WebPartmanager
i try to use an WebPartmanager in my aplpication but when i excute i have this error [SqlException (0x80131904): An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)] System.Data.SqlClie ...Show All
James81 Why is the C# team allowing this to Happen? and Why do they close threads on the topic?
Since PJ. van de Sande Closed the last thread I opened : Why is the C# team allowing this to happen I guess because he didn't click the link or he didn't like the topic. I brought the link information here..... So I ask again... Why is the C# team allowing this to happen If he closes it again, please respond here From the Blog link: From Tom Archers blog Why so many examples in Visual Basic ...Show All
cookie365 How to get system's informations
I want to design a simple application that show system's informations such as CPU's informations, RAM's informations and some thing like that. Can you instruct me how to do this. Thank you very much Have a look at the system.management classes and the WMI Framework, these APIs will allow you to gather information on local and remote machines. If you go to the technet scripting centre you will find sam ...Show All
Satyadev Singh Where can I place a bug report?
I found a bug in VS2005. Where can I place bug reports In particular: static void Test() { sbyte[] sbytes = new sbyte[]{-2,-3}; byte[] bytes = new byte[]{4,5}; Console.WriteLine("(object)sbytes is sbyte[]: {0}", (object)sbytes is sbyte[]); Console.WriteLine("(object)bytes is sbyte[]: {0}", (object)bytes is sbyte[]); Console.WriteLine("(object)sbytes is byte[]: {0}", (ob ...Show All
chaus VS2005 C#, COM and frustration ??
Hello Everyone, I wrote a small dll in VS 2005 so that can be used in other projects, to my surprise VS 2005 C# dll cannot be used in CS 2003 projects. I thought to make a COM wrapper..I did that created a tlb file but cant register I used the tool ( regasm ). Below is the sample program and if someone can let me know the exact things to do to get this simple thing working. namespace Something { public interface S { ...Show All
Protrack ? VS2005: Where did Class View->Add->Override go ?
In Visual Studio 2003, you can use Class View to navigate to a virtual member of a base class, then right-click that member and choose Add|Override. In Visual Studio 2005, this is not available. Where did it go Is there an alternative and equally convenient way of doing it # Thanks! I just finished struggling with the same problem and I wanted to shed some light on another way to accomplish the overrid ...Show All
Mark S. Milley, MCSD Remoting client causes server to crash with "Attempted to read or write protected memory" error
I have a small solution that's using remoting to dispatch services across a network. When a client terminates the sremoting server suddenly throws a System.AccessViolationExeption with this message: I'm getting the exact same thing, also not experienced in 1.1 of the framework anyone get any further with this I found the culprit but it's not really a solution. I found a post ( http://lab.msdn.microsoft ...Show All
Tallman escape \t
hi, I've been using c# for a short time and there is a little thing a don't understand: if I write this line (where outputLabel is a label in a form) outputLabel.Text = "hi\teveryone"; the tab is not displayed correctly (there is not blank space, I see a strange character) if I use \t in a messageBox as in: MessageBox.Show("hi\teveryone"); everything is OK and I see: hi everyone why I use visual C ...Show All
Christian Neuhold How to update an Access Database (C#)
Hello All, I am a little new to Visual Studio, but I hold 3 years programming experience in both Java and C. I have created a program for my wife that allows her to organize and save her DVD collection to an access table. The program works just fine except for the save part. I can run my application, insert, delete, and edit the contents of the database, but it will not save. To my knowledge I am only working through the dataset and the data ...Show All
DM_01 ActiveX dll
i've developed a user control using C# and turned it into a dll so that i can use it on the web on an html page. however i need to put that dll in a cab file so that it registers itself correctly on client's PCs. each time i try to register it using regsvr32 it comes up with the error, that the file was loaded but the dllRegisterServer entry point was not found. and on client pcs the cab file is downloaded but is not registered with error m ...Show All
john zhang Help
Below is my code which i used in my web application, but when i add multiple item into the arraylist and traverse through the arraylist, the arraylist is empty. Please help, public partial class _Default : System.Web.UI. Page { Item item; ArrayList al= new ArrayList (); protected void Page_Load( object sender, EventArgs e) { } protected void btnCreate_Click( object sender, EventAr ...Show All
Kivak Wolf Detection of thread executing
I have read up some on utilizing threads, being a newbie to programming in C# and converted a major function in my application to execute in a background thread (to stop the display from freezing up if I switched to another application). The threading worked perfectly and it even terminates itself after completion. The only complication I have is that I cannot update the various text boxes on my form because they are part of other system thre ...Show All
