April 30, 2011

Chaneg Googlemail to Gmail

- How to migrate from Googlemail to Gmail?
- How to Convert Your @GoogleMail to @Gmail?

If did you have a google mail account like user@googlemail.com and you wanna change it to @gmail.com , it' easy if you follow me ;-)

1- Go to you Google Mail with user@googlemail.com
2- Go to Mail Setting (If you can't find the Mail Setting you can choose Google Account Setting and after that select the setting link in front of Google Mail)

3- Select Account and Important tab
4- Find the Switch to @gmail.com and click on it

5- Follow links and enjoy :-D

April 26, 2011

Hang and Freeze on Open/Save dialog in Windows 7

- When i clicked the button which will execute the Open Dialog or Save Dialog then hangs ...
- Whenever I request a "File|Open" or "File|Save" from any application, the Open or Save dialog box that opens freezes and hangs the ...
- IE8 will also hang on open and ...
- Whenever I try to use "Save as" dialog box and select an option, the window simply stops responding and ...
- "Save As" or "Open" dialog box hangs on windows 7
- "File Open" or "Save As" windows dialog boxes take too long to open

At this moment I do NOT think that comes from Antivirus or software development companies bug. It's a Aero Problem i think so, but how cares ..., Please follow of following instruction for pass this problem till the Microsoft wake-up for this ;-)

0) Delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32
- Open REGEDIT (WinKey + R and type regedit and then press enter)
- Go to Path and delete folder ComDlg32

1) You can change the compatibility of each application that you need to solve.
- Right-Click on Application Icon (or EXE file which related to that)
- Select Properties
- Select Compatibility Tab and Change the Compatibility Mode to Widows XP or another one

2) or Disable Aero Theme
- Open Appearance Setting and select a classic or standard theme.

3) or Scan
- Go to RUN (WinKey + R) and type run the sfc /scannow

April 24, 2011

ActionScript3.0 problem with TLF text

- All method which are related to string not at working after first object convert from Classic Text to TLF Text
- dispatchEvent not working with TLF text
- all movies not load after convert Text to TLF

The solution is really simple and worked
- Sleect FLA file from Project (or load it)
- Select File > Publish Settings... from top menu of press Ctrl + Shift + F12
- Select Flash Tab

- Press on Settings... botton in front of Script section
- Select Library path Tab from new opened dialoge
- Find Default Linkage combo box
- Change the value to Merge into code

- Press OK
- Press Publish and OK
- Enjoy :D

April 14, 2011

Run JSP pages on windows

- How to run a web server for jsp pages on windows
- How to make a windows to a web host for JSP pages.

1- JVM: You must have a JVM. You can check default folder C:\Program Files\Java\ for find a jdk1.5.0_06 or jdk1.6.0_10 or any version of SUN’s JDK
2- Tomcat: You need to have Tomcat and you can check the default folder C:\Program Files\Apache Software Foundation\ for find a Tomcat 5.5 or Tomcat 7.0. Choose exe instead of zip file from core section in Tomcat download page. (I choose 32-bit/64-bit Windows Service Installer from core section and select FULL installation option in install process). After install you can see the something in http://localhost:8080/ ;-)
3- RUN: Goto C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps and make a folder and put your JSP files here ;-)

JVM: http://java.sun.com/javase/downloads/index.jsp
TOMCAT: http://tomcat.apache.org/download-70.cgi

April 08, 2011

Authorization: Cannot verify access to path

Authorization Cannot verify access to path

Error Description:
The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that \$ has Read access to the physical path. Then test these settings again.

1- Open IIS 7.0
2- Select Default Web Site and Right-Click on it
3- Select Add Application... or Add Virtual Directory...
4- Select Contact as..
5- Change Path credentials: from Application user (pass-through authentication) to Specific user:
6- Add a Admin User with password like COMPUETRNAME\Administrator User

April 02, 2011

New Line Problem in JSON

- I have problem when retrieving JSON formatted text from multiline textbox.
- I have HANG UP problem when call a method with a JSON text with new line.
- I've generated some JSON from a textbox and i have error when the user press enter between text

OK, the solution is so simple, you must just replace the newline characters with a another valid character, yes, it's works.
str = str.replace("\n", "\\n");
str = str.replace("\n", "");
but it's works just for change first newline and for change all new line must be follow of /TEXT/g regular expression and enjoy ;-)
str = str.replace(/\n/g, "\\n");
str = str.replace(/\n/g, "");

[1] RegExp Object