- Strength to Increase Rep
- +15
- Strength to Decrease Rep
- -3
- Upvotes Received
- 722
- Posts with Upvotes
- 609
- Upvoting Members
- 277
- Downvotes Received
- 37
- Posts with Downvotes
- 37
- Downvoting Members
- 20
Started programming in 1977 with BASIC. Moved on to COBOL, FORTRAN, 8080/8085 Assembly, 6502 Assembly, APL, Forth, Pascal, C/C++, Ada, Perl, Java, AWK/SED, OPL, PHP, VB, Javascript, Lisp, C#, F# and I've dabbled in a few others.--- Currently Reading…
- Interests
- MMORPG, Caving, Guitar, Digital Photography
- PC Specs
- Windows Server 2008 R2, Windows 7, AMD Phenom II X4, 8GB memory, 2TB Disk space
I am new in IT world and I was wondering the difference between a web designer and a web developer? Honestly, they sounds the same to me. However, I see a lot of postings with these two position. will someone explain to me the difference and could you tell me … |
|
I am currently creating a product lookup system for a project of mine, however from reading around it has come to my attention that an OLEDB connection will not handle the SQL query below as it will not handle more than a simple "SELECT, FROM". Table: tbl_ProductInformation Field: Product_Name CurrentEntry … |
|
|
Howdy All - I am just wondering if anyone has successfully converted a *massive* (subjectivity implied) COBOL application to another language. If so, into which language was your system converted and when was this done? What were the potholes you, no doubt, hit? Was the conversion far more expensive than … |
I've looked around this forum, and the rest of the internet, but my code is not working. Here is the problem: I read XML files that are in en-US culture. The decimal separator is a dot ".". Given the string "123.45", I want to convert the separator from a dot, … |
|
Hello, I'm writting a program to create a "Snake Game" in C#. What I want to do, is to constantly call the FOrm Paint Event Method to draw the snake and fruits in the form. I added a Timer that will call the Paint Event Method every 100ms. The thing … |
|
Hello, I am creating a winform app in C# to store formatted text from a rich text box to MySQL database, which can be retrieved back to the rich text box. The database field is a VARCHAR and my code is something similar to below. But I'm getting "file not … |
|
Hey Guys, I have a question... I want to display data from two different tables into a single datagrid view. Problem is i dnt wana join the tables. pls check this code [code]private void bindgrid() { SqlConnection con = new SqlConnection(connStr); con.Open(); str1 = "Select * from wcl_et "; str2 … |
|
Hello Can anyone please help me out in how to get or read two values from single textbox. i.e when i read the first value it should be stored in string str1 , when i click button the textbox shld be cleared and shld wait to accept second value.The second … |
|
|
Hey i have a basic game which requires a client to guess the number which is located on the server side, mutliple clients can access the same game. The client sends their guess this in turn passes to a middleware server then this then goes to the end server. If … |
[B]Expression evaluation using Emit[/B] This class was designed to evaluate simple mathematical expressions. But instead of developing a routine to do the calculating, we use Emit to dynamically build a method that does the math for us. IMPORTANT: This is done with integer math. 7/2*3 = 9, not 10.5 (or … |
|
[B][/B][CODE] import java.applet.*; import java.awt.*; import java.awt.event.*; import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.io.*; import java.security.*; import java.lang.*; import java.math.*; import java.util.*; import java.security.spec.*; class md5 { public static void main(String args[]) throws Exception { DataInputStream ds=new DataInputStream(System.in); System.out.println("Enter the Message to be hashed...."); String m=ds.readLine(); BigInteger hshm; hshm=hshcall(m); System.out.println("After Hashing … |
|
[CODE]using System; using System.Security.Cryptography; using System.Text; public static class Encryption { public static string Encrypt(string input, string key) { byte[] inputArray = UTF8Encoding.UTF8.GetBytes(input); TripleDESCryptoServiceProvider tripleDES = new TripleDESCryptoServiceProvider(); tripleDES.Key = UTF8Encoding.UTF8.GetBytes(key); tripleDES.Mode = CipherMode.ECB; tripleDES.Padding = PaddingMode.PKCS7; ICryptoTransform cTransform = tripleDES.CreateEncryptor(); byte[] resultArray = cTransform.TransformFinalBlock(inputArray, 0, inputArray.Length); tripleDES.Clear(); return Convert.ToBase64String(resultArray, … |
|
hi does any one know the RGB values of the standard form in C#.net? how can i get it to be add to the colour pallatte in the C#.net color pallette? |
|
Hi guys , Is their is any comparision between sealed class and abstract class. When to use sealed and abstract class. |
|
I am new in Programming line please give me the code to connect Mysql Database with C# in windows Form. I made a program of login and i create a Mysql databse but when i goes to connect the form with database& written whole code i encounter a problem That … |
|
Hi all, I'm beginner developer and I want to develop a software telephone in .NET. I prefer C#. After some googling, I started to code in C# using the prewritten VoIP components of [Ozeki's VoIP SIP SDK](http://www.voip-sip-sdk.com). Now I have a simple softphone that is able to make and receive … |
|
Hi I have some code to re-encode uniface text files in to ANSII for use by a 3rd party application. This code works fine if I create a new text file using notepad, save it as Unicode and run my script. I get a lovely output file in ANSII. When … |
|
Greetings all I've done some research and its apparently impossible to hide a tab on a tabcontrol, I need to save one to a tab page variable and recreate it. I know how to add a tab from a TabPage variable [CODE] TabControl.Controls.Add(tab1);[/CODE] However I have no idea how to … |
|
Im new at programming i started learning Visual Basic today to start things off because i plan on going to college for this type of thing. I was just curious, which type of coding/language do you use to write and create Smart-phone apps in my case Blackberry apps. I know … |
|
Newbie programmer here. I want to really learn C#. Other than VS what other IDE's are there? |
|
|
Hello, I’m trying to bind Dictionary<string, object> parameters with my combo box, but I don’t know how to do that. This is my code: [CODE=C#] Dictionary<string, object> parameters = new Dictionary<string, object>(); parameters.Add("option1",parameters); parameters.Add("option2", parameters); parameters.Add("Option3", parameters); [/CODE] I would like to get option1, option2 and option3 in combobox on … |
I know this has been asked before, but I can't find any simple answers for a noob like me in C#. What exactly is a static method. I mean what does it mean to be static vs. nonstatic. I know in the code with the main method we use `public … |
|
what is the difference between list and arraylist in c#? |
|
Optimizing Matrix Multiplication One time consuming task is multiplying large matrices. In this post we'll look at ways to improve the speed of this process. We'll be using a square matrix, but with simple modifications the code can be adapted to any type of matrix. The straight forward way to … |
|
HI, I have a common page (sqlhelper.cs) where i am preparing command and executing execnonquery,... But veracode addressed sql injection flaw 89 in the following code saying issue with parameters. How can skip this verification?. any extra validations i need to put in the following code? Please help. private static … |
|
So the code is this but I can't figure out the problem. I included the error alongside with it. using System; public class SavingAccount { public static decimal interestRate = 0.02M; public string Name { get; set; } public decimal Balance { get; set; } public SavingAccount(string n) { Name … |
|
I'm having an error when I run this code any ideas? When I run it and enter the code it works if I enter the same numbers I had entered before his turn, but if i enter different numbers I get Unhandled Exception: System.IndexOutOfRangeException: Index was outside the bounds of … |
|
public static void Main (string[] args) { int row; int column; int[,] game; game = new int[3, 3] { { 0, 0, 0 }, { 0, 0, 0 }, { 0, 0, 0 } }; Console.WriteLine("Player 1's turn."); Console.Write("Enter row [1, 2 or 3]: "); row = Convert.ToInt32(Console.ReadLine()); Console.Write("Enter column … |
|
What im and trying to do is take the first four letters of a last name and the first letter in the first name which are in a textbox to use for a user name that im trying to generate but how do i go about doing this is very … |
|
Hi guys, I'm using a very simple database and dataset and it appears to be working, except I can't actually save any data. Here's what I did: I created an empty database with a corresponding empty dataset. I filled it in with 4 rows of dummy data (ID, name, address, … |