Forum: C# Aug 14th, 2009 |
| Replies: 2 Views: 267 System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo = new System.Diagnostics.ProcessStartInfo("asdf.exe");
proc.Start();
proc.Close(); |
Forum: C# Dec 1st, 2007 |
| Replies: 3 Views: 1,160 Also there doesn't seem to be any funcionality in your linkedlist that isn't present already in the linkedlists the .NET framework has to offer. Unless you're doing it juts purely for a learning... |
Forum: C# Dec 1st, 2007 |
| Replies: 6 Views: 5,659 If you publish it creates a clickonce application shortcut that packages together each file that is part of the entire solution as a .deploy. It is given a pre-made installer and even installs .NET... |
Forum: C# Nov 28th, 2007 |
| Replies: 4 Views: 6,148 Make an attempt, post your code and then we can help on what you dont understand. |
Forum: C# Nov 28th, 2007 |
| Replies: 6 Views: 2,797 Why dont you show us what you have and maybe ask questions about what you dont understand? We aren't going to do the homework for you. |
Forum: C# Nov 23rd, 2007 |
| Replies: 3 Views: 16,320 Hi All,
A long time ago I researched Reflection and created a solution demoing my learnt capabilities from it.
In my example I did not pass any arguments into the Invocation of the method call... |
Forum: C# Nov 23rd, 2007 |
| Replies: 6 Views: 2,285 |
Forum: Game Development Nov 23rd, 2007 |
| Replies: 74 Views: 12,628 Like the previous poster said, if you plan on developing a full fledged game with XNA, you're outa your mind.
And yes, you can do unmanaged in C#. Look it up. |
Forum: Game Development Nov 22nd, 2007 |
| Replies: 74 Views: 12,628 C++ is what major software companies use to make games. End of story.
C++ will never be replaced by C# because they serve two totally different purposes... C# was not designed to make full fledged... |
Forum: C# Nov 22nd, 2007 |
| Replies: 2 Views: 745 For the love of god surround that in code tags...
BTW, not all code paths return a value means:
Your methods do not return a value in EVERY scenario. There are some scenarios that do not return... |
Forum: C# Nov 21st, 2007 |
| Replies: 3 Views: 1,305 Then you aren't using the exact same code. Because I get the correct output. |
Forum: C# Nov 21st, 2007 |
| Replies: 6 Views: 2,285 The save code looks fine to me. You should debug it and perhaps check the actual image some more before saving it (manually of course). |
Forum: C# Nov 21st, 2007 |
| Replies: 1 Views: 1,237 Ok, I wrote a little test application to time this because you got me interested.
Here's the calculation I used (based off your example).
// Test single appends, going 10,000,000 times.
for... |
Forum: C# Nov 21st, 2007 |
| Replies: 3 Views: 1,305 Try using StreamReader.
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace ReadLines
{ |
Forum: C# Nov 13th, 2007 |
| Replies: 3 Views: 6,749 please use code tags im getting a headache reading that. |
Forum: C# Nov 13th, 2007 |
| Replies: 3 Views: 2,167 I prefer click once deployment. Google it for references |
Forum: C# Nov 13th, 2007 |
| Replies: 3 Views: 2,406 You can compile any program into binaries but those binaries have requirements most of the time. Such as for C# it requires the host machine have the .NET Framework (at least version used to... |
Forum: C# Jun 22nd, 2007 |
| Replies: 2 Views: 3,376 Figured it out
public void RunScript(string scriptName)
{
Assembly _assemblyInfo = Assembly.LoadFrom("Script.dll");
Type theType =... |
Forum: C# Jun 21st, 2007 |
| Replies: 2 Views: 3,376 So I got most of it working - Here's what i'm doing now. I just need some direction/assistance on one line, which is the MethodInfo object.Invoke method.
public void RunScript(string... |
Forum: C# Jun 21st, 2007 |
| Replies: 2 Views: 3,376 I've been looking around at various examples of Reflections and couldn't find any that go into detail about the scenario i need.
Let me explain what my current situation is:
Main Console App... |
Forum: C# Jun 13th, 2007 |
| Replies: 2 Views: 13,092 And that's found within:
using System.Diagnostics; |
Forum: C# Jun 13th, 2007 |
| Replies: 4 Views: 2,133 was also over a month ago i asked for help on this lol. i figured it out a while ago, and i specifically said in my post i don't want someone to code it for me. |
Forum: C# Jun 7th, 2007 |
| Replies: 3 Views: 5,858 probably wont fix it, but if you're using a messagebox and getting the result from it, you should use the DialogResult property. It would be something like this...
DialogResult dr;
dr =... |
Forum: C# Jun 6th, 2007 |
| Replies: 1 Views: 3,412 figured it out,
was using forms.timer instead of system.timer |
Forum: C# Jun 6th, 2007 |
| Replies: 1 Views: 3,412 So, here's my problem atm:
I've declared the timer as a class member
private int numSS;
private System.Windows.Forms.Timer timer1; |
Forum: C# Jun 6th, 2007 |
| Replies: 3 Views: 12,911 F1 List and ArrayList and see what exactly the difference is :) |
Forum: C# Jun 4th, 2007 |
| Replies: 5 Views: 2,787 no the real problem is that you're using a variable before it exists. which is what Narue and I said. |
Forum: C# Jun 4th, 2007 |
| Replies: 1 Views: 5,031 You obviously didn't google this. There's hundreds of pages shown with a simple search for "Send Fax C#" or "Receive Fax C#"
http://www.codeproject.com/Purgatory/Fax-XP-ing.asp
... |
Forum: C# Jun 4th, 2007 |
| Replies: 5 Views: 2,787 BaseToken is returning a child classes variable (tokenValue), which it doesn't know exists because it's the Base class. The base class should declare the variable. |
Forum: C# May 30th, 2007 |
| Replies: 9 Views: 2,287 cool thanks for the links, got it working. |
Forum: C# May 30th, 2007 |
| Replies: 9 Views: 2,287 which brings me back to my original question:
I don't know how to use a timer like that. How to set up a method or block of code to be ran every 5 seconds. It would obviously have to be on a... |
Forum: C# May 30th, 2007 |
| Replies: 9 Views: 2,287 yes i can do that, but how do i automate that process with a timer?
im trying to avoid the button press to refresh. |
Forum: C# May 30th, 2007 |
| Replies: 9 Views: 2,287 The form that i need to refresh displays a bunch of information read in and displays it in different labels/textboxes on the on the form. |
Forum: C# May 30th, 2007 |
| Replies: 9 Views: 2,287 Hey All,
Threading may not be the answer to this, but here's my current situation.
I have a form that I want updated about every 5 seconds. I couldn't figure out how to do this, so I just did... |
Forum: C++ May 29th, 2007 |
| Replies: 7 Views: 1,051 I started with C++, then learned some C. Then some Java. Then some C#, and now I'm 99% C#.
But when I was with each language, my output from that language was completely different. I was writting... |
Forum: C++ May 28th, 2007 |
| Replies: 10 Views: 1,561 umm what are u talking bout? im confused as to what the op wants us to do... not by ur 3rd grade example... |
Forum: C++ May 28th, 2007 |
| Replies: 10 Views: 1,561 i'm absolutely confused... |
Forum: C++ May 27th, 2007 |
| Replies: 7 Views: 1,051 From my personal experience, learn everything you think you can on your own before investing in a college that specializes in software development. I went to Fullsail in the Game Design/Development... |
Forum: C++ May 27th, 2007 |
| Replies: 10 Views: 1,561 all you told us is that you have to do a problem using classes, a list, and polymorphism... and math is optional.
why dont you tell us the problem? or start an idea of your own and then we can... |