Programming


20
Oct 10

My first blog post series, are you interested in it?

I was thinking to write blog post series about process of developing WPF applications.

The series would be about WPF and:

  1. Main architecture of Client/Server application (the big picture)
  2. Using Entity Framework with SQL Server, SQLite (or SQL CE)  and WPF (+Advanced topic on Error handling on Model level)
  3. Authentication and Authorization
  4. Navigation through Forms in WPF app. Continue reading →

20
Oct 10

Sneak peek at ISOR login screen

ISOR is our latest WPF application, outsourced for Government of Bosnia and Herzegovina (Federal Ministry of Development, Entrepreneurship and Crafts). Case study will be published in next posts, but for now, how do you like our Login Screen :) ?


15
Jul 10

How to create one click update from bin/debug folder?

Well, it’s really easy!

I don’t know about you, but I have huge problem with copying files from my debug folders. First of all, it’s annoying, and second of all it takes time. Continue reading →


27
Apr 10

Communication between JavaScript and Actionscript (AS3) and vice versa

I haven’t used flash for a while, and today while creating little news slider in flash which communicate with Javascript (and vice versa), i lost 30 min to find the best way to communicate between Flash and Javascript. So to save you a lot of time here is simple description.
Continue reading →


14
Apr 10

WordPress plugin for Google buzz this button

Yesterday Google released to public Post to Buzz and Follow on Buzz buttons. You can choose from predefined list of button templates, how your button will look like and what will be posted to Buzz (description, image, url of website).

With this plugin, you can do all that (and much more), from within plugin configuration page. Besides defining look of your button you can choose where and how it will be placed.

More details and screenshots you can find at http://www.hariscusto.com/buzz-this/


15
Feb 10

ExportData Table to Excel using C#

Here is little class that I wrote some time ago that helps you export data from DataTable into Excell xls file. It format fields in xls file based on data type from data table.

It’s not a perfect but it will help you to quickly save data from Data Table to Excel file.

Example of usage:

Common.Data.Export2Excel(dataTableWithData, "exported.xls");

Continue reading →


11
Feb 10

Google buzz Plugin for WordPress (Widget ready)

I’m sure in the past 24h you have heard for Google Buzz but for all you that haven’t check:  http://www.google.com/buzz

I have created widget ready plugin for WordPress which you can use for displaying your latest buzz.

If you are interested in it than check it out on: http://www.hariscusto.com/buzz/


31
Dec 09

Escape string in C#

I have searched more than 30 min. for string escape method in C#, and finally here it is.

You can find it deep inside Security namspace

string safeString = System.Security.SecurityElement.Escape("St'ring to escpa");

You can use it to sanitize values before saving to database.


25
Dec 09

Reset all controls on form (Windows forms – C#)

Well i had a situation where i need to reset all controls (mostly Textboxes and Comboboxes) on form to their default (entry ready) state. Well, at first sight I was thinking it’s not a problem, my .net Win form have property called Controls – list of all controls on form. But problem was that i had overlapping panels which i used for positioning, and inside of panels was Group box control. So it’s allready complicated then at first sight.

I have created little Form helper which will help you reset all controls on form to their default state.
Continue reading →