Search Results

Showing results 1 to 30 of 30
Search took 0.01 seconds.
Search: Posts Made By: Lardmeister ; Forum: C# and child forums
Forum: C# Sep 5th, 2008
Replies: 3
Views: 499
Posted By Lardmeister
Looks like you need more than just help.
Forum: C# Aug 2nd, 2008
Replies: 2
Views: 925
Posted By Lardmeister
Are you sure you want to do that? I use it a lot on my Vista machine and wouldn't like to see it defeated!
Forum: C# Apr 14th, 2008
Replies: 4
Views: 530
Posted By Lardmeister
I think you need at least the correct version of .NET runtime installed.
Forum: C# Mar 23rd, 2008
Replies: 8
Views: 1,687
Posted By Lardmeister
It is always good not to be tied to just the Microsoft platform. Rather than C# I would rather pick up Java. Once you are familiar with Java, C# will be easy to add.
Forum: C# Feb 17th, 2008
Replies: 3
Views: 2,442
Posted By Lardmeister
There are a lot of dictionary files around. They are simply text files with one word per line. Usually around 600k to 800k in size.

I saw one attached to a post in the "Starting Python" thread:...
Forum: C# Feb 14th, 2008
Replies: 7
Solved: compiler for c#
Views: 1,072
Posted By Lardmeister
In order for this to work you have to have at least the .NET 2.0 runtime installed on your machine. SharpDevelop is just an IDE written in C#.

C# is Microsoft's baby and you are pretty well stuck...
Forum: C# Feb 7th, 2008
Replies: 6
Views: 22,508
Posted By Lardmeister
Here is a simple general way to write to a text file:
// FileWrite - write input from the Console into a text file

using System;
using System.IO;

