Correct me if i am wrong, but i remember that the pronounciation of route differs slightlly in meaning. The "root" is an itinerary. The "rouwt" has an military touch - meaning somthing like a line of approach. So from the historical roots of the arpa-net, the box that handles IP traffic is mostly pronounced "rouwter". But i prefer "rooter", due to the more pacifistic sound of the word :) But probably i am completely wrong anyway :confused: /cadi 24 hours is not enough
Carsten Zeumer
Posts
-
English language question - [MODIFIED] -
What is the RegEx Pattern for filtering File Extensions?there is one other solution using a non capturing group: (?<=.+\.)[^.]+$ this will have only the extension in the resulting match. /cadi 24 hours is not enough
-
What is the RegEx Pattern for filtering File Extensions?sorry, the braces got lost... pattern= @"(?.+)\.(?[^.]+)$"; (i should use preview before posting...) /cadi 24 hours is not enough
-
What is the RegEx Pattern for filtering File Extensions?hi redfish34, try something like this: pattern= @"(?.+)\.(?[^.]+)$"; then you can access the extension by matchList[0].Groups["extension"].Value /cadi 24 hours is not enough
-
regex preformance issueHi, this regex should do the match:
([^,]*,){2}1\.0\.0,([^,]*,){7}
/cadi 24 hours is not enough -
What kind of Control is that?Looks like a topic map displayed using a spring-layout. I do not know working implementation in .NET for this. Check Hypergraph and Touchgraph for Java... If you find one - please notify me ;) /cadi 24 hours is not enough
-
Differences came from debug and releaseAdditionally to the debug information no optimizations are done. Some optimizations would make it hard to debug your code (i.E. inlining, removal of unused variables, loop-unwinding etc.). In release mode those optimizations make your program run faster (not always notable, depends on your design and what your program does.) /cadi 24 hours is not enough
-
Simple QuestionYou might create a proxy application that does not use .NET. This first checks if the .NET runtimes are installed and the decides whether to display an error or to start the .NET applocation. /cadi 24 hours is not enough
-
Outlook express add inAs far is i know there is no extension API for Outlook Express. The only way i could think of doing this is to have a Proxy SMTP-Server handling all outgoing mails. /cadi 24 hours is not enough
-
Reading å, ä, ö from file with StreamReaderHi, If the file was created on a windows system it is likely that it uses windows encoding. Try the windows-1252 encoding. This works for german pretty well... /cadi 24 hours is not enough
-
ArrayListWouldn't it be easier to check for duplicates on insertion? You can do so by using the
Contains
method of the ArrayList. /cadi 24 hours is not enough -
Send file to Recycle Bin instead of deleting permanentlynormally it is located under C:\RECYCLER\ + Some string that looks like an SID. But i think it is not recomendet to move files directly into this folder since you would override the maximum size of the recycler. This could lead to conditions where the recycler grows until it uses all the space of the HD. But since the recylcer is only available on windows you could use the shell functions. you app would work only on windows anyway. /cadi 24 hours is not enough
-
Send file to Recycle Bin instead of deleting permanently -
@-quoted stringsEr... it IS unquoted. It is only displayed as verbatim string (otherwise it would contain a CR that wóuld not look so nice in the IDE's watch window). Do not use the debugger but try a
Console.Out.WriteLine(format);
to verify my claim. /cadi 24 hours is not enough -
C# Sql INSERT statmentSomthing like
System.Console.Out.WriteLine(sqlString);
. Have yout tried to paste the result in any DB-Mamangent tool (if you use SQL Server try the Query Analyzer)? You'll probably get a more detailed error description.... /cadi 24 hours is not enough -
C# Sql INSERT statmentwhat does the sqlString look like if you dump it to the console? Since you do not quote you parameters it is possible that they contain quotes or commas... /cadi 24 hours is not enough
-
Please Help! Function on Separate FormOk... so form1 is not the owner of form2 (ok, if it would be like this the Owner property would have been ok...) Hmm... this leeds me to a second aproach. If both forms have the same owner then you could search for form1 using something like this:
this.FindForm().OwnedForms
If there is always only ONE instance of form1 you could try somthing like this:public class Form1 : System.Windows.Form { private static Form1 m_GlobalInstance; public Form1() { // set global instance m_GlobalInstance = this; } protected override void OnClosed(EventArgs e) { // invalidate global instance m_GlobalInstance = null; base.OnClosed (e); } // .... // property to access global instance public static Form1 GlobalInstance { return m_GlobalInstance; } } public class Form2 : System.Windows.Form { // .... public void SomeFunctionUsingComponentsOnForm1() { if (Form1.GlobalInstance == null) throw new ArgumentException("Form1 is not yet created."); Form1.GlobalInstance.components(); } }
/cadi 24 hours is not enough
-
Converting CodeIf you are realy into Copy&Past you can use Lutz Röders Reflector. This tool is able to read binary Assemblies and decompile them into IL. This IL can then be converted to C#, VB or Delphi code. But you can only convert method by method and all comments will be lost. For small classes this should work. For bigger projects it might be not the right choice. /cadi 24 hours is not enough
-
How to host vc+ control (.lib) in c# winformThe only way i know is to create an ActiveX wrapper class in C++. You could then use this control via COMInterop. But since you said you are no C++ guy i would suggest you look for some GridControl implemented in .NET. Search CodeProject for GridControl, there are some on this site. /cadi 24 hours is not enough
-
Please Help! Function on Separate FormYou need to pass somehow form1 to form2. Create a property of type From1 in Form2. Then, after creating as Form2 assign Form1 to form2.Form1. (I hope this sentence is understandable ;) )
public class Form2 : System.Windows.Forms { // ... private From1 m_Form1 = null; public Form1 Form1 { get {return this.m_Form1;} set {this.m_Form1 = value;} } public void SomeFunctionUsingComponentsOnForm1() { if (this.m_Form1 == null) throw new ArgumentException("Form1 is not assigned."); this.m_Form1.components(); } } public class Form1 : System.Windows.Forms { // .... public void ShowForm2() { Form2 form2 = new Form2(); form2.Form1 = this; form2.Show(); } }
/cadi 24 hours is not enough