A halfhearted blog about one guys experiences and thoughts with a few code snips thrown in. Includes topics such as travel, motorcycles, programming, New York City, and anything that interests me enough to document.
Wednesday, December 9, 2009
Enterprise Search User Group
The user group aims to provide valuable and timely information to its members so as to foster the Microsoft Enterprise Search community’s growth locally in New York and worldwide via live broadcast presentations and recorded sessions. Its primary goal is to provide the opportunity and platform for otherwise disparate practices and business groups, to come together and share thoughts, ideas, successes and failures, in order to raise the bar - to increase quality across the board and grow a borderless body of knowledge.
For details, please see: http://www.sharepointgroups.org/enterprisesearch/About.aspx
Thursday, July 23, 2009
Deanna Martin 1970-2009
Deanna Martin |
HAVERHILL - Deanna (Dee) Lee Martin, 38, of Bradford, died Thursday, July 23, 2009 at the home of her mother in Auburn N.H. after a courageous eight-year battle with leukemia.
She was born Jan. 21, 1971 in Lowell. Dee graduated from Timberlane High Sschool in 1990. She was a volunteer for the past several years for the Haverhill Meals on Wheels, serving as a driver, delivering meals to shut-ins.
She was an active member of the Danville Baptist Church who loved camping and spending time with her family. Dee was a very special woman whose positive attitude and faith were an inspiration for all who met her.
Beloved baby sister |
Tuesday, May 26, 2009
Open an App using a Registered URL
I found this code snip at Christina's site and found it works well with any registered URL, including those custom URL Protocols that you may register .
string url = @"http://www.ricklafleur.com";
Process.Start("rundll32.exe", "url.dll,FileProtocolHandler \"" + url + "\"");
Thursday, May 14, 2009
Register Application as a Url Protocol
There are times when it is appropriate for a desktop application to be called via a URL and be passed data, such as "myprotocol://open?id=100”. The following code shows how an application can self register itself to handle a URL protocol.
public void RegisterUrlProtocol(string myUrlProtocolName, bool force,)
{
RegistryKey rKey = Registry.ClassesRoot.OpenSubKey(myUrlProtocolName, true);
if (force || rKey == null)
{
rKey = Registry.ClassesRoot.CreateSubKey(myUrlProtocolName);
rKey.SetValue("", "URL:"+ myUrlProtocolName+" Protocol");
rKey.SetValue("URL Protocol", "");
rKey = rKey.CreateSubKey(@"shell\open\command");
rKey.SetValue("", "\"" + Application.ExecutablePath + "\" %1");
}
if (rKey != null) { rKey.Close();
}
}
Subscribe to:
Posts (Atom)