Search Results

Showing results 1 to 38 of 38
Search took 0.01 seconds.
Search: Posts Made By: RwCC ; Forum: C# and child forums
Forum: C# Aug 10th, 2007
Replies: 1
Views: 753
Posted By RwCC
The NUnit site has everything you need to create tests in their documentation
Forum: C# Aug 2nd, 2007
Replies: 2
Views: 2,571
Posted By RwCC
Are you preforming the jobs one at a time? One way to make everything faster is to build a list first instead of doing them one at a time
Forum: C# May 24th, 2007
Replies: 0
Views: 831
Posted By RwCC
Is there anyway to get a list of all groups that are assigned to a users workstation? I have seen a few examples on codeproject etc, but the bulk of them are returning everything. I am just after...
Forum: C# May 10th, 2007
Replies: 2
Views: 1,097
Posted By RwCC
To be honest it would be far easier if you:
1) Posted a code snippet
2) Let us know what happens

But from a quick glance it seems that a path you set (possibly to an image, resource, etc) isn't...
Forum: C# May 2nd, 2007
Replies: 10
Views: 18,546
Posted By RwCC
Hey guys,

Sorry for not getting back to you all sooner, that all worked great. Having a few problems taking the sid, getting the DomainID from Postgres using the SID, and then storing the DID...
Forum: C# Apr 13th, 2007
Replies: 10
Views: 18,546
Posted By RwCC
Cheers mate I will give that a try, is there a way to get the SID?
Forum: C# Apr 13th, 2007
Replies: 10
Views: 18,546
Posted By RwCC
Hey everyone,

I have been told there is a way to get a users login name and their SID in C#, does anybody have code or know a very detailed and easy to understand site?

What I am trying to do...
Forum: C# Apr 5th, 2007
Replies: 3
Solved: Help!!!!!!!
Views: 1,527
Posted By RwCC
http://www.codeproject.com/cs/database/linkAccessInCSharp.asp

Try that site.
Forum: C# Apr 3rd, 2007
Replies: 2
Views: 956
Posted By RwCC
Unless you mean C#, sorry no. Try here for C:
http://www.daniweb.com/techtalkforums/forum8.html
Forum: C# Apr 2nd, 2007
Replies: 8
Views: 21,463
Posted By RwCC
See if this code snippet helps you to get some basic drawing done, it will then rule out whether your code is all wrong. And you can implement everything else from there:
...
Forum: C# Apr 2nd, 2007
Replies: 12
Views: 6,764
Posted By RwCC
And for your other problem:

if (textBox1.Text is equal to what you want)
{
// Move on
}
else
{
// Dont
}
Forum: C# Mar 29th, 2007
Replies: 0
Views: 10,786
Posted By RwCC
Something that we normally have to do at one point is right click on a richtextbox etc to copy/paste. Now, we all know there are keyboard shortcuts but for the end user it is better to have this...
Forum: C# Mar 28th, 2007
Replies: 10
Views: 9,306
Posted By RwCC
Best thing to do is take courses or buy as many books as you can. All depends what you want to do if I am honest, C# is a broad subject so if you know what type of applications you want to make then...
Forum: C# Mar 28th, 2007
Replies: 10
Views: 9,306
Posted By RwCC
I seem to have to keep posting this link as people seem to only want to learn quickly - think they should start paying me a fee :D

Learn C# in 24 Hours....
Forum: C# Mar 26th, 2007
Replies: 3
Views: 1,867
Posted By RwCC
Best thing to do is uninstall and the reinstall VS. Could be that its corrupt.
Forum: C# Mar 26th, 2007
Replies: 1
Code Snippet: Read/Write To Text File
Views: 9,091
Posted By RwCC
This seems to come up every so often, so thought I would add it here so people can have a look if they search the site.

Reading and writing to a text file is a very basic thing in C#, most of us...
Forum: C# Mar 26th, 2007
Replies: 4
Views: 6,528
Posted By RwCC
Never really worked with a binary writer, but where exactly are you trying to put it into the textbox? Are you getting any errors or just not getting the right output?

From the looks of it you...
Forum: C# Mar 26th, 2007
Replies: 10
Views: 9,306
Posted By RwCC
The following will save what you have in your first text box (textBox1) to a text file in your Bin/Debug directory. The 2nd piece of code will then read that text file and put the output into the...
Forum: C# Mar 26th, 2007
Replies: 1
Views: 916
Posted By RwCC
I take it you have added the reference and wrote your using statement?
Forum: C# Mar 21st, 2007
Replies: 2
Views: 1,741
Posted By RwCC
http://www.samspublishing.com/library/content.asp?b=STY_Csharp_24hours&seqNum=11&rl=1

