Forum: C# Aug 14th, 2009 |
| Replies: 2 Views: 282 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,184 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,812 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,253 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,869 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,972 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,329 |
Forum: C# Nov 22nd, 2007 |
| Replies: 2 Views: 753 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,338 Then you aren't using the exact same code. Because I get the correct output. |
Forum: C# Nov 21st, 2007 |
| Replies: 6 Views: 2,329 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,264 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,338 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,993 please use code tags im getting a headache reading that. |
Forum: C# Nov 13th, 2007 |
| Replies: 3 Views: 2,206 I prefer click once deployment. Google it for references |
Forum: C# Nov 13th, 2007 |
| Replies: 3 Views: 2,487 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,458 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,458 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,458 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,466 And that's found within:
using System.Diagnostics; |
Forum: C# Jun 13th, 2007 |
| Replies: 4 Views: 2,163 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,988 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,545 figured it out,
was using forms.timer instead of system.timer |
Forum: C# Jun 6th, 2007 |
| Replies: 1 Views: 3,545 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: 13,237 F1 List and ArrayList and see what exactly the difference is :) |
Forum: C# Jun 4th, 2007 |
| Replies: 5 Views: 2,830 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,250 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,830 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,343 cool thanks for the links, got it working. |
Forum: C# May 30th, 2007 |
| Replies: 9 Views: 2,343 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,343 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,343 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,343 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 27th, 2007 |
| Replies: 6 Views: 2,629 if it will tell us all we need, it should tell you al you need too :) |
Forum: C# May 26th, 2007 |
| Replies: 16 Views: 2,293 the absolute beginners series on that site are the best video tutorials for c# you will find on the internet for free. i can gaurantee you that. |
Forum: C# May 23rd, 2007 |
| Replies: 16 Views: 2,293 The point of using .NET is that it is very easy to quickly produce applications.
Of course this is the only reason why I use it at work.
Of course i use unmanaged languages for games/etc,... |
Forum: C# May 19th, 2007 |
| Replies: 3 Views: 1,495 what will be the impact of what? a performance hit on the program?
pretty much none... you can consider namespaces containers for classes, which don't actually exist in memory in the current... |
Forum: C# May 8th, 2007 |
| Replies: 4 Views: 2,163 Hey all:
I've been trying to figure out how I would go about doing the following task.
Basically, I have a folder with about 20,000 notepad files. My goal is to have one big word document,... |
Forum: C# May 2nd, 2007 |
| Replies: 7 Views: 5,348 you could use the line.BeginsWith or line.StartsWith (forgot which one it is), and pass in "//". If it returns true, then don't count the line and go to the next line. |
Forum: C# Apr 18th, 2007 |
| Replies: 4 Views: 4,505 Alright so Im looking at every example of parsing text files that I can find, and really none of them are of any help. They are all showing what I already know, and none of them explain the things I... |