Category: Uncategorized
This in one of the
This in one of the reason motivating me to change my blog, and that is
gaining the ability to easily publish a blog entry from other products
such as Mail. Now can I blog from it…..
In January, 2003 I installed
In January, 2003 I installed MT and began blogging. MT is a great product. From the very first day I have had no problems. So why change? It is a time issue … and blog administration is something I can eliminate. So to this end I am giving Blogger a try. So far it seems simple. Did notice that spell check does not work. My browser is Safari 1.2.4, perhaps that the cause. The help screen is not clear as to what functionality is supported.
Took some time off from work this morning. Not by choice… Have two appointments. The first is with our home builder. Seems like we have several drywall cracks we want repaired. Second, our Sprint Broadband internet is down. Have had this service for the past 6 years and this is the first hardware problem. If you can get their service its the best. Fortunatly we have QWest DSL as a backup. Its OK but not a reliable as Sprint. Cox service, at least in my neighborhood SUCKS. Its downtime was in excess of 50%.
Here are some code snippets
Here are some code snippets which I used to load usercontrols dynamically
–The way to load
protected override void OnInit(System.EventArgs e)
{
// Add the header and footer controls
header hdr = (header) LoadControl(“/include/Header.ascx”);
if(hdr!=null)
{
hdr.AppTitle = mySettings[“ApplicationTitle”].ToString();
hdr.ID = “header”;
this.Controls.AddAt(0,hdr);
}
–The way to find
//_ctl0_lblTitle
header hdr = (header) this.FindControl(“header”);
if(hdr!=null)
{
hdr.PageTitle = value;
}
Here are some code snippets
Here are some code snippets which I used to load usercontrols dynamically
–The way to load
protected override void OnInit(System.EventArgs e)
{
// Add the header and footer controls
header hdr = (header) LoadControl(“/include/Header.ascx”);
if(hdr!=null)
{
hdr.AppTitle = mySettings[“ApplicationTitle”].ToString();
hdr.ID = “header”;
this.Controls.AddAt(0,hdr);
}
–The way to find
//_ctl0_lblTitle
header hdr = (header) this.FindControl(“header”);
if(hdr!=null)
{
hdr.PageTitle = value;
}
Using a datagrid OnItemCommand event
Using a datagrid OnItemCommand event the following code will trigger its selecteditemstyle-backcolor:
int Index = e.Item.ItemIndex;
yourdatagridid.SelectedIndex = -1;
yourdatagridid.SelectedIndex = Index;
Just another item I don’t want to forget…
How can something so simple
How can something so simple be so difficult? I downloaded the PHP Windows Binaries from www.php.net and performed the recommended manual installation. According to the instructions a manual install was suppose to provide a learning experience that would be of future benefit. Well the learning experience was php did not work. Next I downloaded the PHP 5.03 installer. Running the installer was no help. Next a search of the internet lead me to an O’Reilly page. Following these instructions worked. Is it me or is doing anything on a windows box one big pain in the ….
It’s Christmas Eve already and
It’s Christmas Eve already and I am just not ready. This has been a year of “Just not ready…” Seems like there was never enough time to get anything done or at least done to the point where one is satisfied with the results. It’s just slam it together and move onto the next thing. I need some real down time. However, that ain’t going to happen anytime soon. Just now I am under the gun for a PHP gig that is job one for my customer. Also, as usual for this time of the year, my wife’s family priorities rule. As the bedlam of our family gathering builds tonight, my plan is to sneak away to my office for some quite code time. Maybe they won’t miss me …
Here is a neat little
Here is a neat little script to reset or reboot an Microsoft IIS server. It’s neat because we have a sever that crashes after a days use … we don’t know why … Microsoft does not know why … so we set up a job which runs every night to reset or reboot the server. Crude but it works.
|
iisreset < your server name > /restart /rebootonerror pause |
We found the perfect Yorkshire
We found the perfect Yorkshire Terrier for Sandy today. It’s from a breeder in Tucson, AZ. I met halfway to check her out and ended up making a purchase. She is not quite weaned so I will not be able to bring her home until next Sunday. Now we need to locate a tea-cup sized male … we intend on becoming amateur breeders.