That is a very good site to learn C# quickly (well, 24 hours!) but it won't cover everything in a massively...
Forum: C# Mar 20th, 2007
Replies: 1
Views: 4,549
Posted By RwCC
Hover your mouse over or click the things it cant find like 'dsLibrarians'

Then when a little box saying:
"Options to help bind the selected item"

Click the option which will say the likes of...
Forum: C# Mar 14th, 2007
Replies: 4
Views: 4,769
Posted By RwCC
Im still a little unsure of the problem (doing many things at once, not good!). Is it happening like this:

original file
Hello There

file contents from S/Reader
HelloÚThere

Is that how it...
Forum: C# Mar 14th, 2007
Replies: 4
Views: 4,769
Posted By RwCC
Ok I am rather confused about what you want, so the Ú is not meant to be there but is added when you read?
Forum: C# Mar 6th, 2007
Replies: 2
Views: 2,383
Posted By RwCC
To make it invisible use this code:

this.Hide();

BUT if you are hiding your main form, then you will have to use Application.Exit(); when you want to shut down the application. Otherwise it...
Forum: C# Mar 6th, 2007
Replies: 7
Views: 5,108
Posted By RwCC
God you are fond of python ain't ya, mentioned all the time lol. Treat C# like a completely different language, don't try to make comparisons as that just leads to trouble:

StreamReader reader =...
Forum: C# Mar 6th, 2007
Replies: 1
Views: 828
Posted By RwCC
Do you mean for C#? Try this site:
http://www.samspublishing.com/library/content.asp?b=STY_Csharp_24hours&seqNum=11&rl=1
Forum: C# Mar 6th, 2007
Replies: 7
Views: 17,051
Posted By RwCC
Add a WebBrowser (which by default will be called webBrowser1) to your form.

Or to open direct from a button etc use this code:

string website = textBox1.Text;
...
Forum: C# Mar 6th, 2007
Replies: 2
Views: 926
Posted By RwCC
Yes please post your code. Chances are you are having to insert values into all columns if they both have the same ones yet you are only inserting into 'x'
Forum: C# Feb 22nd, 2007
Replies: 3
Views: 1,769
Posted By RwCC
Numerous questions. My advice is to read various tutorials on t'internet. I used this site when I was learning:...
Forum: C# Feb 21st, 2007
Replies: 10
Views: 9,365
Posted By RwCC
Any specific part of .Net? Like ASP, C# or just a general overview?
Forum: C# Feb 20th, 2007
Replies: 5
Views: 23,846
Posted By RwCC
Would be along these lines:


public struct MyStruct

{

public string text;

public string text2;
Forum: C# Feb 20th, 2007
Replies: 1
Code Snippet: Drawing With C#
Views: 14,949
Posted By RwCC
The following is a simple painting program. It uses Windows Forms and will allow you to draw whatever you want.

You can also include code to change the colour or size of the brush via a right...
Forum: C# Feb 9th, 2007
Replies: 8
Views: 16,873
Posted By RwCC
If you check my post you will see the code to easily enable/disable the buttons based on which you click. ;)
Forum: C# Feb 9th, 2007
Replies: 8
Views: 16,873
Posted By RwCC
Hi hkBattousai

Very easy to do that. Here is the code, it will do what you want it to:


private void btStart_Click(object sender, EventArgs e)
{
btStart.Enabled...
Forum: C# Feb 9th, 2007
Replies: 1
Views: 1,173
Posted By RwCC
Hi suren23,

Couple of questions:
1. What are you using? MySql, postgres etc?
2. Are you looking for direct access or a stored procedure?
Forum: C# Feb 8th, 2007
Replies: 15
Views: 18,511
Posted By RwCC
It depends on what exactly the intended use is. If it's just for a little in-house program that nobody else will see or be interested in then it's fine.

Also I am amazed at some of the replies...
Forum: C# Feb 6th, 2007
Replies: 4
Views: 4,018
Posted By RwCC
Hi there,

I would say read through as many books and sites as possible. This is one that I found very good when I was first starting out:...
Forum: C# Feb 6th, 2007
Replies: 3
Views: 13,078
Posted By RwCC
while (Dr.Read())
{
if ((UserName == Dr["name"].ToString()) & (Password == Dr["Password"].ToString()))
{
boolReturnValue = true;
}

Dr.Close();
Showing results 1 to 38 of 38

 


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

©2003 - 2009 DaniWeb® LLC