0 comments Thursday, December 28, 2006

Hi All,
How are you doing?

I hope everything good.

I would like to say Happy Eid and Happy New Year for all of you and I wish the next year to be good and less war.

Have fun
Bye

0 comments Thursday, December 14, 2006

Hi folks,

I hope everything good.



I would like to write about how to build an ASP.Net Mobile Application.



First of all, tools you need:


  1. Microsoft Visual Studio 2005.

  2. Pocket PC Emulator (Check on It while you install MVS).

  3. ActiveSync 4.2


Now, after installation:


  1. Open MVS.

  2. File -> New Web Site-> Empty Web Site

  3. Choose the location and choose your programming language and then OK.

  4. Create new Mobile Web Page:


    1. File -> New File -> Mobile Web Form

    2. Name : FirstPage.aspx

    3. Okay


  1. Now you notice that there is a new Toolbox called “Mobile Web Forms”.

  2. Click and Drag a Label control to the Form in the Design Mode.




  1. Now write “” in Text property.

  2. Save all.

  3. And Right-Click on the page and select “View in Browser”.


You have to see the page in IE.




Now, how can I run and test the page on Pocket PC Emulator?


Actually, this is easy:


  1. Tools -> Microsoft Device Emulator.


Note: if you don’t have it maybe you don’t have a combatable framework. But if you install MVS and install this tool with it you have to find it under X:Program FilesMicrosoft Device Emulator.


  1. Click on the emulator you would like to run and choose Connect.

  2. After a green arrow appear chose cradle.



  1. Notice that now there are some “cable” picture this is mean that the device is connected but not with ActiveSync and if you try to test a page you will get error.



  1. To solve this problem, you have to click on ActiveSync and choose Connection Settings.



  1. Now in the connection Settings dialog make sure that you enable connection to DMA and the choose that this computer is connected to “The Internet”

  2. Click on Connect.



  1. You can see now there is a connection between ActiveSync and PPC Emulator.



  1. Now you have to open PPC IE.

  2. And write the page URL with the following format


http://ComputerName_OR_IP:PortNumber/TheRestOfUR

  1. And press Go




Happy programming.



0 comments Wednesday, December 13, 2006

Hi,

This is a picture form my friends and me at the end of Sham 2005 exhibition. We called our team group "Life Solution".

Bye.

0 comments Monday, December 11, 2006

Great utility, more useful than Task Manager and easy going. (read more)

Have fun

0 comments Sunday, December 10, 2006

Hi folks

I hope you doing fine.

Did you use Firefox? Did you love it? If you don’t use it give it a try. You will lose nothing. I used Firefox from version 1.5 and I want to tell you something it is better now with the new version 2.0. It’s awesome. I used also Firefox Portable. It’s the best I feel I’m at home when browsing net from university.

For those how like Firefox Protection Splash and would like to change Firefox Portable Splash you can need these tools:

  1. NSIS Compiler.
  2. FindProc plug-in.
  3. NewAdvSplash plug-in.
  4. Registry plug-in for Thunderbird Portable Splash.
  5. After install those tools go to X:\ FirefoxPortable\Other\FirefoxPortableSource and paste the new *.jpg picture you like to use but rename it to FirefoxPortable.jpg.
  6. Now right click on FirefoxPortable.nsis and chose “Compile NSIS Script” from the sup-menu.
  7. Copy FirefoxPortable.exe to X:\ FirefoxPortable\
  8. Have fun.

By the way NSIS plug-in goes in X:\Program Files\NSIS\Plugins after unzip.

See yea

0 comments Tuesday, December 5, 2006

Hi

Today I tried to login to Sql Server 2005 using Windows Authentication Method and I couldn't do it but a little Google and you will get a lot of posts about this issue. You can go throw this article to solve this problem. I think Sql Server doesn't enable his service in Windows XP SP2 Firewall.

Have fun
Bye

0 comments Monday, December 4, 2006

Hi folks

I was checking an old mails and I saw one that's good :)

Father: I want you to marry a girl of my choice
Son :
"I will choose my own bride!"
Father:
"But the girl is Bill Gates's daughter."
Son :
"Well, in that case...ok"

Next, father approaches Bill Gates.

Father: "I have a husband for your

daughter."
Bill Gates:
"But my daughter is too young to marry!"
Father:
"But this young man is a vice-president of the World Bank."
Bill Gates:
"Ah, in that case...ok"

Finally Father goes to see the president of the World Bank.

Father: "I have a young man to be recommended as a vice-president."
President:
"But I already have more vice- presidents than I need!"
Father:
"But this young man is Bill Gates's son-in-law."
President:
"Ah, in that case...ok"

This is how business is done !!


Have fun