|
1
|
Main Area and Open Discussion / General Software Discussion / Re: Some FavesSoft Hotkey programs updated for Windows 7
|
on: April 19, 2012, 09:20:45 PM
|
|
Same thing happens on my system, but I'm using Win7. What he's doing is trying to hit Shift+NumPadSub from an Explorer window and then he's getting the message: --------------------------- HomeFolder --------------------------- Could not determine Home Path of Active Window! --------------------------- OK ---------------------------
(But in spanish). HomeFolder then closes. I tried running it as administrator as well.
|
|
|
|
|
3
|
Main Area and Open Discussion / General Software Discussion / Re: Google+
|
on: June 29, 2011, 12:08:00 AM
|
divorce lawyers mine your Facebook page to use it against you
My friend is a family attorney, he can confirm this...Facebook is a gold mine and a headache for lawyers. As for Google+ , I like what I see and can't wait to give it a try.
|
|
|
|
|
5
|
Other Software / Developer's Corner / Re: Announcing with UDP in C# - Punching above my weight
|
on: April 28, 2011, 09:57:05 PM
|
I whipped this up real fast, it ain't pretty but should work [ copy or print] namespace SSDPTest { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { UdpClient ucs = new UdpClient(12555); string data = "M-SEARCH * HTTP/1.1\r\n" + "HOST: 239.255.255.250:1900\r\n" + "ST:upnp:rootdevice\r\n" + "MAN:\"ssdp:discover\"\r\n" + "MX:3\r\n\r\n"; Byte[] sendBytes = Encoding.ASCII.GetBytes(data); ucs.Connect("255.255.255.255", 1900); ucs.Send(sendBytes, sendBytes.Length); ucs.Close(); IPEndPoint RemoteIpEndPoint = new IPEndPoint(IPAddress.Any, 0); UdpClient ucr = new UdpClient(12555); Byte[] receiveBytes = ucr.Receive(ref RemoteIpEndPoint); textBox1.Text += Encoding.ASCII.GetString(receiveBytes); ucr.Close(); } } }
|
|
|
|
|
6
|
Other Software / Developer's Corner / The Composed Method pattern
|
on: October 28, 2010, 01:48:08 PM
|
I've been a big fan of this and now I know the actual name for this style of coding. Anyone else find themselves doing this? I use to be a bit gun shy on creating so many methods but I truely find code a lot easier to read when the methods are broken down into simpler tasks and the names given to the methods are much more meaningful. Composed Method pattern: The Composed Method pattern
One of the things I've adopted over the years in my own programming is the use of small methods -- that is, small as in few lines of code. It's made much easier by the use of a good Extract Method refactoring tool. In my case, that's CodeRush, and it's become second nature to apply Extract Method as I'm writing the code since there no cognitive friction in using it.
I was delighted to learn recently that this practice is known as the Composed Method pattern. It was first devised and promoted by Kent Beck in Smalltalk. In essence, there are three rules to the pattern:
1. Divide your programs into methods that only perform one identifiable task. 2. Keep all of the operations in a method at the same level of abstraction. 3. This will result in programs with many small methods, each a few lines long. http://community.devexpre...message-from-the-cto.aspxhttp://tv.devexpress.com/#ComposedMethodPattern
|
|
|
|
|
13
|
Main Area and Open Discussion / Living Room / Re: Now even your ISP is tracking you
|
on: April 10, 2008, 11:30:32 AM
|
who have access to every click and keystroke that comes down the line.
Typical FUD comment that these newspapers love to say. They make it out like ISP's are installing keyloggers on computers unbeknownst to the consumer. In any case, to avoid "packet" inspections, this just reiterates why encryption(SSL) needs to be used more widely in the IP world.
|
|
|
|
|
21
|
Main Area and Open Discussion / General Software Discussion / Re: Monitor system changes
|
on: March 25, 2008, 08:12:13 PM
|
This might be what you want: FileMon monitors and displays file system activity on a system in real-time. Its advanced capabilities make it a powerful tool for exploring the way Windows works, seeing how applications use the files and DLLs, or tracking down problems in system or application file configurations. Filemon's timestamping feature will show you precisely when every open, read, write or delete, happens, and its status column tells you the outcome. FileMon is so easy to use that you'll be an expert within minutes. It begins monitoring when you start it, and its output window can be saved to a file for off-line viewing. It has full search capability, and if you find that you're getting information overload, simply set up one or more filters.
Filemon from Sysinternals(Microsoft) http://technet.microsoft....ysinternals/bb896642.aspx
|
|
|
|
|
25
|
Main Area and Open Discussion / General Software Discussion / Re: Disable Start Menu
|
on: February 28, 2008, 11:08:40 AM
|
Pretty simple to do actually in a few lines of code. This is delphi code to do it: Formatted for Delphi with the GeSHI Syntax Highlighter [ copy or print] FHandle := FindWindowEx(windows.FindWindow('Shell_TrayWnd', ''), 0, 'Button', nil); // find the Start Button ShowWindow(FHandle, SW_SHOW); // visible ShowWindow(FHandle, SW_HIDE); // not visible
I could throw this code in a "service" application that would always run and check to see if it's visible, and if it is set it to Hide....what you think?
|
|
|
|
|