LINQ to SQL Hashpassword
Hi All,I tried to use an example of the following link:http://stackoverflow.com/questions/3067679/creating-a-login-form-and-validating-inputs-in-c-sharp-using-linq-to-sqlbut i faced a little problem in...
View ArticleHow similar is code for a C# Windows App and a C# Web Application?
I am just starting with C#. My background is C++. I need to create a stock charting program as a C# application for Windows desktop and a second version as a C# Web Application. Is the code and...
View ArticleHow can i avoid/diable/remove the automatic blu mark color around a letter or...
I move the mouse over a text in a richTextBox:private void richTextBox1_MouseMove(object sender, MouseEventArgs e) { int positionToSearch = richTextBox1.GetCharIndexFromPosition(new Point(e.X, e.Y));...
View ArticleHow do i set a variable that will hold the last char or letter ?
This is the code:private void richTextBox1_MouseMove(object sender, MouseEventArgs e) { int positionToSearch = richTextBox1.GetCharIndexFromPosition(new Point(e.X, e.Y)); richTextBox1.SelectionStart =...
View ArticleCheckBox - Transparent BackColor?
Hello, I would like to ask a question considering CheckBox background transparency options.Not too long ago, I decided to create a program used for searching certain things. The main form has a button...
View ArticleGZIP Compress/Decompress [TCP Transfer]
Hello,I've been mixing with the GZIP for a while and can't figure out how to compress an Image -> Send it over TCP -> and decompress. I can send a bitmap but as fast it's compressed I can't...
View ArticleConstructor examples
Hello there, I need to write a short presentation for my programming class and I need some help. I found some of the constructor examples on the web, but they does not seem to work for me. I am using...
View ArticleWhen to ue the new keyword
Mostly when I want to create an object, I do something along the lines of:MyClass MyObject = new MyClass();but sometimes I see code that creates an object (or is it simply a variable?) without the new...
View ArticleC# Hitachi Projector remote control - sending command via network
I am helping my church to develop a simple C# Projector control desktop application. (without pay)The targeted projector is Hitachi Projector - CP-WX3014N supporting sending RS-232 command via...
View ArticleC# - More XML (if statements)
Hi againI don't really get this yet. I'm trying to do all sort og things with XML using linq- and I have another question.My XML looks something like this:<?xml version="1.0"...
View ArticleConverting Files from CMYK to RGB
Hi all,I am trying to convert CMYK files to RGB. I tried the example at http://www.maxostudio.com/Tut_CS_CMYK.cfm . I do get an RGB file, but the color is distorted. I know that conversions either way...
View ArticleC# - forms in dlls
Hi,I am currently trying to make a program who will hack memory of Minesweeper game. i created a form application and made my project. after that i changed the output type to "class library". I used...
View ArticleConvert textbox input to decimal for database query
Hi everybody,I have a simple sql database file that contains names and averages. It is displayed in a dataGridView and I added a few textboxes to filter by name, minimum and maximum. Filtering by name...
View ArticleUsing Methods and Classes
Methods I have a good idea on how to use and set them up. The bigger problem I have is that I have a very hard time under standing classes and how to use them. So this just has me all so confused.So I...
View ArticleIssue in reading the Excel sheet Data in C#
I’ve a Excel sheet which will have data in column A.Like:7898778988789897899078991789927899378994789957899678J9778J9878J99 I’m looping through the column and fetching each and every single cell and...
View ArticleMultiple Context Menus!
Is there anyway I can display multiple popup (context) menus at the same time? I dont want to use the submenu arrow thing, and when I display the next menu based on timed event when the user is...
View ArticleClear Textbox text on select C# WPF
I have a problem in WPF Application.Please helpI have a textbox and in the textbox by default I am putting some text like "Enter User Name"When I select the textbox the default text does not go and...
View Articleerrors with SQL connection strin in web.config
<?xml version="1.0"?><!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433...
View ArticleVirtual Desktop using Multiple Monitors
Hi All,I have two monitors attached to my machine. When I create virtual desktops, both monitors are used as one virtual display for each of the virtual desktop. Is it possible to create virtual...
View ArticleHow to use DataGridViewEditingControl and custom controls?
I've created a C# windows form dataGridview with two DataGridViewTextBoxColumns, column1 simply displays a static string and column2 houses different controls types e.g. (DataGridViewTextBoxCell,...
View Article