25 December 2010

Lazarus, PostgreSQL, Fortes report - Bytea String BLOB fields

To save some image into dbimage control on a form :

procedure T_form._dbimageDblClick(Sender: TObject);
begin
if _opendialog.Execute then
begin
_db_grid.DataSource.DataSet.Edit;
_dbimage.Picture.LoadFromFile(_opendialog.FileName) ;
end;
end;

To print those fields in Fortes report, use dbimage >

procedure T_report._rlimageBeforePrint(Sender: TObject; var PrintIt: boolean);
var
st : Tstream;
s : string;
gc : TGraphicClass;
AGraphic : TGraphic;

begin
gc := nil;
AGraphic := nil;

st := _datamodule._table.CreateBlobStream(_datamodule._table_image_field,bmRead);
s := st.ReadAnsiString;

try
gc := GetGraphicClassForFileExtension(s);
if assigned(gc) then // gc is never assigned
begin
AGraphic := gc.Create; // never executed
AGraphic.LoadFromStream(st); // never executed
_rlimage.Picture.Assign(AGraphic); // never executed
end;
finally
if assigned(AGraphic) then
AGraphic.Free;
st.Free;
end
end;

I spend whole day just to develop those code ...

09 November 2010

Fedora pgAdmin3

If you get error while loading shared libraries: libssl.so.0.9.8 in fedora while start pgadmin3

you have to make symlinks

sudo ln -s /lib/libssl.so.0.9.8b /lib/libssl.so.0.9.8
sudo ln -s /lib/libcrypto.so.0.9.8b /lib/libcrypto.so.0.9.8

31 October 2010

Dynamic libraries can be found: libpq.so.4, libpq.so

I'm investigating the use of lazarus/postgresql for a linux desktop application.

Fresh Linux installation produce this error, when starting application

Sender=Exception
Exception=None of the dynamic libraries can be found: libpq.so.4, libpq.so

Fix is

ln -s /usr/lib/libpq.so.5 /usr/lib/libpq.so

18 October 2010

Lazarus Report Preview

This is a main logic of sample code to produce Preview of LazReport :

procedure T_f_main._ButtonClick(Sender: TObject);
begin
_frReport.LoadFromFile('_izvestaj.lrf');
_frReport.ShowReport;
end;

Lazarus ZeosDBO Stored Procedure Call for PostgreSQL functions

This is main logic in some Lazarus database form, powered by ZeosDBO, to call stored procedure (postgresql function), who is placed in ZSQLReadOnly SQL property, like

SELECT * FROM Name_Of_Function()

Then In ZTable BeforePost event, you reopen that ZSQL to retrieve default value of primary key, like this code :

procedure T_f_main._ZTableBeforePost(DataSet: TDataSet);
begin
if _DataSource.State in [dsInsert] then
with _ZSQL_readonly_procedure do
begin
Open ;
_ZTableID.Value := Fields[0].asInteger;
Close ;
end;
end;

16 October 2010

postgresql on OpenSuse default login error (solved)

On terminal test : psql -h 127.0.0.1 -p 5432 postgres postgres

If you receive error:
psql: FATAL: Ident authentication failed for user "postgres"

Edit /var/lib/pgsql/data/pg_hba.conf, and write

trust

instead of "ident"

then reload PostgreSQL

As root: service postgresql reload
or as postgres user: pg_ctl reload

Ownership of pg_hba.conf has nothing to do with the authentication.

14 October 2010

Is Lazarus ready for writing commercial applications ?


(this is one software developer experience from Blaise Pascal Newsletter , that proves that Delphi multiplatform magic is possible, but in Open Source world through Lazarus project, so I simply must share it on my blog...)

"This article illustrates the enormous progress Lazarus has made because of the dedicated work of the core developer team: it shows Nowadays Lazarus is in many ways on a par with Delphi. In several key areas it is way ahead of Delphi (64 bit compiled executables, multi-platform and multi-OS, allows development on mobile and embedded systems).

Of course it is not the same as Delphi, but very cheap - see the price of the Lazarus USB stick in the Advertisement. So affordable for anyone and you get started immediately with no installation required. You can create any application you ever wanted and the number of components available is grows steadily. So the answer is YES. Perfect for commercial applications!

I started my job in 2001 at a Croatian company called Holobit...

At that time Holobit was a pretty small company with a few dozen customers. My primary task was to make the company's current C++ business applications run on Linux and Windows by using Delphi and Kylix and Borland's CLX technology. After years of C/C++ coding on linux OOP looked very simple and well organized. Two months later I concluded that Borland had great products, and the coding time is much shorter than it was with C/C++ (gtk+,qt) using vi editor. Anyway, within 3 months our business applications were converted to CLX and the company started selling for Linux & Win32. All was done with Kylix 2 and Delphi 6 (later upgraded to K3 & D7).

Creating native Linux apps was a good decision, so the number of customers started growing rapidly. Our customers were happy with the ability to choose between Linux and Windows client apps for dekstop PC’s, because it saves some money and creates a better and more secure environment. The second conversion issue that looked rather complicated - at that time - were databases. When I started to convert our applications, all of them used Foxpro, and I was very disapointed with it, because I already used Postgresql on Linux. So your guess that we moved all of our applications to Postgresql is quite correct.

At that time I didn't know third party components like Zeos etc..., so I wrote my own Postgresql driver and used it for several years. Later when I found Zeos - a nice surprise – I immediately started to use that. So it went on until 2004, there were rumors that Kylix was Exit, no news from Borland – just silence ... Yes it was Exited: shame on you Borland, not because you put Kylix into grave, but because you cheated your customers. For years, then, we were fighting with Borland products. (In the meantime Kylix could not run on any distributions based on Glibc higher than 2.4.X) then, until I saw someone had started a qt-widgetset in a Lazarus project, and that guy was Felipe, and thanks to Den Jean for Qt C bindings, because without C bindings we could not have a Qtwidgetset inside Lazarus.

I had looked into Lazarus just a few times before, but I was not attracted previously, because it supported only the Gtk1 widgetset which looked awful compared to the Qt2 used by Kylix, so now I got motivated to download the lazarus trunk and find out to see the way how it worked with Qt. (I already tried Gtk before). Well, as IG mentioned already, work on the Qt widgetset having only just started, the result needed a lot of improvements, so it does not work.

After a quick scan of Lazarus principles, the Lazarus component library (LCL) and widgetset connections to the LCL I began to contribute to the Lazarus project with a primary goal to get Qt widgetset up and running. My first patches then were sent to Felipe. He argued about my coding standards (hey, hey), but I fixed that and changed my coding standards to the Lazarus coding standard. Anyway, after a year or so the Qt widgetset became useable - in the meantime Lazarus developers granted me svn write access - so no more need to wait for Felipe and others to commit my patches. At the same time – business problems arose with Kylix & Delphi programming and the company management considered moving our thought about to move the complete codebase to Java or .Net . When the management decided this change must be made quickly I objected.

I was not very happy with that. Not because of the applications, but because of all the third party components used in our applications (ZeosLib, FastReports, TMS grids, VirtualTrees etc). I said that we would need a lot of time and resources to move our code to Java or .Net and the result of that operation was not reassuring. I was disturbed by these business decisions (and already had in mind to change the job), so at one day I asked the chief if they could agree to let me spend some time developing code using Lazarus, and in the next few months I showed some of our apps running on Qt4.

I had started a race against time, I had to fix the Qt-LCL and convert one of our applications to LCL (only a small one). That wasn't an easy task since qt-lcl is still not finished and lot of things were not working. Zeos for Lazarus already existed, but for this simple applications I had to have FastReports and TMS grids. So I had three months to make Qt under Lazarus useable, convert FastReports and TMS grids (both CLX licensed)...

After hundreds of hours of coding, the day of reckoning came. I had to show my work at the end of February 2008. I made a presentation on Linux, 32 bit Windows and on Mac OSX and the company management was pleased and satisfied with it. Of course there were still bugs and features not yet implemented, but they appreciated my main argument. If we moved to Lazarus we would be able to work on other (even more) supported platforms, and also because Lazarus is an open source project, we would not be at the mercy of decisions made by other companies (such as Borland) that had harmed us in the past. That became the happiest day in the last few years of my working life. I was given the budget and time required to move our applications to Lazarus. Now I had a reasonable time (15 months) to improve Lazarus and re-write our applications for Lazarus (and deal with other everyday tasks). During 2008/2009 I converted all the third party components and all of our applications to FPC/Lazarus, and therefore also contributed a lot of patches to the Lazarus project. The Goal is reached – Lazarus is better now than Kylix 3 and we started to deploy Lcl LCL applications over more than 3,500 at customers’ sites.

User impressions were positive since our apps looks native on all platforms. A few dozen of Mac OSX users were also happy since we give them native apps for the first time (they used Parallels + linux VM). WOW, what a glorious day. We just did not need the Borland products anymore.

Now our complete range of software is developed using FPC/Lazarus and uses PostgreSQL RDBMS:
1. HoloERP – ERP system with > 400 modules (forms)
2. Cafeman – Caffe bars & restaurants backoffice and POS system
3. TSuS – small shops backoffice & POS system
4. Cinema – software for cinemas (reservations, tickets etc)
5. ArhStudio – architects documentation database.

All of those these applications use the following 3rd party components:
· ZeosLib
· FastReports (ported CLX)
· TMS Grids (ported CLX, but also we licensed the newest VCL
and ported it also)
· TMS Planner (ported CLX, later VCL)
· FlexCell (licensed LCL , yes there's LCL version)
· Our custom components

Conclusion:
Why?
Lazarus is ready for commercial usage especially for people with legacy Kylix3 / Delphi7 codebases.
My personal opinion is that Lazarus Qt is much better than K3/D7 at this time (0.9.29 trunk), and developers will be happy with it's new 0.9.30 version.
· The only OOP RAD which supports so many platforms.
· Constantly developed by volunteers, it does not depend on commercial decisions so you can avoid bankrupcy etc.
· Costs almost nothing except energy and time.
· If it doesn't fit your needs, you can change it and contribute.
· If there's a bug - you can fix it and contribute it, but at least you can open an issue at lazarus mantis issue tracker."

Author of this blog text is Lazarus forum member Zeljan and software case is from http://www.holobit.net

02 October 2010

MS Windows Mobile 6.5 - How to return default lock screen

To return default lock screen in MS Windows Mobile 6.5 in some cooked ROM (NRG, TAEL and other), you should remove these registry keys :

[HKEY_LOCAL_MACHINE\Security\Shell\Lock]
"CustomLockScreensMask"=dword:00000013
"CustomLockScreensPath"="\\Windows\\LockScreen"

29 September 2010

How to import Google Earth POI.KML file into IGO8

POI (from POIplaza)

1 Turn off the write protection of the Dreimgo Memory Card.
2 Connect the memory card or the navigation device to PC,
then create the following path on the memory card: igo8/content/userdata/POI.
3 Download, unzip and copy the the downloaded .kml files to the above map.
4 Restart your navigation device.
5 Run the navigation software and swich to Advanced mode. Choose the Manage POI icon.
6 Choose downloaded POIs (kml file); then choose Edit and set the distance of POI icon visibility.
The default icon is Google Earth’s globe.
7 In the Navigation menu choose Find POI, and choose as Destination.

Note: some POIs might not be reachable on the map, if the map is not detailed enough.

Speedcam iGO8

1 Download as speedcam the iGO8_txt.zip file to a folder on your PC.
2 Unzip the two files, speedcam.txt and POIplaza-iG08 Notes.txt.
3 Copy the speedcam.txt file to the Storage card/igo8/content/speedcam.
4 Restart iGO8, the file will automatically update the database.
5 There will now be three files in the speedcam directory, speedcam.spdb, speedcam.txt and SpeedcamUpdates.spud.
6 Allow the device to detect a GPS signal. When this is done the speedcam locations will be active.
7 Check Settings/Warnings has Speed Camera Warning enabled.

Note: conversion of speedcam files is time consuming especially in case of a large file.
During conversion an 'init warning messages' message is visible.

18 September 2010

pgtray - PostgreSQL Tray Monitor

In working with the PostgreSQL server, there is no Tray Monitor, as in the MySQL database server. I searched the Internet, but such a project in pgFoundry is very outdated and in version 1.0. I thought I'd make this little tool on my own, and here's how it looks ...



You can download it here.

17 September 2010

PostgreSQL - Manual (silent) instalation

PostgreSQL - Manual (silent) instalation
1) Download postgresql-*.*.zip.
Here we’ll use c:\pgsql as the target directory, so
2) Extract the archive to that directory.
Go to that folder and type in command prompt
3) initdb c:\pgsql\data
4) pg_ctl register -N postgres -D c:\pgsql\data
5) net start postgres
net user postgres postgres /add /expires:never
6) createdb database_name
or
createdb -E unicode --template template0 database_name
7) createuser -d -s user_name (postgres)
8) psql -U user_name -d database_name -f file.backup
and then, if needed
or
pg_restore --host localhost --port 5432 --username postgres --dbname database_name --verbose file.sql
9) pg_ctl unregister -N postgres

Change database encoding to UTF-8

vacuumdb --full --analyze --username postgres --dbname MYDB
pg_dump MYDB -Ft -v -U postgres -f tmp/MYDB.tar
dropdb MYDB --username postgres
createdb --encoding UNICODE MYDB --username postgres
pg_restore tmp/MYDB.tar | psql --dbname MYDB --username postgres
vacuumdb --full --analyze --username postgres --dbname MYDB

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...