Forum: C# Feb 19th, 2008 |
| Replies: 5 Views: 933 I really don't think he's given enough information for anyone to try and say what the error is.
considering the .NET framework is automatically downloaded on newer OS's and in fact comes... |
Forum: C# Feb 16th, 2008 |
| Replies: 5 Views: 933 while that may be, we cannot assume that it's due to that. we need more information, such as the error he is getting. |
Forum: C# Jan 25th, 2008 |
| Replies: 8 Views: 1,002 well the developers at microsoft have years and years of experience in UI design, and are more then likely NOT using C# or the .NET framework to develope applications for their OS.
with time... |
Forum: C# Oct 31st, 2007 |
| Replies: 6 Views: 2,527 check out http://support.microsoft.com/kb/319257
it really should be as simple as Console.Clear() |
Forum: C# Oct 31st, 2007 |
| Replies: 6 Views: 2,527 why not give it a shot ;)
System.Console.WriteLine("hello world");
System.Console.clear();
System.Console.WriteLine("Hello world again");
give it a shot. |
Forum: C# Oct 31st, 2007 |
| Replies: 6 Views: 2,527 |
Forum: C# Aug 16th, 2007 |
| Replies: 6 Views: 1,303 i've been through enough interviews to know that there is no answer to this question.
pickup the C# pocket reference as that will be your best friend though. |
Forum: C# Aug 9th, 2007 |
| Replies: 3 Views: 10,143 i would assume that because you are drawing on the image when you save the image the compression is re-applied to the image. |
Forum: C# Aug 7th, 2007 |
| Replies: 3 Views: 10,143 try writting the string on the image but comment out the quality settings and save, i do believe it is due to that the image size is changing.
When i save an image using Bitmap.save("someimage",... |
Forum: C# Jul 27th, 2007 |
| Replies: 4 Views: 6,654 he probably left off his method declaration
private void LoadScenario( string[,] Vars ) {
}
//but if you only need one portion of the string in vars
private void LoadScenario(string... |
Forum: C# Jul 18th, 2007 |
| Replies: 8 Views: 1,724 pick up the C# pocket reference, cant go wrong with a book that leaves out the filler and gives you what's important. :) |
Forum: C# Jul 12th, 2007 |
| Replies: 1 Views: 1,668 http://www.connectionstrings.com/?carrier=pervasive
you are still going to need to go to pervasives website and download the appropriate driver to use and furthermore you should configure/test... |
Forum: C# Jul 10th, 2007 |
| Replies: 2 Views: 12,723 http://www.connectionstrings.com/ the best damn link hands down in finding the right string to use to connect to a given array of database types. |
Forum: C# Jul 8th, 2007 |
| Replies: 3 Views: 5,020 post your current code for the entire file that is throwing the errors.
please wrap using
[ code="csharp" ]
[ /code ]
tags. |
Forum: C# Jul 4th, 2007 |
| Replies: 3 Views: 18,350 fastest method
string splitme = "foo,bar,feet,meet,meat,skeet";
ArrayList gatherSplit = new ArrayList(splitme.Split(new char[] { ',' })); |
Forum: C# Jun 29th, 2007 |
| Replies: 9 Views: 2,493 using System;
using System.Collections.Generic;
using System.Text;
using System.Data.Odbc;
namespace ConnectionSharing
{
class SqlConnectionManager : IDisposable
{
public... |
Forum: C# Jun 29th, 2007 |
| Replies: 9 Views: 2,493 when in the C# Editor add a new class,
build that class as you need.
then you can simply reference that class in any other class/form as needed.
i'll write you an example write now!... |
Forum: C# Jun 28th, 2007 |
| Replies: 3 Views: 8,636 First of all it is Node not Nod.
the only way to add check boxes to the node tree is by specifying it on the TreeView object itself, thus all of the nodes will have checkboxes.
but in your... |
Forum: C# Jun 28th, 2007 |
| Replies: 2 Views: 1,876 repost that using the code tags
[ code="csharp ]
your code here
[ / code ]
without the spaces of course. |
Forum: C# Jun 28th, 2007 |
| Replies: 9 Views: 2,493 i ran into an issue such as this a while back and ended up just writing a library to handle all SQL connections so that all forms had a central method for running their methods. |
Forum: C# Jun 26th, 2007 |
| Replies: 4 Views: 6,539 you should really try to gain an understanding of what you are trying to do.
in about 30 seconds of google searching i was able to find examples of what you need to do.
hint an IP with a... |
Forum: C# Jun 26th, 2007 |
| Replies: 4 Views: 6,539 What have you written so far?
try writing some pseudo code first :)
you will want an IP
and a specific range of ports to check.
you will need a method for sending a ping to them and... |
Forum: C# Jun 26th, 2007 |
| Replies: 3 Views: 14,012 I this is solved but if you are using the newer version of express 2005 you can simply create a masked textbox that only accepts INT values |
Forum: C# Jun 25th, 2007 |
| Replies: 4 Views: 932 i cant think of a better resource than http://www.msdn.com for all your programming needs really. when you find what you are looking to do if you need examples this is teh place to come to. I use... |
Forum: C# Jun 20th, 2007 |
| Replies: 3 Views: 4,155 this is an odd error yes. because when i debug your code it works as desired. but the moment i remove the breakpoint and allow it to run we have issues again!
but i was able to create a quick fix... |
Forum: C# Jun 19th, 2007 |
| Replies: 1 Views: 2,657 for this you should really understand the OSI model and how router works.
i would give you more but there is only so much i can say. |
Forum: C# Jun 13th, 2007 |
| Replies: 3 Views: 8,896 so as i gather it you have this rich text box on your main form,
you want to be able to process information from one class and have it output on your main form? IE:
class MyMainClass :... |
Forum: C# Jun 13th, 2007 |
| Replies: 3 Views: 8,896 post some of the code that you have, what you need to do is make sure that the text box you are printing to is public.
also you may run into some issues with the fact that you are working between... |
Forum: C# Jun 12th, 2007 |
| Replies: 1 Views: 2,994 are you trying to refresh a part of the application that is not directly associated with the thread?
this is common and can be a pain in the but to fix.
if you would like to share a sample... |
Forum: C# Jun 12th, 2007 |
| Replies: 1 Views: 1,534 what do you mean how to recognize the computer move?
you are writing the code that will basically control the AI for the computer.
what you need to recognize is when the players turn is... |
Forum: C# Jun 12th, 2007 |
| Replies: 3 Views: 3,472 public class ManageDigits
{
/// <summary>
/// when the class is called the array is built for the first time
/// </summary>
public ManageDigits() {
... |
Forum: C# May 23rd, 2007 |
| Replies: 3 Views: 11,135 you could try pimoPDF lets you print your word documents into a PDF format :D |
Forum: C# May 1st, 2007 |
| Replies: 3 Views: 3,295 you may be able to monitor it through the use of a mouse/keyboard hook.
i have no personal experience doing this but that doesnt mean it cannot be done!
look into hooking the keyboard/mouse... |
Forum: C# Apr 30th, 2007 |
| Replies: 3 Views: 3,295 im not sure if a machine will ever be 100% idle but you can watch process so you could easily watch the System Idle Process which gives the % of system that is idle at the current moment in time.
... |
Forum: C# Apr 30th, 2007 |
| Replies: 4 Views: 7,794 what is the reasoning behind booting someone to the login screen if they dont know the password to an application? |
Forum: C# Apr 26th, 2007 |
| Replies: 7 Views: 16,264 http://www.connectionstrings.com/ |
Forum: C# Apr 26th, 2007 |
| Replies: 2 Views: 1,637 sounds like your app is going to be using a lot of loops. not too hard, i wont do your homework. post up some of your code and what you think it should do and we will go from there.
a good... |
Forum: C# Apr 10th, 2007 |
| Replies: 8 Views: 3,278 sure do have an example :)
so he opens the file and does what he wants
System.IO.Stream foo = new FileStream("pathToStream", FileMode.Open, FileAccess.Read);
//some random code to... |
Forum: C# Apr 9th, 2007 |
| Replies: 4 Views: 6,571 wont let me edit so here is a double post. sorry about that:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using... |
Forum: C# Apr 9th, 2007 |
| Replies: 4 Views: 6,571 The binary Reader/Writer used for IO streams to files. i do not believe that they can be used in the manner you wish.
try an ASCIIEncoder as that has the option to get bytes/strings |