namespace FileWrite
{
public class Class1...
Forum: C# Apr 10th, 2007
Replies: 0
Views: 5,397
Posted By Lardmeister
A closer look at some string methods, just having a learning experience and fun with this C# class. This program uses a simple MessageBox to display the results.
Forum: C# Apr 10th, 2007
Replies: 2
Views: 8,689
Posted By Lardmeister
I would have used something like

int pos = st.IndexOf(data);
Forum: C# Apr 9th, 2007
Replies: 1
Views: 7,544
Posted By Lardmeister
Got the idea from Vegaseat's StringBuilder experiment.
Forum: C# Apr 9th, 2007
Replies: 1
Views: 7,544
Posted By Lardmeister
I could not resist to put this little utility into a GUI dress. The code shows you that the C# StringBuilder is nicely suited to create the binary string. Also included is a check to assure that...
Forum: C# Apr 6th, 2007
Replies: 2
Views: 16,122
Posted By Lardmeister
Thanks vegaseat, looks like it may be possible to teach C# after all. I am thinking of a hands-on course, where I can hand out assignments on various subjects, and expect single code file returns. ...
Forum: C# Apr 5th, 2007
Replies: 0
Code Snippet: String indexing
Views: 5,528
Posted By Lardmeister
A quick look at finding a substring in a string and giving the position of the substring, if found. The string method IndexOf() has a number of options to explore.
Forum: C# Apr 3rd, 2007
Replies: 1
Code Snippet: Prime Numbers
Views: 9,174
Posted By Lardmeister
Here I made a GUI template with a Form, Button and Listbox using MS VCS 2003. MS VCS 2003 still produces a single file usable as a templet, whereas MS VCS 2005 smears files all over the map. Must...
Forum: C# Apr 3rd, 2007
Replies: 3
Views: 1,494
Posted By Lardmeister
Does anyone know of anyplace/anybody that teaches C# at the highschool or college level to get students used to a programming language?
Forum: C# Apr 1st, 2007
Replies: 1
Code Snippet: Beeping
Views: 4,536
Posted By Lardmeister
It's spring break, so let's beep in C# code, actually a 440 Hz A. We are just borrowing the Beep() function from the Windows kernel.
Forum: C# Apr 1st, 2007
Replies: 3
Code Snippet: Drawing Things with GDI
Views: 10,801
Posted By Lardmeister
There are plenty of things you can code in C# without having to rely on the ever so omnipresent MS-VCS. Here is an example of some typical drawings like lines, arcs, circles, text, curves and...
Forum: C# Apr 1st, 2007
Replies: 3
Views: 1,074
Posted By Lardmeister
Also, if you just want to run the book's code to see what it does, you can just use the free
SnippetCompiler.exe
from:
http://www.sliver.com/dotnet/SnippetCompiler/
Forum: C# Apr 1st, 2007
Replies: 2
Code Snippet: Interest Paid on Savings
Views: 3,736
Posted By Lardmeister
You can run these short C# snippets with the free GUI based
SnippetCompiler.exe
from:
http://www.sliver.com/dotnet/SnippetCompiler/
Forum: C# Apr 1st, 2007
Replies: 2
Code Snippet: Factorial Numbers
Views: 6,404
Posted By Lardmeister
You can run these short C# snippets with the free GUI based
SnippetCompiler.exe
from:
http://www.sliver.com/dotnet/SnippetCompiler/
Forum: C# Apr 1st, 2007
Replies: 1
Code Snippet: A simple Bubble Sort
Views: 8,140
Posted By Lardmeister
You can run these short C# snippets with the free GUI based
SnippetCompiler.exe
from:
http://www.sliver.com/dotnet/SnippetCompiler/
Forum: C# Apr 1st, 2007
Replies: 12
Views: 6,775
Posted By Lardmeister
Nothing is 100% fool proof, it depends on the fool! I would say go with pygmalion's solution, unless "know-it-all" iamthwee produces code.
Forum: C# Apr 1st, 2007
Replies: 3
Views: 1,074
Posted By Lardmeister
Also take a look at this site, it's IDE is much smaller and faster than the hughely swollen MS Express C# deal.

SharDevelop is a free IDE for C#, VB.NET and Boo projects on Microsoft's .NET...
Forum: C# Mar 30th, 2007
Replies: 2
Code Snippet: View Image Files
Views: 8,995
Posted By Lardmeister
To compile the program, copy and paste the code into an editor, and save it for instance as "viewer.cs". Then find the C# compiler "csc.exe" in the "C:\Windows\Microsoft.NET\Framework\ ..." folder...
Forum: C# Mar 30th, 2007
Replies: 2
Code Snippet: Factorial Numbers
Views: 6,404
Posted By Lardmeister
To compile the program, copy and paste the code into an editor, and save it for instance as "factorial.cs". Then find the C# compiler "csc.exe" in the "C:\Windows\Microsoft.NET\Framework\ ..." folder...
Forum: C# Mar 30th, 2007
Replies: 2
Code Snippet: Interest Paid on Savings
Views: 3,736
Posted By Lardmeister
A very simple C# console program to give you a table of investment (savings) growth over the years. To compile the program, copy and paste the code into an editor, and save it for instance as...
Forum: C# Mar 30th, 2007
Replies: 2
Code Snippet: View Image Files
Views: 8,995
Posted By Lardmeister
A simple picture viewer written in C# that allows you to view jpg, bmp, gif and animated gif image files. Uses a file dialog to load files, and keeps track of pictures already viewed with a list box.
Forum: C# Mar 30th, 2007
Replies: 0
Code Snippet: Fibonacci Number
Views: 4,259
Posted By Lardmeister
This short C# code will calculate the fibonacci number of an integer and display the result in a Windows GUI label.
Forum: C# Mar 30th, 2007
Replies: 2
Code Snippet: Factorial Numbers
Views: 6,404
Posted By Lardmeister
A simple C# program showing you how easy it is to create a basic Windows GUI program which will display the results of a factorial number calculator.
Forum: C# Mar 30th, 2007
Replies: 1
Code Snippet: A simple Bubble Sort
Views: 8,140
Posted By Lardmeister
This code shows how to use a minimum Windows Gui program to display the results of a bubble sort of an integer array.
Showing results 1 to 30 of 30

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC