Wednesday, July 18, 2007

Web Application Project

After working for a while to get this Converted ASP.NET 2.0 VS.Net 2005 VB.Net 2005 (8.0) Application to completely build, I ran into Parser Error Message: Could not load type '.Global'.

I am searching everywhere and find this refference
http://forums.aspfree.com/net-development-11/parser-error-message-could-not-load-type-17894.html
http://forums.aspfree.com/showpost.php?p=60570&postcount=13
================================================================
March 23rd, 2004, 11:03 AM
manos

Registered User
Join Date: Mar 2004
Location: Canada
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0

I found another answer

--------------------------------------------------------------------------------

Hi, just thought I'd share my answer to this frustrating problem.

Basically what I found was that for some reason, the class names that my .aspx pages where inheriting from were wrong. What happened
was that when checking the project in to source control, I had actually named my solution "Something.Net". This meant that all my
code behind inheritance directives said "Something.Net.class". (i.e. Something.Net._default) This may have been a problem.

When I noticed that, I recreated the solution as just "Something" and copied the files from the old solution. I then had to go in to the .aspx files
and change the page directives so that the pages inherited from Something._default.

After that it worked fine.

Good luck.

==========================================================================

I say to myself, "Oh, )&(^*&%(&*)(>, I remember having to change the application name. So, I open a code file in VS.NET 2005 and type Imports . And sure enough no Global ... then I remember some of my components seem to have dropped a level so I type .. and ther is my GLOBAL.
I open 1) Global.asax in NotePad, 2) change the Inherits=".Global" to Inherits="..Global" 3) Save & Close the file 4) rebuild the project
It worked ...
Now why in the code does my project have a split class set with some classes under and others under .????

And onto other Parse Errors ...

Sunday, July 15, 2007

I'm So Sorry

Querida says she feels so guilty due to not having the same desire for me as she does for her female partner. She doesn't need to have the same feelings, but she feels she should. She says she feels so guilty for not wanting to share herself with me (after ten years, I never expected to be so easily cast aside) and her partner, but rather wishing to continue as my "friend"/the father of her children/that guy who provided for everyone for a long time and dedicate herself completely to her partner - and of course the welfare of the children, because they exist and she hasn't seen how to disregard them, yet. I get depressed and angry; I lash out and hurt her feelings - not just the guilt reaction, but actually her; I appologize and talk with her and try to work out a resemblence of a plan to continue forward. She sounds copasetic; says we're good she'll just need a while to recover from the bite, but she'll try to remember to show me that she does realize she love's me just not the same way she lovers her partner ... then she leaves for a night and a day and at the last miniute of the evening calls to "talk to the kids because I haven't seen them all day and I'm going to stay with her again tonight" ... I tell her "I am sorry we wont be seeing you today, but it isn't unexpected nor is it a problem. We will see you tomorrow. We love you." She replys, "I'll be back before 7 a.m. - this is good because I need to leave for work at 7 a.m. and it implies she will watch the kids and take care of the house - It's been a really long day. We were supposed to have lunch at 12 but they didn't have it ready until after 2. They also had us start almost a half hour early. Everyone was exhausted." - She and her partner are very good musicians in a band together. Am I supposed to take this as a rationalization for blowing us off the entire day? Then just dropping us a line instead of seeing us? Her partner is always welcome in our house and from her Partner's own accounts she doesn't much care for the company of her present room mates nor does Querida. So obviousely I don't know what is going on, I try to make the best of it and reply; "I hope you two can get some rest. Thanks for sharing about your day. The kids & I enjoyed hearing from you. We had a good day. The kids were up early & took a late nap. We played hard & did a lot of cleanbing & organization. We made tortillas and played with neighbors."
I contacted her for one question about our daughters hair (not so good with preparing her for bed without a mass of knots in the morning and say to her "Thank you, I love you and good night." She replies, "Your welcome. See you in the morning." What the ?)*&(^&#??? She knows I am a very contact/social oriented person, yet chose for - what reason? - to blow me off agian - no I love you too; just I will be there.
Well, obviously that has done a lot of good in my psychie. I'm expecting her to show up tomorrow a.m. and rather then say, hey, I'm sorry, I didn't have a chance to properly visit with you all and I shafted the time, I had already told you would be yours - she did say she was tired so I guess she felt cuddling with me and/or sleeping near me would have just been an agrivation - I must admit; I can't keep my hands of her ... I've always wanted her (body, mind, everything - even the quirks are just part of the package - of course I could have done without the whole serial monogamy thing she's doing right now ... - anyway, I'm expecting to have her tell me she's moving out or something all just from one missed opertunity to say "I love you." and not doing it. I will have to laugh like a loon if I'm right or wrong - either out of anguish or relief. I don't want to loose this woman. Specifically, I do not want her not to be living in a home with me and our kids, sharing intimate (sexual and other) moments with me and helping me improve myself, herself and jointly raise our children. I am very open to sharing her with her partner ( A Split ray intimately - She and I; Her and Her partner & A sphere socially (all of us working together) - We actually already have a weak version of the social sphere developing, but She's chosen do very harshly and in significant steps cut me off intimately (sexually and other) --- the entire time offering me what are beginning to feel like platitudes of how guilty she feels for hurting me ... She felt so guilty today that she never once bothered to send even the shortest message of love or concern to myself or the children. (That probably isn't fair; just true.)
I just can't help but remember Eeek The Cat - a late 80's/early 90's cartoon - "It never hurts to help." Of course, he was always tortured, tormented and/or pursicuted for choosing to help... Why should telling someone you completely and totally want them be any different???!

Sunday, June 24, 2007

I just saw The Perverts Guide to Cinema status: Active & working which was a powerful documentry discussing the motives behind the experince and interaction of cinima in modern culture. I found it very powerful ...

Friday, June 22, 2007

aspnet_state.exe Application Error

I just moved to a new development laptop and had this issue. I had the same environment in my previous laptop without this error. My work includes development and maintenance on VB 6, 7, 7.1, and 8 as well as new bleeding edge application development so I have all environments running side-by-side … usually with a good deal of success.

ISSUE:

On Log Off, Restart or Shutdown
aspnet_state.exe. Application Error.
The instruction at 0x6a2a2fec referenced memory
at 0x0000000c could not be "read".
Click "OK" to end program
Click "Cancel" to debug.

My Fix from the control panel:
Repair Net Framework 2.0
Restart
Repair Net Framework 3.0
Restart
Test Fix:
LogOn  LogOff  No issue

===================

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=327951&SiteID=1

04-14-2006, 8:34 PM UTC
Michael_Guinto

I had the same problem.

Note: I just want to share what I learn from this experience . . . . . DOCUMENT your actions. meaning . . every time you tried something make sure you write it down. If the action was unsuccessful . . . return it to the original state. Try to find solutions from more "Solid" sources like this one . . . not from a "Who-Knows" website

Here is the solution:

If you have visual studio.net follow this step

1. go to start
2. find Visual studio.net
3. under visual studio.net tools click the command prompt
4. first let us make sure you have asp.net install and how many version do you have. type
aspnet_regiis -lv. your root should be whatever version of .Net you have.
Note: if you don't know, one way to find out is to open visual studio.net - then - go to help menu - then click about visual studio.net . It should tell you want version of .net you have .

another way is to go to the admin tools and right click on the "Microsoft .net framework X.X"
5. now you know the version we need, lets take out the rest. First we need to completely remove all aspnet versions inside your computer. on the visual studio command prompt type
aspnet_regiis -ua.
6. type aspnet_regiis -- the computer should tell you that there are no version installed.
7. know type aspnet_regiis -i;

that should fix the problem.

For those who don't have visual studio.net

simply use the run command and type the following:
STOP: v.X.XXXX = the version of .net you have
type: %windir%\Microsoft.NET\Framework\v.X.XXXX\aspnet_regiis.exe -ua
type: %windir%\Microsoft.NET\Framework\v.X.XXXX\aspnet_regiis.exe -i

NOTE: make sure you turn on Aspnet_state.exe in your computer. Go to the administrative tools and double click on service and find "ASP.NET State Service" double click it and click the start button. You can change the start type too if you want

Another problem: "I CANT CREATE NEW ASP.NET PROJECTS ON VISUAL STUDIO"

make sure you turn on the IIS and ASP.NET state service.

that should fix it.

problem: "I CAN'T FIND IIS IN THE SERVICE CONSOLE"

on the run command type "control panel"
find add and remove program
inside the add and remove program window click on the "Add/Remove Window's Component"
if "Internet Information Service (IIS)" is not check. . . . well . . . check it.


after that is done . . turn it on

when both IIS and ASPnet_State.exe are on = problem solve
I hope this article help you solve your problems. it toke me two days to solve this problem because mainly because I don't keep track of my actions and sources

if you still can't create asp.net project via visual studio.net then you you need to setup your IIS

===================

05-19-2006, 6:55 AM UTC
Per Salmi

A screenshot would be very hard to provide as the error message pops up during shutdown of windows. GeoK´s post previously on this thread quotes exactly what the error popup says:
aspnet_state.exe. Application Error.
The instruction at 0x6a2a2fec referenced memory
at 0x0000000c could not be "read".
Click "OK" to end program
Click "Cancel" to debug.
This is a bit frustrating as we are worried about rebooting remote servers if they get stuck with an error on shutdown.
/Per Salmi

===================


http://jeffhandley.wordpress.com/2006/02/23/aspnet_stateexe-crash-during-shutdown/

aspnet_state.exe crash during shutdown
Look at me posting something about ASP.NET on my blog! Been awhile.

So I have installed VS Team System for Software Developers on my TabletPC and my office workstation. Both machines also run VS.NET 2003 for Enterprise Architects. On both machines, every time a restart or shut down (Windows XP TabletPC Edition/Windows XP Pro), I get an error that memory could not be read for aspnet_state.exe.

I’ve googled around and found no solutions, but others are experiencing this. Some co-workers experience it occasionally.

The only “fix” I have come up with is to hack the registry settings for the ASP.NET State Service and point it to the .NET Version 1.1 instance. With that in place, the errors go away.

Anyone else seen this and have any solutions? I know that the error doesn’t really matter — it doesn’t even get logged — but it just bothers me. On a clean build, I shouldn’t get errors — that’s like having the check engine light on in a new car and just ignoring it.

UPDATE:
Here’s what I hacked in the registry to get this error to go away. Insert legal crap that prevents me from being responsible if you crash your system by messing up your registry… no warranties here whatsoever… yada yada yada…

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\aspnet_state\DisplayName
- Change to “ASP.NET State Service (1.1)”
- This is just for my sanity

HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\aspnet_state\ImagePath
- Change to “%SystemRoot%\Microsoft.NET\Framework\v1.1.4322\aspnet_state.exe”
- This points the service to the .NET 1.1 version of the state service

Saturday, June 02, 2007

Is writing about your life in a journal equivalent to whining about your circumstances which sociology and psychology studies have verified is pointless, futile and of no true value to the individual or the participant (hearer/reader)?
It may well be, in which case, I am one of my own worst pet peeves, a whiner.

I recently stated to my spouse in complete truth that regardless of the motivation behind her choosing to work with me on continuing our now decade long tryst over and over and over again, I am very happy to have had the experience that have come with it even the ones which have not been pleasant.

I do hope to be celebrating another decade in 2018 and again in 2028, though right now I do appear to have some small nuances stacked against me. You see my darling is a lesbian. This in itself is not really an issue, but she has for some time (our entire relationship actually) dealt with the extreme disconnect between my feelings for her and hers for me. They are as you can probably imagine quite different. When at a breaking point some years ago, a bottle of Crown Royal (She drinks, not I) brought us to a steamy reunion which in turn brought us our beloved son. In an act of characteristic self-sacrifice she chose to reunite with me and do the absolute best to raise him. We did and are doing so. In the middle of all of this we continued our intimacy, an act of friendship and latent heterosexuality on her part and extreme emotional, physical, social, and intellectual desire and need on my part. Of course, a few years following his birth and just days before my NSV, we found out we were to have a second child. Our now two year old daughter is quite flamboyant. So life continues on and I begin to feel very needy in just one area. I want my beloved to experience the same wonton hunger I feel for her, if not for me then for someone of good character, personality, etc. Finally, we have found her! And all has worked out as I had hoped it would, with one slight variance. Instead of the realization and understanding of what I experience for my beloved as she experiences it towards and with her partner turning her towards me with a new perspective of appreciation, it has caused her great anguish and turmoil. “How could you feel this for me, know I did not feel this for you, and still want to go on?” Wow, that was a question I didn’t expect and one, I have no idea how to answer. We have all cried tears; we have all talked and continue to do so; we are all working hard to make our relationship work well; we are having a great deal of success, but my querida and I are having a lot of very deep discussions to which I have no answers. Yes, in fact she has often felt that she is a kept woman and I a “sugar-daddy”; my being the sole bread winner and her handling all the needed home and child management. She has often thought that if she could just be completely financially independent she might actually drop me like a hot rock; Almost as often thought she has thought that even if she was completely independent she would want to continue developing our relationship. I must and have admitted I’ve pretty much had the same thoughts about her reactions to the situation, but have always strived to help her be independent in every way. I do after all want a partner not an appendage.
Even though I enjoy dominant positions within my most intimate relationships, I want a willing consensual submissive. It is not for me to defeat or lord over someone, but rather to cherish them enough to do the very best for them and in reciprocation to have them care for me enough to want to serve me in a way befitting us both. This of course has been very pleasurable and productive when it has been played out, but is, not by any means, currently nor ever was a regular part of my existence.
So I have a bit of a hydrogen bond type relationship now developing in which my wife and her partner are strongly matched in mutual desire, friendship, and longing, while my wife and I are weakly matched in mutual friendship, and my own longing and desire for her. We have all joked that perhaps the perfection to this relational sphere would be a willing and loving partner with whom I would share the mutual aspects my wife and her partner share. This would by all accounts certainly reduce the “guilt” factor which so often besets these, my two good friends.
Side Note: GUILT is a self inflicted would which I do not tolerate well.
My greatest fear though is that such a search would be in vain.

Family Visit and Documenting

Jackie, Juan, Jillian and I went to the Philadelphia Zoo today with the plan of visiting with my Great Aunt Marcia and my Great Uncle David (siblings). Uncle David apparently had a fall recently and injured himself. As a result he felt it necessary to cancel. Sadly, this is the second visit with the children to which he has not shown. We did have a very pleasant trip from York to Philadelphia though. The visit to the Zoo and the time spent chatting with Marcia there was fabulous. I shared with Marcia that I will be shortly sending a letter to Uncle David to solicit some time with him in order to collect knowledge of my extended family (by blood, marriage, or good friendship) with stories to add to my collection of knowledge which I have begun posting on ancestry.com
My cousins and I have been working on our own for a while and have only recently begun to use this online site as a place for communication and collaboration. She said she believed a cousin of hers would be able to assist me with the Rogers side of the family quite a bit. I was very please to hear this and am looking forward to receiving their contact information.
I will be traveling to Hondo, TX the end of June for a Rios Family Reunion were I do hope not only to re-establish ties with distant cousins, but also to further my research and familial database regarding my Grandfather (Sandoval) and my Grandmother (Rios) ancestry.
Some time in July, I also want to begin serious development of my wife's familial history.
I hate that we (everyone in the family) is now so separated by distance, but I am very thankful for all the electronic and mechanical wonders of the age that have and continue to allow us to be and stay connected.

Friday, June 01, 2007

MOSS 2007 Event ID: 6482, 7888, 6398, 7076, Errors

Microsoft Office SharePoint Server (MOSS 2007)
Event ID: 6482, 7888, 6398, 7076, Errors
I am running an evaluations server for a potential build out to intranet clients and found Event Log issues which are documented by Microsoft as an, "oops, we will fix that later." issue in logging, but apparently not in processing.
====================
http://support.microsoft.com/kb/923028/en-us
SYMPTOMS
When you run a Microsoft .NET Framework 2.0 Remoting application, you may receive the following error message:
Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Additionally, this problem may occur in .NET Framework 2.0 Remoting applications on a computer that is running certain types of driver software or antivirus programs.

Hotfix information
A supported hotfix is now available from Microsoft. But the hotfix is intended only to correct the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual Studio 2005 service pack that contains this hotfix.

To resolve this problem immediately, visit the following Microsoft Web site:
http://go.microsoft.com/fwlink/?linkid=87454
====================
Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Timer
Event ID: 6398
Date: 6/1/2007
Time: 10:32:46 AM
User: N/A
Computer: SERVER_NAME
Description:
The Execute method of job definition Microsoft.Office.Server.Administration.ApplicationServerAdministrationServiceJob (ID 075addaf-4caa-4f3b-8037-2ae7292af811) threw an exception. More information is included below.

Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
====================
Event Type: Error
Event Source: Office SharePoint Server
Event Category: Office Server Shared Services
Event ID: 7076
Date: 6/1/2007
Time: 10:32:46 AM
User: N/A
Computer: SERVER_NAME
Description:
An exception occurred while executing the Application Server Administration job.

Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Techinal Support Details:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Server stack trace:
at System.DirectoryServices.Interop.UnsafeNativeMethods.IAdsContainer.GetObject(String className, String relativeName)
at System.DirectoryServices.DirectoryEntries.Find(String name, String schemaClassName)
at Microsoft.SharePoint.AdministrationOperation.Metabase.MetabaseObjectCollection`1.Find(String name)
at Microsoft.SharePoint.AdministrationOperation.Metabase.MetabaseObjectCollection`1.get_Item(String name)
at Microsoft.SharePoint.AdministrationOperation.SPProvisioningAssistant.ProvisionIisApplicationPool(String name, ApplicationPoolIdentityType identityType, String userName, SecureString password, TimeSpan idleTimeout, TimeSpan periodicRestartTime)
at Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoProvisionIisApplicationPool(String name, Int32 identityType, String userName, String password, TimeSpan idleTimeout, TimeSpan periodicRestartTime)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoProvisionIisApplicationPool(String name, Int32 identityType, String userName, String password, TimeSpan idleTimeout, TimeSpan periodicRestartTime)
at Microsoft.SharePoint.Administration.SPMetabaseManager.ProvisionIisApplicationPool(String name, Int32 identityType, String userName, SecureString password, TimeSpan idleTimeout, TimeSpan periodicRestartTime)
at Microsoft.Office.Server.Administration.SharedWebServiceInstance.CreateSharedWebServiceApplicationPool(SharedResourceProvider srp)
at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
====================
Event Type: Error
Event Source: Office SharePoint Server
Event Category: Office Server Shared Services
Event ID: 6482
Date: 6/1/2007
Time: 10:32:46 AM
User: N/A
Computer: SERVER_NAME
Description:
Application Server Administration job failed for service instance Microsoft.Office.Excel.Server.ExcelServerSharedWebServiceInstance (f92093b4-ee20-4f1e-ae9f-d6a227a9d2bb).

Reason: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Techinal Support Details:
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

Server stack trace:
at System.DirectoryServices.Interop.UnsafeNativeMethods.IAdsContainer.GetObject(String className, String relativeName)
at System.DirectoryServices.DirectoryEntries.Find(String name, String schemaClassName)
at Microsoft.SharePoint.AdministrationOperation.Metabase.MetabaseObjectCollection`1.Find(String name)
at Microsoft.SharePoint.AdministrationOperation.Metabase.MetabaseObjectCollection`1.get_Item(String name)
at Microsoft.SharePoint.AdministrationOperation.SPProvisioningAssistant.ProvisionIisApplicationPool(String name, ApplicationPoolIdentityType identityType, String userName, SecureString password, TimeSpan idleTimeout, TimeSpan periodicRestartTime)
at Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoProvisionIisApplicationPool(String name, Int32 identityType, String userName, String password, TimeSpan idleTimeout, TimeSpan periodicRestartTime)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.SharePoint.AdministrationOperation.SPAdministrationOperation.DoProvisionIisApplicationPool(String name, Int32 identityType, String userName, String password, TimeSpan idleTimeout, TimeSpan periodicRestartTime)
at Microsoft.SharePoint.Administration.SPMetabaseManager.ProvisionIisApplicationPool(String name, Int32 identityType, String userName, SecureString password, TimeSpan idleTimeout, TimeSpan periodicRestartTime)
at Microsoft.Office.Server.Administration.SharedWebServiceInstance.Synchronize()
at Microsoft.Office.Excel.Server.ExcelServerSharedWebServiceInstance.Synchronize()
at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob)

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
====================

Saturday, May 05, 2007

Fairie Festival 5/5/07

Fairie Festival 5/5/07

http://www.fairiefestival.net/about/info.html

Lets meet at the enterance at 10:30 a.m.
If you go to the link above you can get directions straight there, but basically you take PA 216 W from Glen Rock exit 8 off the I-83 to Pierceville Rd. Parking will be $5 and admission is $10
With the kids along I doubt we will be out longer then 1 p.m.
There is no cell phone signal out there.

Thursday, May 03, 2007

Nuance - ASP.NET

Nuance - ASP.NET VB.NET 2005 .NET 2.0 GridView Button

Some things are so simple that most people do not think to document them.

For example:
“How do you set a GridView caption a different color then the rest of the grid?”
The simplest way is to set the GridView ForeColor equal to the color you want the caption then set the HeaderStyle and RowStyle ForeColor equal to the default color
So if you wanted a red caption and black text in the column name and rows …

    <asp:gridview id="GridView1" runat="server"
        ...
        caption="Your Caption" forecolor="red">
        <HeaderStyle ForeColor="black" />
        <RowStyle ForeColor="black" />
        <Columns>
        ...

“Close Browser Window From Button Web Control”
Okay, I did find some writing on this.
http://www.getfreesofts.com

Name: Close Browser Window From Button Web Control
Author: Bipin Joshi
Category: ASP.NET / Browsers
HomePage: http://www.dotnetbips.com/articles/fca4c3e0-0008-445d-817d-c8e273348c37.aspx
No. of hits: 5603

HOW TO: Close Browser Window From Button Web Control is a web based tutorial in which author explains the method of closing the browser window with the server side controls, using a button click event control. The author explains the above said procedure with the help of examples and source code. The author concludes this tutorial by suggesting users to use server control instead of client scripts.


Code that closes the window
In the click event handler of button1 write following code:

Private Sub Button1_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    ' perform other server side tasks here
    Response.Write("<script>window.close();</script>")
End Sub

Wednesday, May 02, 2007

THE MASONIC CENTER OF YORK

SPECIAL MEETING

A SPECIAL MEETING OF
WHITE ROSE LODGE, #706 F.&A.M.
YORK LODGE #266, F.&A.M.
ZEREDATHA LODGE #451, F.&A.M.

WILL BE HELD ON
WEDNESDAY, MAY 30, 2007
7:00PM
AT
THE MASONIC CENTER OF YORK
400 MASONIC DRIVE, YORK, PA
DRESS IS BUSINESS CASUAL

FOR THE PURPOSE OF DISCUSSING
FINANCIAL ISSUES OF THE MASONIC CENTER

BY THE ORDER OF

GALEN L. HOLTZAPPLE, WORSHIPFUL MASTER WHITE ROSE LODGE #706
CRAIG L. WAGMAN, WORSHIFUL MASTER, YORK LODGE #266
GREG S. FAIR, WORSHIPFUL MASTER ZEREDATHA LODGE #451

Friday, April 27, 2007

Clean the snake...

It is late; I had a very good day today; I arrived home to find the snake has soiled his cage... yuck ... once that is clean then the place has to air out ... we are sharing the Den tonight so dw and her so can have the upper room... I really hate the snake when he is an inconvenience ... the rest of the time, I could care less that he is here taking up space and energy ... I guess a lot of people on this planet probably feel the same about me too though, so I don't worry about him too much.

Saturday, April 21, 2007

Control - a discussion

This summary is not available. Please click here to view the post.

Saturday, April 14, 2007

OnA Part 1

Tomorrow, we start the first of a series of Sunday school classes to discuss the background and integrity of theological positions which are not homophobic. It is very cool to be among a group of individuals who understand that an individual may share the same faith as they do yet have a different set of beliefs and biblical interpretations due to accepting a different set of historic Christian philosophies, theologies and scholars in forming their theology.

Zoo and Arc

I just spent the day at the Zoo with my dear wife, our children and my wife’s girl friend. I believe a wonderful time was had by all and it was good to spend some time in communication with dw and dwf. My dw is as I have known since we begin to date sexually and sensually more identifiable as lesbian then anything else. We have been committed partners, friends, lovers and parents for over a decade and continue to be so, but now we are opening up to the possibility that dw may have found a partner to complete that segment of her internal puzzle for which I could never satisfy. It is for me actually a great pleasure to see my wife reposed in a sense of completeness to which her companionship has long placed me. dwf too seems quite content with dw’s partnership though admittedly somewhat overwhelmed by the dynamics involved. I grew up around individual family unites that where anything but your typical Anglo-Saxon North Eastern Male/Female monogamous nightmare and have never had much of an inclination to force or encourage anyone into what for we would be a bizarre self inflicted masochism. Of course, the arc of our intimate relationships which places dw in the middle of dwf and I is of a concern to all of us. None of us wishes to be a stumbling block to the others and neither dwf nor I wish to cause dw to feel pulled or forced in one direction. I personally hope to celebrate with dw our twenty year anniversary in another decade while dw and dwf are celebrating their first decade together. As long as we always to the absolute best we can and make amends when we fail to do so, I think we will be fine.
Back to the Zoo and our awesome children! Our boy (4 yr) and our girl (2 yr) had a wonderful action packed time! We explored ever nook and cranny of the Baltimore Zoo today and found time to experience life as a bat, turtle, chimpanzee, and warthog! Our girl was particularly fond of the bats though not at all thrilled with the cave. Our boy was completely enthralled by the Marsh exhibit and the tree slide. He found the rope bridge very uncomforting. I personally loved it because it reminded me of one I used to cross each year in Wyoming with much trepidation. What was a moderately intense event for me as a child is now something of great nostalgic value. Our boy also found himself very well suited to the farm exhibit; indeed the animals that shied away from other children came immediately to him. It is quite interesting to see how this bundle of frenetic energy can immediately silence into absolute stillness to calm, comfort and coddle another beast.

The traditional metals for a ten year anniversary tin and aluminum because they are flexible; they can bend and do not break. I love that analogy.

Thursday, April 12, 2007

Public Folder Outlook Custom Form

Client Specific names have been changed.
I had a client service call come up in which individuals in the field were not getting all the contact information from an Outlook Public Folder Contact List when they synchronized the information with their phone/PDA.
Now I haven’t had to code and/or manage Outlook for a few years and I am not one to reinvent the wheel.
First thing was to look at the information from the Outlook Public Folder Contact List and from the PDA. The Contact List was managed through a custom form “OurContactForm” which had within it a custom field for collecting direct dial numbers (DDN). This field was not downloading to the mobile devices because there was no code behind to do so and all they were getting was the default IMP.Contact.Item fields.
Just a bit further research reviled that the “OurContactForm” form was originally created by a sales person and had initially contained a myriad of custom fields which had over time been systematically replaced with default contact item fields.
Side Note:
Anyone who has worked with Sales and/or Marketing departments staff will be familiar with this type of scenario. Why is that? I have never had a department except Sales and/or Marketing who will just start using a “Jerry did this” product/process as production without talking to anyone else in the company. Even in this case a five minute conversation like “hey, I have been thinking of utilizing custom forms to help get a unified presentation of our contacts. I will build it out in my copious free time.” And a reply of, “Great, be sure to use default custom values first just as a best practice, I would be happy to review your work or provide any guidance.” would have saved this company some hundred hours in modifications (without a basic knowledge of VBScript every change to a default item field was accompanied by data entry copy/paste).

I found previous bits and pieces of code from past “programmer/developer” staff members who had started putting together code to copy the DDN custom field data to the default IMP.Contact.Item.BusinessTelephoneNumber field “Business Phone” (BTN), but for whatever reason had never finished any of the various iterations of the code successfully.
The simplest solution to this issue then appeared to be to take the following steps.
1. Build a custom form “CopyDdn2Btn” with vbscript code in the Item_Open function to copy the “DDN” field value to the “BTN” field value.
a. An amendment to this code included assigning the custom form “OurContactForm” to the item after they where modified. Otherwise each item would try to open using the “CopyDdn2Btn” form
2. Alter the existing custom form “OurContactForm” to utilize the “Business Phone” field rather then the custom “Direct Dial” field
3. Alter the Public Folder default views replacing “Direct Dial” with “Business Phone”

Of course, the first step in this little scenario is to ensure I have ownership on the public folder in questions “OurContactNumbers”. Once that is accomplished, I copy the folder to a public folder subdirectory for testing and development.
Next I create the form “CopyDdn2Btn” from the “OurContactForm” and add “Business Phone” (IMP.Contact.Item.BusinessTelephoneNumber) to it and the following code.
=============
' VBScript source code
' Open Form Copy at item level Direct Dial to Business Phone
' Modified By James Andrew Malone 4/10 & 4/11 2007 Office Outlook 2003
Sub Item_Open

Dim objFolder ' As MAPIFolder
Dim objItems ' As Items
Dim objItem ' As Object

' Change the following line to your new Message Class
NewMC = "IPM.Contact.OurContactForm"

' Set objFolder to the current folder
set objFolder = Application.ActiveExplorer.CurrentFolder

If Not objFolder Is Nothing Then
' Set objItems to the current folder items
set objItems = objFolder.Items

' Loop through all of the items in the folder
For Each objItem In objItems
' make sure you have a Contact item

If objItem.Class = 40 Then ' Class = 40 = olContact
' convert to your published custom form
objItem.MessageClass = "IPM.Contact.CopyDdn2Btn"

strDDN = cstr( objItem.UserProperties("Direct Dial") )
strFullName = cstr( objItem.FullName )
strBTN = cstr( objItem.BusinessTelephoneNumber )

if strDDN <> "" then
if strDDN <> strBTN then
' MsgBox "Before!: " & strFullName &_
' " BTN: " & strBTN &_
' " DDN: " & strDDN

objItem.BusinessTelephoneNumber = strDDN
' Save the changed item
objItem.Save

' msgbox "After: " & cstr(CurItem.FullName) &_
' " BTN: " & cstr(CurItem.BusinessTelephoneNumber) ' &_
' " DDN: " & cstr( objItem.UserProperties("Direct Dial") )

End if ' if strDDN <> strBTN
End if ' if strDDN <> ""
' Test to see if the Message Class needs to be changed
If objItem.MessageClass <> NewMC Then

' Change the Message Class
objItem.MessageClass = NewMC

' Save the changed item
objItem.Save

End If
Else
MsgBox "objItem Class = " & cstr( objItem.Class ) ' exit sub
End if ' If objItem.Class = olContact

Next ' For Each objItem In objItems
Else
MsgBox "objFolder Is Nothing!"
End if ' If Not objFolder Is Nothing
Set objItems = Nothing
Set objItem = Nothing
Set objFolder = Nothing
MsgBox "Done."
End Sub
=============

I then publish this form in my test contact folder
Next I alter the “OurContactForm” changing the “Direct Dial” text box property to “Business Phone”. I also increased the version of the form and published it to my test contact folder.
Run the code:
• Select the public folder in the navigation bar
• From the Outlook menu browse through Tools > Forms > Choose Forms
• Browse to the test folder
• Select the “CopyDdn2Btn”
• Choose Open.
The form churns through the contact items and makes the changes. When the task is complete a “Done.” message pops up. Click “OK” and close the form. If prompted to save click “No” – this is asking about saving a blank contact item which was created when this custom form was successfully opened.
The public folder already had “OurContactForm” as its default form.
• Right click the public folder in the navigation bar; select properties; “When posting to this folder use:” should be set to “OurContactForm”. This only affects new items, existing items where associated with the form in the code.
The public folder views need modified and published
• From the Outlook menu browse through View > Arrange By > Current View > Define Views
• Make the changes to each public folder specific view
o Select the view
o Click Modify
o Make changes
o Click “OK”
• publish the changes
o Select the view
o Click “Publish”

Once users reviewed the test public folder, I publish the new “OurContactForm” in the production public folder and I execute the “CopyDdn2Btn”
Then publish the view changes to the production public folder

Resources:

Tutorial: Creating and distributing custom forms with Outlook By Debra Littlejohn Shinder, MCSE, MVP.

Publish a public folder view

OL2002: How to Update Existing Items to Use a New Custom Form

DevGuru VBScript Index

Microsoft Outlook Programming By Sue Mosher

Microsoft Outlook Custom Forms

To convert imported data to custom fields

Thursday, March 29, 2007

Easter Is About

I attended a Lenten celebration Wednesday night with my wife our four year old son and our two year old daughter. I arrived directly from work enjoyed dinner and fellowship with my family and a few other church members. My wife becoming ill left directly after dinner while I stayed for a hymn presentation by a local Christian college coral group.
In the midst of this hour of very nice music very well presented my son turned to me and said, “Daddy, they are singing bad songs.”
I said, “No they aren’t.”
He replied, “Yes, they are. They are singing Jesus dead. I don’t want to kill God.”
I replied, “Juanito, it is okay, God put himself in the ground, but he gets up again, that is what Easter is about.”
After about fifteen minutes Juan says, “So Jesus died, but he got back up.”
I said, “That is what Easter is about.”
Fifteen minutes later in the car on the way home my two year old says, “Daddy, Jesus died.”
I replied, “Yes.”
Jillian said, “And Jesus God got back up.”
I replied, “Yes”
She then said “Daddy, Bobe is died. She doesn’t have a house or eat or have a car. She is in the ground.”
I replied, “Yes, Bobe is dead.”
Jillian then said, “Will Jesus get her up, too?”
I replied, “Some day.”
Juan piped in, “Jesus will get Bobe up too.”
I replied, “We believe Jesus will get everyone up some day.”

And we were home.

I had a conversation when I was about ten years old with the then current pastor of the local Church of God of Prophecy of South Powell Wyoming.
He asked, “Don’t you believe in the resurrection?”
I said in all honesty, “Yes, I believe some day Jesus will come back and pull us all up out of the grave in whatever form and way he is going to do that (my brothers and i long speculated what was going to happen to cremated, organ transplants, etc.), but I also believe with just as much surety that in two thousand years there will be people here believing the same thing and saying ‘any moment’, just like we do.”

I still hold that pure dual surety in my heart. No wavering, no doubt, but not a great comfort to the feeble minded.

My children it is very apparent to me are in no way among that category.

I must be extra careful to fuel in them their love of learning, their inquisitive nature and their hope, but I must also be so very careful not to allow myself to somehow destroy their capacity for critical thought.

How does one combat zealousness?

How does one combat zealousness?
I have family members who are mentally mired in very negative renditions of American Pentecostalism and now a few have fallen into American Neo-Puritan groups. None of these groups can survive rational review from any credible historical source be it secular or Christian so why are they continuing to grow in membership and why do the members continue to push themselves farther into the muck the more ridiculously asinine and caustic the “doctrine” becomes? I am well aware of psychological explanations of learned helplessness and cognitive dissonance, but they just do not seem to go far enough to explain this particular form of zealous self debasement.

e.g. American Neo-Puritan groups

http://www.rbthieme.org/
http://www.joegriffin.org/
http://www.joegriffin.org/40procs/GraceDoctrineChurch40Procs.pdf
These folks claim to recognize no extra-Biblical experiences yet claim basic doctrines such as the Trinity, Creation, Biblical inerrancy, etc. all of which can only be drawn from biblical scripture if one weaves into their readings the writings and interpretations of historical characters within Christianity; none of whom is well represented prior to the second century AD.

I am oft met with resistance when I deem Thieme and his lot Neo–Puritans; yet, they say nothing that is short of regurgitated Puritan ‘Pentland Rebel’ doctrine.

e.g.

http://www.the-highway.com/Lordsprayer8_Traill.html
The Lord’s Prayer
SERMON VIII.
JOHN xvii. 24.
By: Robert Traill
Author:
Robert Traill (1642-1716): Friend of William Guthrie of Fenwick, attendant of James Guthrie of Stirling on the scaffold, son of the Greyfriars Church manse where the 1638 Covenant was signed, Scot ordained in England, exile in Holland, prisoner on the Bass Rock, scholar, preacher and saint — Robert Traill lived to span the ripest period of the Puritan age. Distinguished in the classes at Edinburgh University, Traill early felt the inner constraint to preach Christ. Too intimate an association with the younger John Welsh drew the swift displeasure of the civil arm upon him. Denounced as a ‘Pentland Rebel’ he fled to join the bright galaxy of British divines weathering the storm of Stuart Absolutism in the Low Countries (1667).
Traill’s literary output began there. As assistant to Nethenus, professor at Utrecht, he prepared Samuel Rutherford's Examination of Arminianism for the press. Back in London in 1692 he took up his pen, as Isaac Chancy (Owen’s successor) and the younger Thomas Goodwin were having to do, to defend the doctrine of Justification against the new Legalism. After serving Presbyterian charges in Kent and London he died at the age of 74.

Application excerpt:

The text we have before us, is about the beholding of Christ’s glory in heaven. I have been shewing you, that it is simply necessary to any right understanding of this great bliss, that a man do know, in his experience, somewhat of the beholding of Christ’s glory by faith in this life. Without this, no words that men can speak about this, can be understood by natural men 1 Cor. ii. 14. For the natural man receiveth not the things of the Spirit of God; for they are foolishness unto him: neither can he know them, for they are spiritually discerned. I may truly say, that no natural man doth, or can understand this verse. It is grievous and shameful, to see and read what blundering confused work many wise and learned men, but destitute of that mind and Spirit of Christ that led Paul in writing of it, make of this verse; when it is plain and bright, though deep, to every ordinary Christian. Now, the glory of Christ, and the beholding of it, are of the deepest of the deep things of God, ver. 10. How then can a natural man receive them, know them, or discern them? He is without that spiritual faculty by which only they can be rightly entertained. It is a dangerous and hurtful practice to the church of God, to the souls of men, and to the truths of God (and not a few are guilty of it, and many smart by it), for men to endeavour to bring down the deep mysteries of the gospel unto the sense and gust of a natural unrenewed man. It is sure, that they that teach, should teach plainly; and they that write, should make the vision plain, that he may run that readeth it, Hab. ii. 2. But they must still speak, or write, as the oracles of God, 1 Pet. iv. 11. and as stewards of the mysteries of God, 1 Cor. iv. 1. If, as it is undoubted, we cannot bring up the natural man’s understanding unto the deep things of God; we must not essay to bring down the depths of God unto their natural blindness. This were to degrade the things of the Spirit of God, and to delude the sinner. But let us study to declare God’s mind in his word, as plainly as we can, to natural men that hear us; and withal tell them, that the things themselves, of which we speak as plainly as we can, are beyond their reach; that they may know that the things of God are deep, and they themselves are blind, till the Spirit of Christ open the understanding, and open the scriptures unto them; as he did to his disciples, Luke xxiv. 32, 45.

Friday, March 23, 2007

New Tunnel

A mole digs through a field exploring everything from within the soil catching pray along the way and at surface entrances feeding its young crossing and recrossing its own tunnels and utilizing preexisting ones? If you are a Geek like me, you are a mole. Your field(s) is/are filled with Geek Tunnels that you often dig into sometimes you are so deep or away from the surface for so long the other animals actually worry as to your well being ... think “Wind in the Willows” meets the Borg … it isn't very creative, but it is my internal imagining of myself ... I wonder if that would make my totem a bionic mole?

Well after just three months, I am one week from ending one contract and starting a new one. The first change included a drop in commute from a 52 mile 1.5 hr run to a 25 mile 45 min run. The new gig is 1.6 miles from the house.
I do hope to make this a 3 to 5 year project. If all is as has been reported, I will be stepping back into the fast pace I am so used to, and also taking on management and mentoring responsibilities by title and job description not just as part of "all other tasks as assigned".

A lot of VB, VB.Net, ANSI SQL(MS T-SQL, Oracle PL\SQL) in client/server windows applications and web-enabled database application. I have 10 years in the field digging through the Geek Tunnels of Relational Database Management Systems (design, development, documentation, optimization, implementation, etc.), and building/generating/developing/debugging/optimizing the Applications and Reporting around them. I have just as many years in the field acting as a mentor and/or manager depending on the given job and an even more years experience in those two roles prior to my entering the technical field of database application development.

It will be a challenge to see if I can gradually lead the new troop towards C#, but until then I will have plenty to learn and do.

Wednesday, March 14, 2007

My Health Assessment

Waist-to-Hip Ratio
I measured 48" waist and 46" hips for a 1.04 Waist-to-Hip Ratio.
My weight is currently 257 lbs and hight 6'2"
From mybluehealth:

My BMI came in at 33.00
BMI Categories:
  • Underweight BMI <18.5
  • Overweight BMI 25-29.9
  • Normal weight BMI 18.5-24.9
  • Obese BMI 30 or greater



My Personal Health Assessment score came in above average for my peer group.
  • My score: 160
  • Average score: 142
  • My peer group: Males 30-39 years

Wednesday, March 07, 2007

C# SQL RDMS App Dev

There is always so much to review ... what is really going to be useful in developing effective efficient products for your clients?