31 August 2010

Exchange Activesync support in Hotmail

Microsoft has made Exchange Activesync support in Hotmail official, meaning according to Microsoft, 300 million mobile devices will be able to take advantage of direct push support from the web mail service.

The settings to enable to service on compatible devices (which does not fully include Android devices yet) are:

Server / URL
m.hotmail.com

Username
Enter full email address, for example: someone@example.com

Domain
Leave this blank

SSL
Enable this

Certificate
Accept the SSL certificate when prompted

Mail, Contacts, Calendar, Tasks
All can be enabled (see the Solution Center article for exceptions on some phones)

Windows Mobile users who do not have an existing Exchange Activesync account will not be able to benefit from a free hosted exchange solution without using Microsoft’s Windows Live client, while of course Windows Phone 7 users will be able to use multiple Exchange accounts directly

27 August 2010

ACC97: Error: "There Isn't Enough Disk Space or Memory"

Method 1: Set the registry key to MaxLocksPerFile to increase the maximum number of locks per file

1. Click Start, and then click Run.
2. Type regedit, and then click OK.
3. Use the appropriate method:
* In Microsoft Access 2000, in Microsoft Access 2002, and in Microsoft Office Access 2003 that are running on a 32-bit Windows operating system, use Registry Editor to locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\Jet 4.0

In Microsoft Access 2000, in Microsoft Access 2002, and in Microsoft Office Access 2003 that are running on a 64-bit Windows operating system, use Registry Editor to locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Jet\4.0\Engines\Jet 4.0
* In Microsoft Office Access 2007 that is running on a 32-bit Windows operating system, use Registry Editor to locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\Access Connectivity Engine\Engines\ACE

In Microsoft Office Access 2007 that is running on a 64-bit Windows operating system, use Registry Editor to locate the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\12.0\Access Connectivity Engine\Engines\ACE
4. In the right pane of Registry Editor, double click MaxLocksPerFile.
5. On the Edit DWORD Value dialog box, click Decimal.
6. Modify the value of the Value data box as required, and then click OK.

Note This method changes the Windows registry setting for all applications that use the Microsoft Jet database engine version 4.0.

26 August 2010

Enable only Wifi Internet on HTC Windows Mobile

start->settings->connections->connections

Mobtel Telenor Internet
My Work Network

Go to advanced->select My Wok Network [the first button over composition rules]

Here select "work" for everything.

Now, without 3G, the phone connects to internet only if you have an active wifi, otherways doesn't connect.

30 July 2010

Delphi + PostgreSQL + Unicode

If Delphi Project raise exception class EDatabaseError with message '... Type mismatch for field 'NAME', expecting: String actual: WideString'.

Using the Devart dbExpress driver (4.40.0.14) the following params must be set on TSQLConnection:

UseUnicode=True
Charset=utf8


this way stringfields get mapped into TWideString field, so the original issue has been solved.

http://www.experts-exchange.com/Programming/Editors_IDEs/Delphi/Q_24037993.html

28 July 2010

How to flash HTC Touch Pro from memory card

(This is for GSM):
(http://forum.xda-developers.com/showthread.php?t=448008)
Flashing via MicroSD Card
1. Make sure your microSD is Formatted to fat32 using a PC (you dont have to delete all files but it is safer if you do)
2. Download your prefered Radio from the Raphael Rom Develpoment Page and unzip/unrar it to your computer
3. Goto the Radios Folder and rename the .nbh file to RAPHIMG.nbh
4. Copy the RAPHIMG.nbh file to the root of your microSD Card
5. Plug the microSD Card into the phone
6. Press and hold the volume down button, then press the reset button with the stylus. Release the volume down button when bootloader tricolour screen appears
7. Follow the onscreen instructions to start flashing
8. After the flash finishes press the reset button with the stylus to reset the device

6. JOB DONE. Well Done YOU DID IT!!

20 July 2010

Fix Windows Mobile Device Center on Windows 7 64bit

The driver installation may not have completed successfully. If you think this may be the case, follow these steps:
1. Keep your device connected
2. From the desktop, go to Start > Start Search
3. Enter "Device Manager" or "devmgmt.msc" to launch the Device Manager window
4. Look under the "Network adapters" node for "Microsoft Windows Mobile Remote Adapter". If this is not present, skip to step 5. Otherwise, right-click "Microsoft Windows Mobile Remote Adapter" and choose to "Uninstall"
5. Look under the "Mobile Devices" node for "Microsoft USB Sync". If this is not present, skip to step 6. Otherwise, right-click "Microsoft USB Sync" and choose to "Uninstall"
6. Disconnect and reconnect your device. Your device driver will re-install and Windows Mobile Device Center will launch.
Additional Information: http://www.microsoft.com/windowsmobile/en-us/help/synchronize/device-center-troubleshooting.mspx

28 June 2010

Return of the Delphi - RAD Studio Roadmap 2010

Embarcadero has published the new RAD Studio Roadmap. This Roadmap includes information on the upcoming :

- Delphi Fulcrum, supporting both Windows and Mac OS X application development,
- Delphi Wheelhouse (adding Linux support),
- the 64-bits Compiler Preview (early 2011),
- Delphi Commodore (the full 64-bits version) and
- project Chromium.

Source:
http://edn.embarcadero.com/article/39934

So, Delphi is still very alive and he has bright future :-)

09 June 2010

Ubuntu - Enable root account

Issue

Under Ubuntu the access to root account is only blocked and only the sudo/gksu commands allow the use of features as superuser.
Solution

To enable the root account and access directly via the console in root mode, you must type the command:

$ sudo passwd root


This command allows you to set up the password modefor the root user which will be activate for the console sessions only (no GUI). Once the password is initialized, it will be possible to open a console session with the user root.

To enable access to the graphical user root, go to System/Administration/Login, click the Security tab, then tick the box allow connection of the local System Administrator.
Disconnect and reconnect with the root account.

04 June 2010

How I became a software developer

(Original document translated from Google Translate service)

Today I stumbled across one of my old document, which is made at 2001 year. It's nice to remember the beginnings of programming, and save it from oblivion in this blog ...

"Therefore, development of application software, I started my first project for NET 1.0 Gallery Gallery Serbian Matica. That May 1995. The MS Windows was in the early stages, the version 3.x. Developer tools are just be in sight, and the only current tools for visual programming, MS Visual Basic 3, is suggested as a natural environment. Discuss the project in principle: MS Access basic foundation + MS Visual Basic user interface.

Unfortunately, during the beta test installation, the user began to appear progressive performance problems in database, so I have almost completed the project, switched to MS FoxPro 2.6 for Windows. The main reason was, then superniorni Rushmore principle of processing base, which is impressive given the speed performance of large amounts of data.

Just going to be the main reason for the continued development of the next Windows 21 applications, the same tool. Although MS FoxPro four 16-bit Windows development platform, with some elements of visual programming, the appearance of 32-bit MS Windows 95, software developed in it is still work consistently.

Well aware of the base set of the project, as a prerequisite for successful application, ready to meet the specific requirements of one or more users, through endless changes of the same, we've been through MS FoxPro to support fully, but with a lack of - the data dictionary as the central place of the application, because What is MS FoxPro and did not consider the relational database. The need for standardization of software, through an executable code on all installations stressed the need for restructuring projects.

Then is born the concept NETIS (NET Information System - oa), the internal complement Fox's environment, which is concerned with referential integrity of all podaka, regardless of application or user. This setting and return to the DOS platform, through MS FoxPro 2.6 for DOS, where the development of applications has continued to this important reinforcement. I programmed in this phase, just 4 DOS applications, mostly from aversion to outdated operating system.

Although at the time, MS-DOS platform was largely downward path, before coming technologies MS Windows (9x, NT - oa.a), in our business environment, many users are shown as jefinije information solution. Therefore, the sector continued to develop parallel applications to the MS-DOS and MS Windows, identical versions through MS FoxPro a 2.6. It should be noted that the migration project from one platform to another was completely transparent.

However, at one point, the appearance of MS Windows NT platform, is starting to cause some functional problems in inconsistent work MS FoxPro 2.x applications (distorted preview data and the like. - Oa). Aware of limitations of 16-bit development tools, we set out to investigate the current offer RAD software. Microsoft has released Visual FoxPro 3, but the expected continuation of the work involved in it reprojektovanje base basis, redesigned user interface, prekodiranje application, in one word - reprogramming the entire project. MS FoxPro has become the object-oriented relational database, but still as translator pseudo code.

When we saw that we will move to 32-bit development platform, the cost of re-setting concepts of programming, we decided to use Borland Delphi, then and now, the undisputed Windows compiler, object-oriented RAD (Rapid Application Development - oa), with built-in mechanisms relational database (Paradox look through records - oa). Openness of its architecture to third-party data types (dBase, FoxPro, Access, Informix, SQL Server, Oracle, etc. - oa), through the ODBC (Open DataBase Conect - OA) or ADO (Advanced Data Objects - oa) concept, was the only reason for to convince us the development environment. We have not repented, because it takes programming to date.

At that time I coded 14 Client / Server applications, traditional accounting packages (Personnel, Finance and so on. - Oa), which krojenih to specific customer requirements (Plan, Action, Information, and the like. - Oa). Unlimited programming in Borland Delphi-ju, in terms of choice of many different types of Windows applications, basic or not, only strengthened his position as a parameter of quality tooling, primarily for developers, and then for the end user.

During this period raises the NETIS 2 concept. It contained the full use of the principles of object-oriented programming through class inheritance and instance. Molds are born blank application, ready for the concrete faster in real project. This review NETIS standards, the emphasis is moved from the core dictionary data base and the user interface and the class form. We are also with the concept of security relations within the database (NETIS) move to a faster generation of end-user interface (NETIS2) of the same.

It should be noted, and more current trend in working with databases. The previous record formats (FoxPro, Paradox, Access, etc.. - Oa) have been shown to be local variations, or for relatively small networks (up to 5 computers - oa). The real Client / Server concept, the emergence of strong hardware configuration (Pentium, etc.. - Oa) and stable operating system (Microsoft Windows 2000, XP - oa) performance of large databases, such as MS SQL Server, become satisfactory for quality use regardless of the number of clients in the network. In this segment, and began development of a new generation NETIS, under Specification: MS SQL Server - Base base + Borland Delphi - user interface. Development of this platform is applicable in progress, through the set, but not completed projects accounting standard applications (financial, Goods, etc.. - Oa).

The issue of incomplete applications treated as the inevitable nature of the work I performed on this job. Simply put, there are always projects that are in its infancy (eg NETIS Staff XP - oa), applications whose development is well underway (eg NETIS Financial Accounting 2000 - OA), installations that are in the full implementation of the frequency user requirements (eg . NETIS Ramp 2001 - OA). More and more the impression that the work on a project finished when the user ceases to occur.

The advent of the Internet, the sector expanded its work to create a web site, and through those of static HTML (umetnost.co.yu - oa) with JavaScript and dynamic gain (pkv.co.yu - oa). In that sense, and use two tools: MS FrontPage and Macromedia UltraDev Dreamveawer (dictated by the Internet provider - oa). In this field, I realized 2 Internet applications, according to these structures. This segment of activities, programming moves to the design, a creative step forward in previous work. These applications are easy to maintain, and rarely lead to problems in their operation, which is why this field of application activity as one of the strategic direction ..."

Today I work in the Chamber of Commerce of Vojvodina. I still associate with the Delphi programming tool, you need to create a classic MS Windows desktop application.

I discovered the world of open source, Linux, php CMS system which makes extensive use of maintaining a corporate portal at www.pkv.rs. I also addressed in the Microsoft side of the same CMS stories, through the MS SharePoint Portal Server for our Intranet needs.

In my free programming time fascinated me Java Micro Edition, MS Visual Studio for Windows Phone, as well as fresh new Android platform, and everything related to the SmartPhone concept ...

20 May 2010

MS HotFix for problem with 1 year recurrences synchronization (Pocket Outlook - ActiveSync - MS Outlook 2007)

I experiencing problem with Pocket Outlook and MS Outlook 2007 synchronization. Problem is that appointments which has recurrence set to 1 year like birthdays, anniversaries ... are correctly transferred from PC -> PDA (when edited by MS Outlook 2007), but when I made some modification to such appointments in PDA with Pocket Outlook (for example changing reminder time, name, ...) then after next synchronization when changes from PDA -> PC were sent the 1 year recurrence is changed to 12 years!!! And the worst and most frustrating thing is that when I synchronizing between two PCs then all appointments with such settings are changed from 1 year to 12 years!!!

Here is a hotfix that is supposed to fix the 12 year problem that has been driving me crazy:

http://support.microsoft.com/?kbid=981048

19 May 2010

HTC Touch Pro TAEL ROM My Location fix

In some cases, brilliant TAEL ROM don't update weather for My Location...

It did not work at all regardless of the many ROMs tried so I figured it must be my phone company blocking the Weather updating...... After much trial and error I discovered my phone company configuration through "Connection Setup" is putting in a proxy server on the internet connection settings... By simply unticking the proxy it works now AWESOME!!.... Everything else seems fine, and the proxy dosent seen to be needed...

23 September 2009

Ubuntu Grub - MS Windows 7 reboot loop

Vista and Win 7 should use rootnoverify and no makeactive lines. like:

title Windows 7 Ultimate, chainloader (on /dev/sda1)
rootnoverify (hd0,0)
savedefault
chainloader +1

If you installed Win7 to an empty drive it creates a separate 100mb boot partition. If the drive is not empty it includes the boot in its partition.

On Windows XP either rootnoverify without the makeactive or root (hd0,0) with the makeactive is correct.
oldfred is offline Reply With Quote

05 February 2009

Delphi 2009 Distiller

To avoid Delphi 2009 registration, just start Distiller before Delphi, and press Ctrl+Alt+L on Tweaks Tab, to provide extra Tab Secret Stuff, that include this checkmark.

23 January 2009

Nokia E51 firmware 300.34.56 changelog


Share online
  • Users can upload and share images to Nokia's Ovi or 3rd party services. Internet radio
  • User can stream Internet radio channels using packet data.
  • Mobile search enables user to search on the Internet using popular search engines such as Google or Yahoo. Replaces in- device search. User can also search in device for own content. Improved end user interface. Nokia email service

Bluetooth

  • BMW and Audi BT carkit support added.

Other changes

  • White theme "Dots white" added

Updates, changes and improvements:

  • Setup Wizard
  • Updated Email set-up Wizard. The Wizard checks the availability of Nokia email service in the country in question. The service is visible only in the countries where service available, otherwise hidden.

Maps

  • Update to 2.0 version with better user interface and functionality.
  • Mail for exchange
  • Baseline update to version 2.7.22

VOIP

  • Baseline Update
  • Stability fixes
  • SIP: Usability correction

Usability improvements

  • Bluetooth
  • Driver security update
  • Improved interoperability with 3rd party Bluetooth accessories
  • Stability improvement with headset
  • End user experience improvements
  • Nokia BH-903 correction

Security corrections

  • Messaging
  • MMS stability fix

SMS correction

  • Calendar / PIM

Contacts correction

  • User experience improvement
  • Calendar: printing correction
  • Office tools
  • Team Suite: Chinese PRC layout fix
  • Quick Office corrections
  • Backup & restore
  • Metadata restoration correction
  • Performance
  • Audio performance improvement
  • 3rd party application stability corrections
  • Telephony
  • Better conference call performance.
  • Nokia BH-604 usability correction

A2DP corrections

  • Nokia CK-20W correction
  • Spool icon correction
  • Voice call stability improvement
  • WLAN
  • WLAN usability correction
  • WLAN-SIM interoperability improvement

Stability fixes

  • Client that enables the use of Nokia Email service (push email) in the countries where it is available.

05 January 2009

Debian : OpenOffice.org 3 installation

Successfully installed oo.org by apt pinning. Include experimental repository in /etc/apt/sources as:

#Experimental
deb http://ftp.us.debian.org/debian/ experimental main non-free contrib
deb-src http://ftp.us.debian.org/debian/ experimental main non-free contrib

Do an aptitude update and then:

aptitude install openoffice.org/experimental This worked like a charm.

Debian : Play WMA (win32codecs)

To play Windows Media Audio just :

sudo apt-get install w32codecs

after adding this in your sources.list :

deb ftp://ftp.debian-multimedia.org sid main

Debian : How to build local APT repositories

1) Create folders for the package files you plan to keep in your repository. Here is an example: in your home folder, create a new folder called repository in which you will keep all your downloaded packages. If you plan to burn the package files onto a CD, I suggest you create separate folders for each disk. The naming is up to you – disk_1, disk_2, etc (I’ll assume this naming convention throughout the rest of the tutorial). This is just to ensure that you use the next folder once your cache reaches the size of a CD (usually 700MB). If you are using a local hard drive or a DVD, you obviously have higher limits to keep in mind. If you do not plan to create a CD/DVD, you may simply dump all the files in the repository folder.

2) The next step is to copy all your deb files (those files that end with .deb) to the repository folder(s). Open Nautilus, navigate to /var/cache/apt/archives and copy all the deb files to the appropriate folder(s). For instance, /home//repository/disk_1 - keep an eye on the size of the folders. To do it in the terminal:

cp /var/cache/apt/archives/*.deb ~/repository/disk_1

If you have many files, it may take quite a while so be patient.

3) Change into your repository folder:

cd ~/repository/disk_1

4) Now do the following command to create the Packages.gz file that is needed to for Synaptic to “see” your repository:

sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz

I suggest you copy and paste this to avoid any typos.

  • Please note that every time you add any more .deb files to this folder, you have to create a new Packages.gz file using the above command before the new file(s) will show up in Synaptic (or Aptitude).
  • Be sure to install the build-essential package (sudo aptitude install build-essential) before running the above command.

There are several ways of using your newly created repository.

I) Keeping the files on a local hard disk…

Edit your /etc/apt/sources.list file like so:

gksudo gedit /etc/apt/sources.list

And insert this on a new line (preferably the first):

deb file:/home/username/repository/disk_1/ /

Remember to replace username with your real username.

Reload your package index like this:

sudo aptitude update

II) Using a CD/DVD as a repository:

a) Burn the repository folder onto a CD/DVD

b) With the disc loaded in your drive, fire up Synaptic and click through the menus like this:

Edit –> Add CD Rom.

c) You will be asked to type in a description for the disc; type in anything, for instance: Offline Repository Disk 1.

d) Click Ok.

Summary
Go to /var/cache/apt/archives and copy your debian packages to a folder of your choice, for example, /home//repository/

  • Change into the repository directory

cd /home/username/repository

  • And generate a Packages.gz file like this:

sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz

Make sure build-essential is installed (sudo aptitude install build-essential) before you run the above command.

  • Add the following line to your sources.list file (/etc/apt/sources.list)

deb file:/home/username/repository/ /

Remember to replace username with your real username

  • Reload your package index like this:

sudo apt-get update

That’s it… sit back, relax and enjoy the ride.

I found the following tips for using Synaptic very useful:

  • You might want to check out the online sources.list generator. It will let you select various repositories for your sources.list. Once you get the output, simply replace the contents of your /etc/apt/sources.list file with it.
  • Now have a loom at the Synaptic settings (Settings –> Repositories –> Settings).
  • I suggest you decide if you always want to get the highest/latest version or if you want to stick to the feisty version.
  • Also, ensure that you have checked the option that allows downloaded packages to be kept in the cache, otherwise you will just have to download them again if you accidentally do an apt-get autoclean or something similar. Have fun. :)

31 December 2008

30 December 2008

Debian 4 - Dynamic MMap ran out of room SOLVED

Add the following line to either /etc/apt/apt.conf or /etc/apt/apt.conf.d/70debconf

APT::Cache-Limit "50000000";