Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
G

gman44

@gman44
About
Posts
39
Topics
27
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Beta Testers Needed For Automated .NET Licensing Product!
    G gman44

    Yes, Internet activation via web services...

    Collaboration / Beta Testing csharp hardware beta-testing question

  • Beta Testers Needed For Automated .NET Licensing Product!
    G gman44

    Okay, what is US Patents 6.173.403, 6.044.471, and 6.785.825 all about?

    Collaboration / Beta Testing csharp hardware beta-testing question

  • Beta Testers Needed For Automated .NET Licensing Product!
    G gman44

    Sorry, didn't mention it's a dll accessable with unmanaged code.

    Collaboration / Beta Testing csharp hardware beta-testing question

  • Beta Testers Needed For Automated .NET Licensing Product!
    G gman44

    Our company has a web service based licensing product that needs tested. The product is added to any .NET project and allows trial days, licensing (purchase, refund, transfer, etc...) all without seller intervention. The license is based on the end users computer hardware serial numbers, etc... to disallow multi-installs (piracy). The seller has full control to extend trial days or add/remove licensing if needed. Any takers?

    Collaboration / Beta Testing csharp hardware beta-testing question

  • Do you copyright your source code?
    G gman44

    Q. Do you copyright your source code? It bothers me to have to mail my secret source code to a copyright attorney or U.S. copyright office. I'm not comfortable with anyone seeing all my hard work. Who can you trust? I'm asking because it seems to me very difficult to prove or disprove if my source code is being used, whole or in part, by another program. A software thief would be smart enough to not copy a Windows App in its entirety because it would look identical to the original. However, a small DLL copy or clone and rename would probably pass the public eye unnoticably. I fully understand book copyrighting because the text is public and easily compared to another authors text. Plagiarism much more easily detected and proved or disproved. But software source code is something hidden from public eye. There's no way I could know if someone has cut-n-paste my source code into thiers. On the other hand, I can also understand that copyrighting may be a good 'extra care measure' to protect the 'what if' cases of source code theft. Q. What is your honest opinion about source code copyrights.

    Windows Forms question learning

  • ArrayList & Sub ArrayList Import CSV?
    G gman44

    [data] string sbStrings = @"program files\software\program\report.htm,8/10/2006 4:23 pm-program files\software\program\report.htm,8/10/2006 2:25 pm-program files\software\program\report.htm,6/23/2006 8:14 pm-program files\software\program\report.htm,8/30/2006 1:12 pm"; Q. How would I split this , and - delimited string into a string [,] array? or use something like this: ArrayList list = new ArrayList(); list.Add(new ArrayList()); string1 string2 program files\softsoftware\program\help\help3.htm 9/22/2006 2:22 pm

    C# data-structures help question

  • ArrayList Delete Both Identical Strings?
    G gman44

    I have an ArrayList containing data where BOTH identical strings need to be removed. program files\softsoftware\program\help\help3.htm,9/22/2006 2:22 pm program files\softsoftware\program\help\help3.htm,9/22/2006 2:22 pm

    C# help question

  • DNS Resolve problem in .NET 2.0???
    G gman44

    No didn't work for me either. Be sure your workstation is: a. Windows XP Pro (sp 2) b. VS2005 .NET c. .NET 2.0 So far I'm using the GetHostByAddress method, although I recieve a 'yellow' warning during the compile, it does still compile and not halt in error like the Resolve method does now since .NET 2.0. The program will open and run as usual. However, I would like a flawless code like before the .Resolve obsolecsence. string hostname = System.Net.Dns.GetHostByAddress(IPAddress.Parse(entry)).HostName;

    C# csharp sysadmin help question

  • DNS .Resolve & .NET 2.0 Headache??
    G gman44

    I can type an IP address and receive Internet domain name and my workstation name however no other IPs of computers on our internal network will resolve to a thier machine name only to the same IP that is entered. What's up Microsoft???? I can say that before we switched over .NET 1.1 to 2.0 the Dns.Resolve(entry); would find a name for any IP, LAN or WAN. Q. Any ideas?????????? [This is new .NET 2.0 method that replaced the former .Resolve method] private void LookupIP(string entry) { try { IPHostEntry IP = Dns.GetHostEntry(entry); txtBox2.Text = IP.HostName; } catch(Exception exception) {

    C# csharp sysadmin question

  • DNS Resolve problem in .NET 2.0???
    G gman44

    I can type an IP address and receive Internet domain name and my workstation name however no other IPs of computers on our internal network will resolve to a thier machine name only to the same IP that is entered. What's up Microsoft???? I can say that before we switched over .NET 1.1 to 2.0 the Dns.Resolve(entry); would find a name for any IP, LAN or WAN. Q. Any ideas?????????? [This is new .NET 2.0 method that replaced the former .Resolve method] private void LookupIP(string entry) { try { IPHostEntry IP = Dns.GetHostEntry(entry); txtBox2.Text = IP.HostName; } catch(Exception exception) {

    C# csharp sysadmin help question

  • Q. How do you start 2 or more other classes to threading from a single Form1??
    G gman44

    Q. How do you start 2 or more other classes to threading from a single Form1?? I tried this code on Form1 (Form1_Load) but if failed... objClass1 = new Class1(); objClass1 = new Thread(new ThreadStart(StartMoveKing)); // also objClass2 = new Class2(); objClass2 = Thread(new ThreadStart(StartMoveQueen));

    C# question

  • Hashtable error: "Object reference not set to an instance of ans object."! ???
    G gman44

    Okay, my project is almost finished and this seems to be the last bug. My error is on line 613 during the last 'while' code. It seems that garbage collection has 'dumped' my initial 'hash' instance??? I then get the error message "Object reference not set to an instance of ans object."! Q. How do I fix the code to eliminate the error??? try { while((line = reader.ReadLine()) != null) { string [] tmp = line.Split('\t'); if(tmp.Length == 2) { if(!hash.Contains(tmp[0])) { hash.Add(tmp[0], tmp[1]); } listBox1.Items.Add(tmp[0] + "\t" + tmp[1]); } } } finally { reader.Close(); } while(myReader2.Read()) { if (! hash.ContainsKey(str_col_DestIP.Trim())) { string strDestDns = "Use Other..."; } else { string str = (hash[1].ToString()); // line 613 }

    C# help question cryptography

  • Hashtable reading text file???
    G gman44

    I like the coding. I have an error in my code that says: "Index was outside the bounds of the array" All I changed was using(StreamReader reader = new StreamReader(MyFile.txt")); ????????????????

    C# com help tutorial question

  • Hashtable reading text file???
    G gman44

    I've searched all my books and the Internet and cannot find a good example to read a text file into a hashtable. My text file is tab delimited as such below)and I need to load them into a hashtable as a DNS cashe...... Help......... 123.123.123.123 www.mywebsite.com 111.222.333.444 www.nowebsite.com

    C# com help tutorial question

  • C# Delete and Write specific data in a text file???
    G gman44

    I'm inserting data into a text log file. I need to delete only certain lines of data, generally from line 50 to the end (EOF). I then need to write data to the same file starting at line 50. Q. How do I delete certain lines of data??? Q. How do I delete from a certain line of data the EOF??? Q. How do I start writing at a specific line???

    C# question csharp

  • C# IPHostEntry Cache???
    G gman44

    Excellent, clean and simple coding. I like it so far... The more I study windows DNS, I realize my goal is to create my own 'hosts' file. I can write to it and IPHostEntry can read from it instead of the 'hashtable' you've so kindly shared. Q. How can I create my own 'hosts' file in place of the 'hashtable' example??? Thank You.....

    C# csharp performance question

  • C# IPHostEntry Cache???
    G gman44

    Here is one of the coolest few lines of code to perform a NSLookUp. Simply enter an IP in textBox1, click a button and the domain name translates in textBox2 (providing your workstation is on a WAN. Q. How could we build a 'cache' to capture redundant IP's/Domain's to add lookup performance??? Q. How could we add our own know IP's/Domain's to this 'cache' ??? (Because NOT every IP will resolve) Preferably the code would check our personal 'cache' first before looking on the Internet or elsewhere..... public void ButtonLookupDomain_Click(object sender, EventArgs ea) { IPHostEntry IP = Dns.Resolve(textBox1.Text); txtBox2.Text = IP.HostName; }

    C# csharp performance question

  • Windows Forms (Not ASP) DataGrid or ListView Hyperlink ???
    G gman44

    That corrected the error and the hyperlink to the web site 'lookup' works great, thanks........ Q. How do I get an 'Underline' to appear in a listView colum?? As it is, any value in the column will hyperlink accordingly, however a user doesn't have a visual indicator that the values are actual hyperlinks....

    C# csharp visual-studio winforms help question

  • Windows Forms (Not ASP) DataGrid or ListView Hyperlink ???
    G gman44

    Does anyone know if its possible to hyperlink a ListView column in windows forms, not ASP??? I've found many articles on ASP, however I cannot find anything on Windows forms........ I would like to click on an IP in datacolumn that opens a web page (whois) at arin.net like: http://ws.arin.net/cgi-bin/whois.pl?queryinput=120.210.120.100 I tried this code in the Listview click event handler System.Diagnostics.Process.Start( "http://ws.arin.net/cgi-bin/whois.pl?queryinput= " & ListView1.SelectedItems(0).Text) However, I receive the following error message when compiling in VS.NET C# and 'SelectedItems' is underlined........... 'System.Windows.Forms.ListView.SelectedItems' denotes a 'property' where a 'method' was expected Helpppppppppppppppppppppp

    C# csharp visual-studio winforms help question

  • C# SQL INSERT String???
    G gman44

    Yes, this particular Regex matches numbers between < >. For instance <14>, however only PRE is written to the database........

    Database help regex csharp database question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups