Tips to manage your stress Wednesday, Jul 23 2014 

When you’re feeling anxious or stressed, these strategies will help you cope:

  • Take a time-out. Practice yoga, listen to music, meditate, get a massage, or learn relaxation techniques. Stepping back from the problem helps clear your head.
  • Eat well-balanced meals. Do not skip any meals. Do keep healthful, energy-boosting snacks on hand.
  • Limit alcohol and caffeine, which can aggravate anxiety and trigger panic attacks.
  • Get enough sleep. When stressed, your body needs additional sleep and rest.
  • Exercise daily to help you feel good and maintain your health. Check out the fitness tips below.
  • Take deep breaths. Inhale and exhale slowly.
  • Count to 10 slowly. Repeat, and count to 20 if necessary.
  • Do your best. Instead of aiming for perfection, which isn’t possible, be proud of however close you get.
  • Accept that you cannot control everything. Put your stress in perspective: Is it really as bad as you think?
  • Welcome humor. A good laugh goes a long way.
  • Maintain a positive attitude. Make an effort to replace negative thoughts with positive ones.
  • Get involved. Volunteer or find another way to be active in your community, which creates a support network and gives you a break from everyday stress.
  • Learn what triggers your anxiety. Is it work, family, school, or something else you can identify? Write in a journal when you’re feeling stressed or anxious, and look for a pattern.
  • Talk to someone. Tell friends and family you’re feeling overwhelmed, and let them know how they can help you. Talk to a physician or therapist for professional help.

Receive Parameter in C# Thursday, Aug 2 2012 

In real software industry, sometimes we need to cooperate with another vendor to improve our product. In this case, I found a case that I need to send a parameter to my vendor application. My application is built under VB .net, while my vendor application is built under C# .Net. So what I did was.

In my VB .Net application, I put below code to call my vendor application. I put the executable file location under settings.

argument = “Servername|DBName|UserID|Password”

System.Diagnostics.Process.Start(My.Settings.exeLoc, argument.Trim())

Then in my vendor application, they need to put this code in form_load event and need to create a method to parse parameter based on delimitier “|” (let’s say if you’d like to send more then 1 parameter).

private void Form1_Load(object sender, EventArgs e)
   string[] args = Environment.GetCommandLineArgs();
   string param=””;

   // The first commandline argument is always the executable path itself.
   if (args.Length > 1)

     for (int i = 1; i < args.Length;i++ )
         param += args[i];


Have a nice try.

Modify Styles in Office 2007 Sunday, Apr 19 2009 

I was really unfamiliar with office 2007 because some of menu look disappear. One of it is how to modify styles, finally I’ve found it by pressing Ctrl+Shift+S 😉

Compare Date in Query method (AX 2009) Tuesday, Mar 17 2009 

Quite stuck in finding how to compare date in query method, but finally I found it. I need to convert it into strXpp so that the date convertion will convert correctly. Here is the example code:

queryRange = SysQuery::findOrCreateRange(qbsInventBatch, fieldnum(InventBatch,expDate));
queryRange.value(strfmt(‘(expDate > %1)’, Date2StrXpp(today())));


My Smart Speed Test Saturday, Feb 7 2009 

huuum, lama mau test speed dari Smart EVDO saya, di rumah saya (karang tengah), saya dapat 4 sinyal EVDO yang artinya full sinyal 🙂 dan Alhamdulillah speed yang saya dapet tinggi juga 🙂

Get Standard Information in AX Monday, Jan 19 2009 

What I mean by standard function is, how to get logon user Id, default date or default datetime. I found it little bit hard, so that I’ll post it to make me easier to search

/*get the default user Id*/


/*get the default date */


/*get the default date time*/

utcdatetime utc4, utcNow;


    utc4 = DateTimeUtil::utcNow();

    utcNow = DateTimeUtil ::applyTimeZoneOffset

        ( utc4,



Next Page »